build with ONAP-ODL dist
[appc/parent.git] / binding-parent / pom.xml
index 763a472..5c7bb1b 100644 (file)
@@ -3,7 +3,7 @@
 ============LICENSE_START=======================================================
 ONAP : APPC
 ================================================================================
-Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
+Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved.
 =============================================================================
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
@@ -26,12 +26,12 @@ limitations under the License.
     <packaging>pom</packaging>
     <groupId>org.onap.appc.parent</groupId>
     <artifactId>binding-parent</artifactId>
-    <version>1.5.0-SNAPSHOT</version>
+    <version>2.7.1-SNAPSHOT</version>
 
     <parent>
         <groupId>org.onap.ccsdk.parent</groupId>
         <artifactId>binding-parent</artifactId>
-        <version>1.1.3</version>
+        <version>1.5.1</version>
         <relativePath />
     </parent>
 
@@ -56,25 +56,28 @@ limitations under the License.
         <commons.lang3.version>3.4</commons.lang3.version>
         <antlr.version>4.5.1</antlr.version>
         <logback.version>1.2.3</logback.version>
-        <toscalib.version>1.1.0</toscalib.version>
         <sdc-client.version>1.3.0</sdc-client.version>
         <!-- Should match the version used by sdc-distribution-client -->
         <saClientLibrary.version>0.0.1</saClientLibrary.version>
         <!-- Should match the version used by sdc-distribution-client -->
         <cambriaClient.version>0.0.1</cambriaClient.version>
         <jackson.yml.version>2.3.2</jackson.yml.version>
-        <tosca.datatype.version>1.1.0</tosca.datatype.version>
+        <tosca.datatype.version>1.5.0</tosca.datatype.version>
         <velocity.version>1.7</velocity.version>
         <xmlunit.version>1.6</xmlunit.version>
         <xmlunit-core.version>2.3.0</xmlunit-core.version>
+        <httpclient.version>4.5.10</httpclient.version>
+        <httpcore.version>4.4.13</httpcore.version>
+        <jline.version>3.13.3</jline.version>
 
         <!-- SONAR -->
         <sonar.language>java</sonar.language>
-        <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
         <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
-        <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
-        <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
+        <sonar.coverage.jacoco.xmlReportPaths>
+            ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
+        </sonar.coverage.jacoco.xmlReportPaths>
         <sonar.projectVersion>${project.version}</sonar.projectVersion>
+        <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
 
         <salGeneratorPath>target/generated-sources/yang-gen-sal</salGeneratorPath>
         <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
@@ -85,54 +88,180 @@ limitations under the License.
         <!-- <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath> -->
 
         <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
-        
+
         <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
         <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
         <commons.collections.version>3.2.2</commons.collections.version>
-        <odl.sal.api.gen.plugin.version>0.12.3</odl.sal.api.gen.plugin.version>
-        <odl.yangtools.version>2.0.9</odl.yangtools.version>
-        <odl.mdsal.yang.binding.version>0.12.3</odl.mdsal.yang.binding.version>
-        <odl.mdsal.version>1.7.3</odl.mdsal.version>
+        <odl.sal.api.gen.plugin.version>0.13.1</odl.sal.api.gen.plugin.version>
         <odl.yang.jmx.generator.version>0.8.3</odl.yang.jmx.generator.version>
-        <odl.ietf-yang-types.version>2010.09.24.11.1</odl.ietf-yang-types.version>
-        <odl.ietf-inet-types.version>2010.09.24.11.1</odl.ietf-inet-types.version>
-        <odl.commons.opendaylight.version>3.1.3</odl.commons.opendaylight.version>
         <odl.controller.config.api.version>0.8.3</odl.controller.config.api.version>
-        <odl.karaf.empty.distro.version>1.8.3-Carbon</odl.karaf.empty.distro.version>
-
     </properties>
     <dependencyManagement>
