Merge "Update clamp to 5.1.5" into guilin
[clamp.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 7f93b58..0b78217 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
        <modelVersion>4.0.0</modelVersion>
        <groupId>org.onap.clamp</groupId>
        <artifactId>clds</artifactId>
-       <version>5.0.1-SNAPSHOT</version>
+       <version>5.1.5-SNAPSHOT</version>
        <name>clamp</name>
 
 
@@ -76,8 +76,8 @@
                <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 
                <eelf.core.version>1.0.0</eelf.core.version>
-               <camel.version>2.25.0</camel.version>
-               <springboot.version>2.2.5.RELEASE</springboot.version>
+               <camel.version>2.25.2</camel.version>
+               <springboot.version>2.2.10.RELEASE</springboot.version>
 
                <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
                <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
@@ -99,7 +99,7 @@
                <docker.skip.tag>true</docker.skip.tag>
                <skip.staging.artifacts>false</skip.staging.artifacts>
                <python.http.proxy.param />
-               <tomcat.version>9.0.27</tomcat.version>
+               <tomcat.version>9.0.37</tomcat.version>
                <ui.react.src>ui-react</ui.react.src>
                <ui.react.lib.src>ui-react-lib</ui.react.lib.src>
                <npm.publish.url>https://nexus3.onap.org/repository/npm.snapshot/</npm.publish.url>
        </dependencyManagement>
 
        <dependencies>
-               <dependency>
-                       <groupId>org.apache.xmlgraphics</groupId>
-                       <artifactId>batik-svggen</artifactId>
-                       <version>1.11</version>
-                       <exclusions>
-                       <exclusion>
-                               <groupId>xml-apis</groupId>
-                               <artifactId>xml-apis</artifactId>
-                       </exclusion>
-                       </exclusions>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.xmlgraphics</groupId>
-                       <artifactId>batik-svg-dom</artifactId>
-                       <version>1.11</version>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>xml-apis</groupId>
-                                       <artifactId>xml-apis</artifactId>
-                               </exclusion>
-                       </exclusions>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.xmlgraphics</groupId>
-                       <artifactId>batik-transcoder</artifactId>
-                       <version>1.11</version>
-                       <exclusions>
-                               <exclusion>
-                                       <groupId>xml-apis</groupId>
-                                       <artifactId>xml-apis</artifactId>
-                               </exclusion>
-                       </exclusions>
-               </dependency>
                <dependency>
                        <groupId>com.att.eelf</groupId>
                        <artifactId>eelf-core</artifactId>
                                        <groupId>org.slf4j</groupId>
                                        <artifactId>slf4j-ext</artifactId>
                                </exclusion>
-                               <exclusion>
-                                       <groupId>com.fasterxml.jackson.core</groupId>
-                                       <artifactId>jackson-databind</artifactId>
-                               </exclusion>
                        </exclusions>
                </dependency>
-               <dependency>
-                       <groupId>javax.xml.bind</groupId>
-                       <artifactId>jaxb-api</artifactId>
-                       <version>2.3.0</version>
-               </dependency>
-               <dependency>
-                       <groupId>org.glassfish.jersey.core</groupId>
-                       <artifactId>jersey-common</artifactId>
-                       <version>2.27</version>
-               </dependency>
                <!-- Spring famework -->
                <dependency>
                        <groupId>org.springframework.boot</groupId>
                        <artifactId>spring-boot-starter-data-jpa</artifactId>
                </dependency>
                <!-- Others dependencies -->
+               <!-- Jaxws is required for AAF -->
+               <dependency>
+                       <groupId>javax.xml.ws</groupId>
+                       <artifactId>jaxws-api</artifactId>
+                       <version>2.3.1</version>
+               </dependency>
                <dependency>
                        <groupId>org.onap.aaf.authz</groupId>
                        <artifactId>aaf-cadi-aaf</artifactId>
                                        <groupId>javax.servlet</groupId>
                                        <artifactId>servlet-api</artifactId>
                                </exclusion>
+                               <exclusion>
+                                       <groupId>log4j</groupId>
+                                       <artifactId>log4j</artifactId>
+                               </exclusion>
                        </exclusions>
                </dependency>
                <dependency>
                        <artifactId>logback-classic</artifactId>
                        <version>1.2.3</version>
                </dependency>
-               <dependency>
-                       <groupId>commons-dbcp</groupId>
-                       <artifactId>commons-dbcp</artifactId>
-                       <version>1.4</version>
-               </dependency>
                <dependency>
                        <groupId>commons-io</groupId>
                        <artifactId>commons-io</artifactId>
                        <artifactId>commons-vfs2</artifactId>
                        <version>2.2</version>
                </dependency>
-               <dependency>
-                       <groupId>joda-time</groupId>
-                       <artifactId>joda-time</artifactId>
-               </dependency>
                <dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-api</artifactId>
                </dependency>
-               <dependency>
-                       <groupId>javax.ws.rs</groupId>
-                       <artifactId>javax.ws.rs-api</artifactId>
-                       <version>2.0</version>
-               </dependency>
-               <dependency>
-                       <groupId>junit</groupId>
-                       <artifactId>junit</artifactId>
-               </dependency>
                <dependency>
                        <groupId>javax.transaction</groupId>
                        <artifactId>jta</artifactId>
                        <artifactId>persistence-api</artifactId>
                        <version>1.0.2</version>
                </dependency>
+               <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
                <dependency>
-                       <groupId>org.apache.commons</groupId>
-                       <artifactId>commons-csv</artifactId>
-                       <version>1.3</version>
+                       <groupId>commons-codec</groupId>
+                       <artifactId>commons-codec</artifactId>
+                       <version>1.14</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.security</groupId>
+                       <artifactId>spring-security-web</artifactId>
+                       <version>5.2.3.RELEASE</version>
                </dependency>
-               <!-- Other dependencies to fix nexus IQ reported vulnerabilities -->
                <dependency>
                        <groupId>org.codehaus.plexus</groupId>
                        <artifactId>plexus-utils</artifactId>
                        <artifactId>guava</artifactId>
                        <version>27.0-jre</version>
                </dependency>
-               <dependency>
-                       <groupId>commons-codec</groupId>
-                       <artifactId>commons-codec</artifactId>
-                       <version>1.13</version>
-               </dependency>
+
                <!-- Remove the MYSQL connector and replace it by Mariadb -->
                <dependency>
                        <groupId>org.mariadb.jdbc</groupId>
                        <artifactId>mariadb-java-client</artifactId>
-                       <version>2.2.1</version>
+                       <version>2.6.2</version>
                </dependency>
                <!-- For SDC Controller -->
                <dependency>
                        <groupId>org.onap.sdc.sdc-distribution-client</groupId>
                        <artifactId>sdc-distribution-client</artifactId>
-                       <version>1.3.0</version>
+                       <version>1.4.1</version>
                </dependency>
                <dependency>
                        <groupId>org.onap.sdc.sdc-tosca</groupId>
                        <artifactId>sdc-tosca</artifactId>
                        <version>1.5.1</version>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>com.fasterxml.jackson.core</groupId>
+                                       <artifactId>jackson-databind</artifactId>
+                               </exclusion>
+                       </exclusions>
                </dependency>
                <dependency>
                        <groupId>org.yaml</groupId>
                        <artifactId>snakeyaml</artifactId>
                        <version>1.26</version>
                </dependency>
+               <dependency>
+                       <groupId>org.dom4j</groupId>
+                       <artifactId>dom4j</artifactId>
+                       <version>2.1.3</version>
+               </dependency>
+
                <!-- TESTING -->
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+                       <scope>test</scope>
+               </dependency>
                <dependency>
                        <groupId>org.assertj</groupId>
                        <artifactId>assertj-core</artifactId>
                        <version>2.0.4</version>
                        <scope>test</scope>
                </dependency>
+               <dependency>
+                       <groupId>com.github.docker-java</groupId>
+                       <artifactId>docker-java-core</artifactId>
+                       <version>3.2.1</version>
+                       <scope>test</scope>
+                       <exclusions>
+                               <exclusion>
+                                       <groupId>com.fasterxml.jackson.core</groupId>
+                                       <artifactId>jackson-databind</artifactId>
+                               </exclusion>
+                       </exclusions>
+               </dependency>
+               <dependency>
+                       <groupId>com.github.docker-java</groupId>
+                       <artifactId>docker-java</artifactId>
+                       <version>3.2.1</version>
+                       <scope>test</scope>
+               </dependency>
        </dependencies>
 
        <build>
                                                                <portName>docker.mariadb.port.host</portName>
                                                                <portName>docker.http-cache.port.host</portName>
                                                                <portName>clamp.it.tests.http-redirected</portName>
+                                                               <portName>clamp.it.tests.robotframework.http</portName>
                                                                <portName>clamp.it.tests.https</portName>
                                                                <portName>clamp.it.tests.http</portName>
                                                        </portNames>
                                        <apiVersion>1.35</apiVersion>
                                        <images>
                                                <image>
-                                                       <name>library/mariadb:10.3.12</name>
+                                                       <name>docker.io/mariadb:10.5.4</name>
                                                        <alias>mariadb</alias>
                                                        <run>
                                                                <env>
                                                                        </bind>
                                                                </volumes>
                                                                <wait>
-                                                                       <log>socket: '/var/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution</log>
-                                                                       <time>600000</time>
+                                                                       <log>socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution</log>
+                                                                       <time>300000</time>
                                                                        <exec>
                                                                                <preStop>/docker-entrypoint-initdb.d/dump/backup-data-only.sh</preStop>
                                                                        </exec>
                                                        </run>
                                                </image>
                                                <image>
-                                                       <name>library/python:2-slim</name>
+                                                       <name>docker.io/python:2-slim</name>
                                                        <alias>python</alias>
                                                        <run>
                                                                <hostname>python</hostname>
                                                </goals>
                                                <phase>deploy</phase>
                                                <configuration>
-                                                       <skip>true</skip>
                                                        <workingDirectory>${project.build.directory}/${ui.react.lib.src}</workingDirectory>
                                                        <arguments>publish</arguments>
                                                </configuration>
                                <artifactId>sonar-maven-plugin</artifactId>
                                <version>3.7.0.1746</version>
                        </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>exec-maven-plugin</artifactId>
+                <version>1.3.2</version>             
+                <executions>  
+                    <execution>
+                        <id>libIndexCheck</id>
+                        <phase>validate</phase>
+                        <goals>
+                            <goal>exec</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <executable>bash</executable>
+                    <arguments>
+                        <argument>${project.basedir}/src/main/script/checkLibIndex.sh</argument>
+                    </arguments>
+                </configuration>
+          </plugin>
                </plugins>
        </build>
 </project>