summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorSudarshan Kumar <sudarshan.kumar@att.com>2020-02-18 16:16:26 +0530
committerSudarshan Kumar <sudarshan.kumar@att.com>2020-02-18 21:25:25 +0530
commit8e83c25788017acd56271a72286f7dcbc974e76d (patch)
treed7b1e52bc20367bbb38ae69483c33e71f341fd4b /pom.xml
parent6e50276a42ab82cfe34ced9cf97e545283f37f2a (diff)
Changes made to upgrade pom version
Upgraded pom version Issue-ID: PORTAL-769 Change-Id: I65ae68acda464531d699dcb459d328de19a3c7c7 Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml62
1 files changed, 59 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index db715b2e..3fe2b711 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,13 +6,14 @@
<parent>
<groupId>org.onap.oparent</groupId>
<artifactId>oparent</artifactId>
- <version>1.2.0</version>
+ <version>2.0.0</version>
<relativePath />
</parent>
<groupId>org.onap.portal</groupId>
<artifactId>onap-portal-parent</artifactId>
- <version>2.6.0</version>
+ <version>3.2.0</version>
+
<packaging>pom</packaging>
<name>portal</name>
@@ -20,7 +21,7 @@
<!-- This parent POM names only ONAP projects -->
<module>ecomp-portal-BE-common</module>
<module>ecomp-portal-BE-os</module>
- <module>ecomp-portal-FE-os</module>
+ <module>portal-FE-os</module>
<module>ecomp-portal-widget-ms</module>
<module>portal-BE</module>
</modules>
@@ -242,6 +243,61 @@
<artifactId>sonar-maven-plugin</artifactId>
<version>3.0.2</version>
</plugin>
+
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.17</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.onap.oparent</groupId>
+ <artifactId>checkstyle</artifactId>
+ <version>2.0.0</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <id>onap-license</id>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <phase>process-sources</phase>
+ <configuration>
+ <configLocation>onap-checkstyle/check-license.xml</configLocation>
+ <includeResources>false</includeResources>
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
+ <includeTestResources>false</includeTestResources>
+ <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
+ <excludes>
+ </excludes>
+ <consoleOutput>true</consoleOutput>
+ <failsOnViolation>false</failsOnViolation>
+ </configuration>
+ </execution>
+ <execution>
+ <id>onap-java-style</id>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <phase>none</phase>
+ <configuration>
+ <!-- Use Google Java Style Guide:
+ https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
+ with minor changes -->
+ <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
+ <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
+ <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
+ <includeResources>true</includeResources>
+ <includeTestSourceDirectory>true</includeTestSourceDirectory>
+ <includeTestResources>true</includeTestResources>
+ <excludes>
+ </excludes>
+ <consoleOutput>true</consoleOutput>
+ <failsOnViolation>false</failsOnViolation>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
</build>