changes done to get stack trace of exception
[portal.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 9e136c0..0bc01c8 100644 (file)
--- 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-SNAPSHOT</version>
+       <version>3.5.0</version>
+
        <packaging>pom</packaging>
        <name>portal</name>
 
                <!-- 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>
 
        <properties>
                <!-- Jenkins should invoke mvn with argument -Dbuild.number=${BUILD_NUMBER} -->
                <build.number>0</build.number>
-               <epsdk.version>2.6.0-SNAPSHOT</epsdk.version>
-               <springframework.version>4.2.3.RELEASE</springframework.version>
+               <epsdk.version>3.4.0-SNAPSHOT</epsdk.version>
+               <springframework.version>4.3.24.RELEASE</springframework.version>
+               <springframework.security.version>4.2.13.RELEASE</springframework.security.version>
                <hibernate.version>4.3.11.Final</hibernate.version>
-               <fasterxml.version>2.8.10</fasterxml.version>
-               <eelf.version>1.0.0</eelf.version>
+               <fasterxml.version>2.8.11.4</fasterxml.version>
                <!-- NOT provided by OParent, unfortunately -->
-               <jacocoVersion>0.7.6.201602180812</jacocoVersion>
+               <jacocoVersion>0.8.1</jacocoVersion>
                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                <encoding>UTF-8</encoding>
                <!-- <sonar.exclusions>**/scripts/**/*,**.js</sonar.exclusions>  -->
                <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
                <enforcer.skip>false</enforcer.skip>
+               <sonar.scm.exclusions.disabled>true</sonar.scm.exclusions.disabled>
+               <enforcerToDisableSnapshot>false</enforcerToDisableSnapshot>
        </properties>
 
        <!-- Specify the repositories here to avoid coordination of ~/.m2/settings.xml 
                                <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>
+                 <plugin>
+                     <groupId>org.apache.maven.plugins</groupId>
+                     <artifactId>maven-enforcer-plugin</artifactId>
+                     <version>3.0.0-M2</version>
+                     <executions>
+                      <execution>
+                      <id>enforce-no-snapshots</id>
+                      <goals>
+                      <goal>enforce</goal>
+                      </goals>
+                    <configuration>
+                    <rules>
+                    <requireReleaseVersion>
+                     <message>No Snapshots Allowed!</message>
+                    </requireReleaseVersion>
+                    </rules>
+                    <fail>${enforcerToDisableSnapshot}</fail>
+                    </configuration>
+                  </execution>
+                 </executions>
+                 </plugin>
                </plugins>
        </build>