1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <packaging>pom</packaging>
6 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>spring-boot-starter-parent</artifactId>
8 <version>1.5.0-SNAPSHOT</version>
11 <groupId>org.springframework.boot</groupId>
12 <artifactId>spring-boot-starter-parent</artifactId>
13 <version>2.1.8.RELEASE</version>
17 <url>http://wiki.onap.org</url>
18 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
19 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
23 <url>https://jira.onap.org/</url>
27 <!-- properties from oparent -->
28 <maven.compiler.source>1.8</maven.compiler.source>
29 <maven.compiler.target>1.8</maven.compiler.target>
30 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
31 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
32 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
33 <!-- sitePath may be overridden in the inheriting POM if desired -->
34 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
35 <jacoco.version>0.7.7.201606060606</jacoco.version>
36 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
37 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
38 <!-- Default Sonar configuration -->
39 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
40 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
42 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
43 <!-- If following file exist, auto-generation of swagger.json will be done -->
44 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
45 <!-- If following file exist, auto-generation of sdk will be done -->
46 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
47 <!-- end of properties from oparent -->
49 <!-- ONAP repositories -->
50 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
51 <onap.nexus.port>443</onap.nexus.port>
52 <onap.nexus.protocol>https</onap.nexus.protocol>
53 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
54 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
55 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
56 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
57 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
58 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
60 <java.version.source>1.8</java.version.source>
61 <java.version.target>1.8</java.version.target>
62 <bundle.plugin.version>2.5.0</bundle.plugin.version>
63 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
64 <features.file>features.xml</features.file>
65 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
66 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
67 <checkstyle.skip>true</checkstyle.skip>
69 <sonar.language>java</sonar.language>
70 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
71 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
72 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
73 <sonar.projectVersion>${project.version}</sonar.projectVersion>
75 <!-- CCSDK component versions -->
76 <ccsdk.sli.core.version>0.7.0-SNAPSHOT</ccsdk.sli.core.version>
77 <ccsdk.sli.adaptors.version>0.7.0-SNAPSHOT</ccsdk.sli.adaptors.version>
78 <ccsdk.sli.northbound.version>0.7.0-SNAPSHOT</ccsdk.sli.northbound.version>
79 <ccsdk.sli.plugins.version>0.7.0-SNAPSHOT</ccsdk.sli.plugins.version>
80 <ccsdk.distribution.version>0.7.0-SNAPSHOT</ccsdk.distribution.version>
81 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
82 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
83 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
84 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
85 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
87 <!-- Spring versions -->
88 <spring.boot.version>2.1.8.RELEASE</spring.boot.version>
89 <spring.version>5.1.9.RELEASE</spring.version>
91 <!-- Kotlin versions -->
92 <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
93 <kotlin.version>1.3.50</kotlin.version>
94 <kotlin.maven.version>1.3.50</kotlin.maven.version>
95 <kotlin.couroutines.version>1.3.2</kotlin.couroutines.version>
96 <kotlinpoet.version>1.3.0</kotlinpoet.version>
97 <kroto-plus.version>0.5.0</kroto-plus.version>
98 <mockk.version>1.9.3</mockk.version>
100 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
101 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
102 <derby.version>10.14.2.0</derby.version>
103 <eelf.version>1.0.0</eelf.version>
104 <grpc.version>1.18.0</grpc.version>
105 <protobuff.java.utils.version>3.6.1</protobuff.java.utils.version>
106 <jackson.bom.version>2.9.9.20190807</jackson.bom.version>
107 <jersey.version>2.25.1</jersey.version>
108 <jettison.version>1.3.8</jettison.version>
109 <junit.version>4.12</junit.version>
110 <logback.version>1.2.3</logback.version>
111 <mariadb.connector.version>2.1.1</mariadb.connector.version>
112 <mariadb4j.version>2.2.3</mariadb4j.version>
113 <slf4j.version>1.7.25</slf4j.version>
114 <testng.version>6.11</testng.version>
115 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
120 <!-- Profiles from ONAP oparent -->
122 <id>generate-json</id>
125 <exists>${swagger-properties}</exists>
128 <name>swagger-sdk.generate-json</name>
134 <groupId>org.codehaus.mojo</groupId>
135 <artifactId>properties-maven-plugin</artifactId>
136 <version>1.0.0</version>
139 <phase>initialize</phase>
141 <goal>read-project-properties</goal>
145 <file>${basedir}/src/main/resources/swagger.properties</file>
152 <groupId>com.github.kongchen</groupId>
153 <artifactId>swagger-maven-plugin</artifactId>
154 <version>3.1.4</version>
158 <locations>${api-rest-package}</locations>
159 <schemes>http,https</schemes>
160 <host>${api-host-ip}:${api-host-port}</host>
161 <basePath>${api-base-path}</basePath>
163 <title>${api-title}</title>
164 <version>${api-version}</version>
165 <description>${api-description}</description>
167 <name>${api-license}</name>
170 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
176 <phase>compile</phase>
178 <goal>generate</goal>
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-install-plugin</artifactId>
186 <version>2.3.1</version>
189 <id>install-file-id</id>
190 <phase>install</phase>
192 <goal>install-file</goal>
195 <file>${basedir}/src/main/resources/swagger.json</file>
196 <groupId>${project.groupId}</groupId>
197 <artifactId>${project.artifactId}-swagger-schema</artifactId>
198 <version>${project.version}</version>
199 <packaging>json</packaging>
208 <id>generate-sdk</id>
211 <exists>${swagger-json}</exists>
214 <name>swagger-sdk.generate-java-sdk</name>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-antrun-plugin</artifactId>
222 <version>1.8</version>
225 <phase>initialize</phase>
226 <id>ant-create-script</id>
228 <exportAntProperties>true</exportAntProperties>
231 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
232 <condition property="is_windows" value="true">
233 <os family="windows"/>
235 <condition property="isLinux" value="true">
239 <equals arg1="${is_windows}" arg2="true"/>
241 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
242 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
243 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
246 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
247 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
248 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
249 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
261 <groupId>ant-contrib</groupId>
262 <artifactId>ant-contrib</artifactId>
263 <version>1.0b3</version>
266 <artifactId>ant</artifactId>
267 <groupId>ant</groupId>
274 <groupId>io.swagger</groupId>
275 <artifactId>swagger-codegen-maven-plugin</artifactId>
276 <version>2.2.1</version>
280 <goal>generate</goal>
283 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
284 <output>${project.build.directory}/generated-sources</output>
285 <language>java</language>
287 <dateLibrary>joda</dateLibrary>
289 <library>jersey2</library>
290 <groupId>${project.groupId}</groupId>
291 <artifactId>${project.artifactId}-java-sdk</artifactId>
292 <artifactVersion>${project.version}</artifactVersion>
293 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
294 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
295 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
301 <artifactId>exec-maven-plugin</artifactId>
302 <groupId>org.codehaus.mojo</groupId>
303 <version>1.5.0</version>
306 <id>swagger-generate-sources</id>
307 <phase>generate-sources</phase>
312 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
318 <groupId>org.apache.maven.plugins</groupId>
319 <artifactId>maven-clean-plugin</artifactId>
320 <version>3.0.0</version>
323 <id>clean-generated-files</id>
324 <phase>generate-sources</phase>
331 <directory>${project.build.directory}/generated-sources</directory>
342 <groupId>org.onap.msb.swagger-sdk</groupId>
343 <artifactId>swagger-sdk</artifactId>
344 <version>1.0.0</version>
349 <!-- http://blog2.vorburger.ch/2016/06/improve-maven-build-speed-with-q.html
350 q = http://memory-alpha.wikia.com/wiki/Q ;)
352 The Quick profile is used during incremental local development, when you want to "just get that JAR built",
353 which is very handy e.g. for fast hot reloading cycles in Karaf with bundle watch. It (intentionally!) skips
354 tests, quality checks etc. which are great and useful to run before finally submitting changes to Gerrit, and
355 which all must run on Gerrit, but which are overhead during ongoing fast iterative local development.
357 Note that the idea here is that your IDE will already have run quality checks such as e.g. Checkstyle
358 while you typed the code anyway. Similarly, if you wrote a test, you'll probably already have compiled and run it
359 from your IDE, so when you want the OSGi bundle JAR for Karaf, ASAP, you typically don't want all that to run again.
363 <skipTests>true</skipTests>
364 <!-- But NOT <maven.test.skip>true, as that's for compiling, not running, tests;
365 and that's usually quick. Skipping test compilation with -Pq with maven.test.skip would be
366 particularly confusing when used in a project with maven-jar-plugin <goal>test-jar, so don't.) -->
367 <skipIT>true</skipIT>
368 <skipITs>true</skipITs>
369 <skip.karaf.featureTest>true</skip.karaf.featureTest>
370 <jacoco.skip>true</jacoco.skip>
371 <maven.javadoc.skip>true</maven.javadoc.skip>
372 <maven.source.skip>true</maven.source.skip>
373 <checkstyle.skip>true</checkstyle.skip>
374 <findbugs.skip>true</findbugs.skip>
375 <spotbugs.skip>true</spotbugs.skip>
376 <pmd.skip>true</pmd.skip>
377 <cpd.skip>true</cpd.skip>
378 <maven.site.skip>true</maven.site.skip>
379 <invoker.skip>true</invoker.skip>
380 <enforcer.skip>true</enforcer.skip>
381 <duplicate-finder.skip>true</duplicate-finder.skip>
382 <mdsal.skip.verbose>true</mdsal.skip.verbose> <!-- Bug 6236 -->
383 <maven.gitcommitid.skip>true</maven.gitcommitid.skip>
384 <modernizer.skip>true</modernizer.skip>
387 <!-- End of profiles from ONAP oparent -->
391 <dependencyManagement>
394 <groupId>org.onap.ccsdk.parent</groupId>
395 <artifactId>dependencies-bom</artifactId>
396 <version>1.5.0-SNAPSHOT</version>
398 <scope>import</scope>
401 <groupId>org.onap.ccsdk.sli.core</groupId>
402 <artifactId>sli-common</artifactId>
403 <version>${ccsdk.sli.core.version}</version>
407 <groupId>org.onap.ccsdk.sli.core</groupId>
408 <artifactId>sli-provider</artifactId>
409 <version>${ccsdk.sli.core.version}</version>
412 <groupId>org.onap.ccsdk.sli.core</groupId>
413 <artifactId>ccsdk-sli</artifactId>
414 <version>${ccsdk.sli.core.version}</version>
416 <classifier>features</classifier>
419 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
420 <artifactId>aai-service-provider</artifactId>
421 <version>${sdnctl.aai.service.version}</version>
425 <groupId>org.onap.ccsdk.sli.core</groupId>
426 <artifactId>dblib-provider</artifactId>
427 <version>${sdnctl.dblib.version}</version>
430 <groupId>junit</groupId>
431 <artifactId>junit</artifactId>
432 <version>${junit.version}</version>
437 </dependencyManagement>
442 <artifactId>maven-javadoc-plugin</artifactId>
443 <version>2.10.4</version>
445 <failOnError>false</failOnError>
446 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
448 <groupId>org.umlgraph</groupId>
449 <artifactId>umlgraph</artifactId>
450 <version>5.6</version>
452 <additionalparam>-views</additionalparam>
453 <useStandardDocletOptions>true</useStandardDocletOptions>
454 <excludePackageNames>org.opendaylight.*</excludePackageNames>
459 <report>javadoc-no-fork</report>
460 <report>test-javadoc-no-fork</report>
466 <report>aggregate</report>
467 <report>test-aggregate</report>
473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-jxr-plugin</artifactId>
475 <version>2.3</version>
480 <report>aggregate</report>
481 <report>test-aggregate</report>
488 <artifactId>maven-surefire-plugin</artifactId>
489 <version>2.17</version>
492 <groupId>org.apache.maven.plugins</groupId>
493 <artifactId>maven-changelog-plugin</artifactId>
494 <version>2.3</version>
503 <report>changelog</report>
504 <report>file-activity</report>
510 <groupId>org.codehaus.mojo</groupId>
511 <artifactId>taglist-maven-plugin</artifactId>
512 <version>2.4</version>
520 <url>${onap.nexus.public-url}</url>
522 <enabled>true</enabled>
525 <enabled>true</enabled>
529 <id>onap-staging</id>
530 <url>${onap.nexus.staging-url}</url>
532 <enabled>true</enabled>
535 <enabled>true</enabled>
539 <id>onap-snapshot</id>
540 <url>${onap.nexus.snapshot-url}</url>
542 <enabled>false</enabled>
545 <enabled>true</enabled>
549 <id>opendaylight-mirror</id>
550 <name>opendaylight-mirror</name>
551 <url>${opendaylight.nexus.public-url}</url>
553 <enabled>true</enabled>
554 <updatePolicy>never</updatePolicy>
557 <enabled>false</enabled>
561 <id>opendaylight-snapshot</id>
562 <name>opendaylight-snapshot</name>
563 <url>${opendaylight.nexus.snapshot-url}</url>
565 <enabled>false</enabled>
568 <enabled>true</enabled>
571 <!-- Black Duck plugin dependencies -->
574 <name>JCenter Repository</name>
575 <url>http://jcenter.bintray.com</url>
580 <name>Restlet Repository</name>
581 <url>http://maven.restlet.com</url>
583 </pluginRepositories>
588 <url>https://nexus.onap.org/content/groups/public</url>
590 <enabled>true</enabled>
591 <updatePolicy>never</updatePolicy>
594 <enabled>true</enabled>
595 <updatePolicy>always</updatePolicy>
599 <id>onap-staging</id>
600 <url>https://nexus.onap.org/content/groups/staging</url>
602 <enabled>true</enabled>
603 <updatePolicy>never</updatePolicy>
606 <enabled>true</enabled>
607 <updatePolicy>always</updatePolicy>
611 <id>ecomp-release</id>
612 <name>onap-repository-releases</name>
613 <url>https://nexus.onap.org/content/repositories/releases</url>
615 <enabled>true</enabled>
616 <updatePolicy>never</updatePolicy>
619 <enabled>false</enabled>
623 <id>ecomp-snapshot</id>
624 <name>onap-repository-snapshots</name>
625 <url>https://nexus.onap.org/content/repositories/snapshots</url>
627 <enabled>false</enabled>
630 <enabled>true</enabled>
634 <id>opendaylight-mirror</id>
635 <name>opendaylight-mirror</name>
636 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
638 <enabled>true</enabled>
639 <updatePolicy>never</updatePolicy>
642 <enabled>false</enabled>
646 <id>opendaylight-snapshot</id>
647 <name>opendaylight-snapshot</name>
648 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
650 <enabled>false</enabled>
653 <enabled>true</enabled>
659 <distributionManagement>
661 <id>ecomp-releases</id>
662 <url>https://nexus.onap.org/content/repositories/releases</url>
665 <id>ecomp-snapshots</id>
666 <url>https://nexus.onap.org/content/repositories/snapshots</url>
667 </snapshotRepository>
668 </distributionManagement>
674 <!-- Plugins from ONAP oparent -->
676 <groupId>org.apache.maven.plugins</groupId>
677 <artifactId>maven-deploy-plugin</artifactId>
678 <!-- This version supports the "deployAtEnd" parameter -->
679 <version>2.8</version>
686 <groupId>org.apache.maven.plugins</groupId>
687 <artifactId>maven-site-plugin</artifactId>
688 <version>3.6</version>
691 <groupId>org.apache.maven.wagon</groupId>
692 <artifactId>wagon-webdav-jackrabbit</artifactId>
693 <version>2.10</version>
696 <groupId>org.apache.maven.doxia</groupId>
697 <artifactId>doxia-core</artifactId>
698 <version>1.7</version>
701 <groupId>org.apache.maven.doxia</groupId>
702 <artifactId>doxia-sink-api</artifactId>
703 <version>1.7</version>
706 <groupId>org.apache.maven.doxia</groupId>
707 <artifactId>doxia-logging-api</artifactId>
708 <version>1.7</version>
713 <id>attach-descriptor</id>
715 <goal>attach-descriptor</goal>
721 <artifactId>maven-checkstyle-plugin</artifactId>
722 <version>2.17</version>
725 <groupId>org.onap.oparent</groupId>
726 <artifactId>checkstyle</artifactId>
727 <version>1.1.1</version>
732 <id>check-license</id>
736 <phase>process-sources</phase>
738 <configLocation>onap-checkstyle/check-license.xml</configLocation>
739 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
740 <includeResources>false</includeResources>
741 <includeTestSourceDirectory>true</includeTestSourceDirectory>
742 <includeTestResources>false</includeTestResources>
743 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
746 <failsOnError>false</failsOnError>
747 <consoleOutput>true</consoleOutput>
755 <phase>process-sources</phase>
757 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
758 with minor changes -->
759 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
760 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
761 sources directory -->
762 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
763 <includeResources>true</includeResources>
764 <includeTestSourceDirectory>true</includeTestSourceDirectory>
765 <includeTestResources>true</includeTestResources>
768 <failsOnError>false</failsOnError>
769 <consoleOutput>true</consoleOutput>
775 <groupId>org.jacoco</groupId>
776 <artifactId>jacoco-maven-plugin</artifactId>
777 <version>${jacoco.version}</version>
779 <!-- Note: This exclusion list should match <sonar.exclusions> property
782 <exclude>**/gen/**</exclude>
783 <exclude>**/generated-sources/**</exclude>
784 <exclude>**/yang-gen/**</exclude>
785 <exclude>**/pax/**</exclude>
789 <!-- Prepares the property pointing to the JaCoCo runtime agent which
790 is passed as VM argument when Maven the Surefire plugin is executed. -->
792 <id>pre-unit-test</id>
794 <goal>prepare-agent</goal>
797 <!-- Sets the path to the file which contains the execution data. -->
798 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
799 <!-- Sets the name of the property containing the settings for JaCoCo
801 <propertyName>surefireArgLine</propertyName>
804 <!-- Ensures that the code coverage report for unit tests is created
805 after unit tests have been run. -->
807 <id>post-unit-test</id>
813 <!-- Sets the path to the file which contains the execution data. -->
814 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
815 <!-- Sets the output directory for the code coverage report. -->
816 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
820 <id>pre-integration-test</id>
821 <phase>pre-integration-test</phase>
823 <goal>prepare-agent</goal>
826 <!-- Sets the path to the file which contains the execution data. -->
827 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
828 <!-- Sets the name of the property containing the settings for JaCoCo
830 <propertyName>failsafeArgLine</propertyName>
833 <!-- Ensures that the code coverage report for integration tests after
834 integration tests have been run. -->
836 <id>post-integration-test</id>
837 <phase>post-integration-test</phase>
842 <!-- Sets the path to the file which contains the execution data. -->
843 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
844 <!-- Sets the output directory for the code coverage report. -->
845 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
851 <groupId>org.apache.maven.plugins</groupId>
852 <artifactId>maven-surefire-plugin</artifactId>
853 <version>2.19.1</version>
855 <!-- Sets the VM argument line used when unit tests are run. -->
856 <argLine>${surefireArgLine}</argLine>
857 <!-- Excludes integration tests when unit tests are run. -->
859 <exclude>**/IT*.java</exclude>
864 <groupId>org.apache.maven.plugins</groupId>
865 <artifactId>maven-failsafe-plugin</artifactId>
866 <version>2.19.1</version>
868 <!-- Ensures that both integration-test and verify goals of the Failsafe
869 Maven plugin are executed. -->
871 <id>integration-tests</id>
873 <goal>integration-test</goal>
877 <!-- Sets the VM argument line used when integration tests are run. -->
878 <argLine>${failsafeArgLine}</argLine>
884 <groupId>org.apache.maven.plugins</groupId>
885 <artifactId>maven-compiler-plugin</artifactId>
886 <version>${maven.compile.plugin.version}</version>
888 <source>${java.version.source}</source>
889 <target>${java.version.target}</target>
893 <groupId>org.sonarsource.scanner.maven</groupId>
894 <artifactId>sonar-maven-plugin</artifactId>
895 <version>3.3.0.603</version>
898 <!-- End of plugins from ONAP oparent -->
901 <groupId>org.apache.maven.plugins</groupId>
902 <artifactId>maven-javadoc-plugin</artifactId>
903 <version>2.10</version>
905 <additionalDependencies>
906 <additionalDependency>
907 <groupId>org.slf4j</groupId>
908 <artifactId>slf4j-api</artifactId>
909 <version>${slf4j.version}</version>
910 </additionalDependency>
911 <additionalDependency>
912 <groupId>org.antlr</groupId>
913 <artifactId>antlr4</artifactId>
914 <version>${antlr.version}</version>
915 </additionalDependency>
916 <additionalDependency>
917 <groupId>org.antlr</groupId>
918 <artifactId>antlr4-runtime</artifactId>
919 <version>${antlr.version}</version>
920 </additionalDependency>
922 <additionalDependency>
923 <groupId>com.sun.jersey</groupId>
924 <artifactId>jersey-client</artifactId>
925 <version>${jersey.client.version}</version>
926 </additionalDependency>
927 <additionalDependency>
928 <groupId>com.sun.jersey</groupId>
929 <artifactId>jersey-core</artifactId>
930 <version>${jersey.version}</version>
931 </additionalDependency>
932 <additionalDependency>
933 <groupId>org.apache.httpcomponents</groupId>
934 <artifactId>httpcore-osgi</artifactId>
935 <version>${apache.httpcomponents.core.version}</version>
936 </additionalDependency>
937 <additionalDependency>
938 <groupId>org.apache.httpcomponents</groupId>
939 <artifactId>httpclient-osgi</artifactId>
940 <version>${apache.httpcomponents.client.version}</version>
941 </additionalDependency>
942 <additionalDependency>
943 <groupId>commons-lang</groupId>
944 <artifactId>commons-lang</artifactId>
945 <version>${commons.lang.version}</version>
946 </additionalDependency>
947 </additionalDependencies>
954 <goal>aggregate</goal>
967 <!-- Plugins from ONAP oparent -->
969 <artifactId>maven-checkstyle-plugin</artifactId>
972 <groupId>org.codehaus.mojo</groupId>
973 <artifactId>build-helper-maven-plugin</artifactId>
974 <version>1.12</version>
976 <!-- Jacoco / Sonar -->
978 <groupId>org.jacoco</groupId>
979 <artifactId>jacoco-maven-plugin</artifactId>
982 <groupId>org.apache.maven.plugins</groupId>
983 <artifactId>maven-surefire-plugin</artifactId>
986 <groupId>org.apache.maven.plugins</groupId>
987 <artifactId>maven-failsafe-plugin</artifactId>
990 <!-- End of plugins from ONAP oparent -->
992 <groupId>org.codehaus.mojo</groupId>
993 <artifactId>properties-maven-plugin</artifactId>
994 <version>1.0.0</version>
998 <goal>set-system-properties</goal>
1003 <name>maven.wagon.http.ssl.allowall</name>
1004 <value>${ssl.allowall}</value>
1007 <name>maven.wagon.http.ssl.insecure</name>
1008 <value>${ssl.insecure}</value>
1016 <groupId>org.codehaus.mojo</groupId>
1017 <artifactId>versions-maven-plugin</artifactId>
1018 <version>2.5</version>
1020 <processAllModules>true</processAllModules>
1024 <artifactId>maven-scm-plugin</artifactId>
1025 <version>1.8.1</version>
1027 <tag>${project.artifactId}-${project.version}</tag>