build with ONAP-ODL dist
[appc/parent.git] / binding-parent / pom.xml
index c86da30..5c7bb1b 100644 (file)
@@ -26,12 +26,12 @@ limitations under the License.
     <packaging>pom</packaging>
     <groupId>org.onap.appc.parent</groupId>
     <artifactId>binding-parent</artifactId>
-    <version>2.7.0-SNAPSHOT</version>
+    <version>2.7.1-SNAPSHOT</version>
 
     <parent>
         <groupId>org.onap.ccsdk.parent</groupId>
         <artifactId>binding-parent</artifactId>
-        <version>1.4.3</version>
+        <version>1.5.1</version>
         <relativePath />
     </parent>
 
@@ -66,13 +66,16 @@ limitations under the License.
         <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.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>
 
@@ -158,6 +161,26 @@ limitations under the License.
                 <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>
@@ -216,6 +239,28 @@ limitations under the License.
                     </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>