-    <dependencies>
-            <dependency>
-            <groupId>org.opendaylight.controller</groupId>
-            <artifactId>config-api</artifactId>
-            <version>${odl.controller.config.api.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.yaml</groupId>
-            <artifactId>snakeyaml</artifactId>
-            <version>${snakeyaml.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>equinoxSDK381</groupId>
-            <artifactId>org.eclipse.osgi</artifactId>
-            <version>${equinox.osgi.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.mariadb.jdbc</groupId>
-            <artifactId>mariadb-java-client</artifactId>
-            <version>${mariadb.client.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.sshd</groupId>
-            <artifactId>sshd-core</artifactId>
-            <version>${apache.sshd.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.velocity</groupId>
-            <artifactId>velocity</artifactId>
-            <version>${velocity.version}</version>
-        </dependency>
-    </dependencies>
+        <dependencies>
+            <dependency>
+                <groupId>org.opendaylight.controller</groupId>
+                <artifactId>config-api</artifactId>
+                <version>${odl.controller.config.api.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.opendaylight.controller</groupId>
+                <artifactId>sal-binding-config</artifactId>
+                <version>${odl.mdsal.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.yaml</groupId>
+                <artifactId>snakeyaml</artifactId>
+                <version>${snakeyaml.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>equinoxSDK381</groupId>
+                <artifactId>org.eclipse.osgi</artifactId>
+                <version>${equinox.osgi.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.mariadb.jdbc</groupId>
+                <artifactId>mariadb-java-client</artifactId>
+                <version>${mariadb.client.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.sshd</groupId>
+                <artifactId>sshd-core</artifactId>
+                <version>${apache.sshd.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.velocity</groupId>
+                <artifactId>velocity</artifactId>
+                <version>${velocity.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.onap.ccsdk.sli.core</groupId>
+                <artifactId>sli-common</artifactId>
+                <version>${ccsdk.sli.core.version}</version>
+            </dependency>
+
+            <dependency>
+                <groupId>org.onap.ccsdk.sli.core</groupId>
+                <artifactId>sli-provider</artifactId>
+                <version>${ccsdk.sli.core.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.onap.ccsdk.sli.core</groupId>
+                <artifactId>ccsdk-sli</artifactId>
+                <version>${ccsdk.sli.core.version}</version>
+                <type>xml</type>
+                <classifier>features</classifier>
+            </dependency>
+            <dependency>
+                <groupId>org.onap.ccsdk.sli.adaptors</groupId>
+                <artifactId>aai-service-provider</artifactId>
+                <version>${sdnctl.aai.service.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.onap.ccsdk.sli.core</groupId>
+                <artifactId>dblib-provider</artifactId>
+                <version>${sdnctl.dblib.version}</version>
+            </dependency>
+            <dependency>
+               <groupId>xmlunit</groupId>
+               <artifactId>xmlunit</artifactId>
+               <version>${xmlunit.version}</version>
+            </dependency>
+            <dependency>
+               <groupId>org.apache.httpcomponents</groupId>
+               <artifactId>httpcore</artifactId>
+               <version>${httpcore.version}</version>
+            </dependency>
+            <dependency>
+               <groupId>org.apache.httpcomponents</groupId>
+               <artifactId>httpclient</artifactId>
+               <version>${httpclient.version}</version>
+            </dependency>
+            <dependency>
+               <groupId>org.jline</groupId>
+               <artifactId>jline</artifactId>
+               <version>${jline.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.powermock</groupId>
+                <artifactId>powermock-api-mockito</artifactId>
+                <version>1.6.4</version>
+                <scope>test</scope>
+            </dependency>
+            <dependency>
+               <groupId>org.javassist</groupId>
+               <artifactId>javassist</artifactId>
+               <version>3.21.0-GA</version>
+               <scope>test</scope>
+            </dependency>
+            <dependency>
+               <groupId>org.mockito</groupId>
+               <artifactId>mockito-core</artifactId>
+               <version>1.10.19</version>
+               <scope>test</scope>
+            </dependency>
+            <dependency>
+               <groupId>org.powermock</groupId>
+               <artifactId>powermock-module-junit4</artifactId>
+               <version>1.6.4</version>
+               <scope>test</scope>
+            </dependency>
+            <dependency>
+               <groupId>org.powermock</groupId>
+               <artifactId>powermock-api-support</artifactId>
+               <version>1.6.4</version>
+               <scope>test</scope>
+            </dependency>
+            <dependency>
+               <groupId>org.powermock</groupId>
+               <artifactId>powermock-reflect</artifactId>
+               <version>1.6.4</version>
+               <scope>test</scope>
+            </dependency>
+            <dependency>
+               <groupId>org.powermock</groupId>
+               <artifactId>powermock-core</artifactId>
+               <version>1.6.4</version>
+               <scope>test</scope>
+            </dependency>
+        </dependencies>
     </dependencyManagement>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-install-plugin</artifactId>
+                <version>2.5.2</version>
+                <executions>
+                    <execution>
+                        <id>additional-install</id>
+                        <phase>none</phase>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.jacoco</groupId>
+                <artifactId>jacoco-maven-plugin</artifactId>
+                <executions>
+                  <execution>
+                    <id>prepare-agent</id>
+                    <goals>
+                        <goal>prepare-agent</goal>
+                    </goals>
+                  </execution>
+                  <execution>
+                     <id>report</id>
+                     <goals>
+                       <goal>report</goal>
+                     </goals>
+                     <configuration>
+                        <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
+                        <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
+                     </configuration>
+                  </execution>
+               </executions>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>