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"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
6 <modelVersion>4.0.0</modelVersion>
7 <packaging>pom</packaging>
8 <groupId>org.onap.ccsdk.parent</groupId>
9 <artifactId>karaf4-parent</artifactId>
10 <version>1.0.1-SNAPSHOT</version>
13 <groupId>org.opendaylight.odlparent</groupId>
14 <artifactId>karaf4-parent</artifactId>
15 <version>2.0.5</version>
20 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
21 <url>http://wiki.onap.org</url>
22 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
27 <url>https://jira.onap.org/</url>
32 <!--- properties from oparent -->
33 <maven.compiler.source>1.8</maven.compiler.source>
34 <maven.compiler.target>1.8</maven.compiler.target>
35 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
37 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
38 <!-- sitePath may be overridden in the inheriting POM if desired -->
39 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
40 <jacoco.version>0.7.7.201606060606</jacoco.version>
41 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
42 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
43 <!-- Default Sonar configuration -->
44 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
45 <!-- Note: This list should match jacoco-maven-plugin's exclusion
47 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
48 <!-- If following file exist, auto-generation of swagger.json will
50 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
51 <!-- If following file exist, auto-generation of sdk will be done -->
52 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
53 <!--- end of properties from oparent -->
55 <!-- ONAP repositories -->
56 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
57 <onap.nexus.port>443</onap.nexus.port>
58 <onap.nexus.protocol>https</onap.nexus.protocol>
59 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
60 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
61 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
62 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
63 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
64 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
67 <!-- OpenDaylight repositories -->
68 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
69 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
72 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
73 <java.version.source>1.8</java.version.source>
74 <java.version.target>1.8</java.version.target>
75 <bundle.plugin.version>2.5.0</bundle.plugin.version>
76 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
77 <features.file>features.xml</features.file>
78 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
79 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
80 <checkstyle.skip>true</checkstyle.skip>
83 <sonar.language>java</sonar.language>
84 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
85 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
86 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
87 <sonar.projectVersion>${project.version}</sonar.projectVersion>
92 <!-- CCSDK component versions -->
93 <ccsdk.sli.core.version>0.2.1-SNAPSHOT</ccsdk.sli.core.version>
94 <ccsdk.sli.adaptors.version>0.2.1-SNAPSHOT</ccsdk.sli.adaptors.version>
95 <ccsdk.sli.northbound.version>0.2.1-SNAPSHOT</ccsdk.sli.northbound.version>
96 <ccsdk.sli.plugins.version>0.2.1-SNAPSHOT</ccsdk.sli.plugins.version>
97 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
98 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
99 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
100 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
101 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
103 <!-- Support libraries used by OpenDaylight -->
104 <!-- Used by aaa, vtn -->
105 <commons.codec.version>1.10</commons.codec.version>
106 <!-- Used by netconf, ovsdb -->
107 <commons.lang3.version>3.6</commons.lang3.version>
108 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
109 <commons.lang.version>2.6</commons.lang.version>
110 <!-- Used by neutron; see also controller, vtn -->
111 <commons.net.version>3.6</commons.net.version>
112 <!-- Used by neutron -->
113 <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
115 <felix.dependencymanager.version>4.3.0</felix.dependencymanager.version>
116 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
117 <gson.version>2.7</gson.version>
118 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
119 <guava.version>22.0</guava.version>
120 <!-- Used by lispflowmapping, sxp, vtn/manager -->
121 <hamcrest.version>1.3</hamcrest.version>
122 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
123 integration/distribution, snmp4sdn, toolkit, ttp -->
124 <jackson.version>2.3.2</jackson.version>
125 <!-- Used by snmp4sdn, yangtools -->
126 <javassist.version>3.20.0-GA</javassist.version>
128 <!-- FIXME remove all dependencies for jersey 1.17 after migration
130 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity,
131 defense4all, snmp4sdn, toolkit -->
132 <jersey.version>1.17</jersey.version>
134 <jersey.client.version>1.17</jersey.client.version>
136 <!-- New packages for jersey migration 1.17 to 2.8 -->
137 <!-- appache.geronimo.bundle for DocGen -->
138 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
139 <org.json.version>20131018</org.json.version>
142 <jettison.version>1.3.7</jettison.version>
143 <!-- Used by persistence -->
144 <jsr305.api.version>3.0.0</jsr305.api.version>
145 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
146 is fixed (either in PowerMock or with a new JUnit release) -->
147 <!-- Used everywhere -->
148 <junit.version>4.11</junit.version>
149 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity,
151 <logback.version>1.2.2</logback.version>
152 <!-- Used by nic, sfc, sxp, tsdr -->
153 <mockito.version>1.10.19</mockito.version>
154 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
155 <netty.version>4.1.8.Final</netty.version>
156 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also
157 affinity, toolkit -->
158 <slf4j.version>1.7.21</slf4j.version>
159 <!-- Used in integration/distribution; see also affinity, snmp4sdn,
160 toolkit, tsdr, ttp -->
161 <spring.version>3.2.17.RELEASE</spring.version>
165 <!-- Extra support libraries used by SDN-C -->
166 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
167 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
168 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
169 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
170 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
171 <antlr.version>4.5.1</antlr.version>
172 <mysql.connector.version>5.1.39</mysql.connector.version>
173 <mariadb.connector.version>2.1.1</mariadb.connector.version>
174 <h2database.version>1.4.186</h2database.version>
176 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
181 <!-- Profiles from ONAP oparent -->
183 <id>generate-json</id>
186 <exists>${swagger-properties}</exists>
189 <name>swagger-sdk.generate-json</name>
195 <groupId>org.codehaus.mojo</groupId>
196 <artifactId>properties-maven-plugin</artifactId>
197 <version>1.0.0</version>
200 <phase>initialize</phase>
202 <goal>read-project-properties</goal>
206 <file>${basedir}/src/main/resources/swagger.properties</file>
213 <groupId>com.github.kongchen</groupId>
214 <artifactId>swagger-maven-plugin</artifactId>
215 <version>3.1.4</version>
219 <locations>${api-rest-package}</locations>
220 <schemes>http,https</schemes>
221 <host>${api-host-ip}:${api-host-port}</host>
222 <basePath>${api-base-path}</basePath>
224 <title>${api-title}</title>
225 <version>${api-version}</version>
226 <description>${api-description}</description>
228 <name>${api-license}</name>
231 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
237 <phase>compile</phase>
239 <goal>generate</goal>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-install-plugin</artifactId>
247 <version>2.3.1</version>
250 <id>install-file-id</id>
251 <phase>install</phase>
253 <goal>install-file</goal>
256 <file>${basedir}/src/main/resources/swagger.json</file>
257 <groupId>${project.groupId}</groupId>
258 <artifactId>${project.artifactId}-swagger-schema</artifactId>
259 <version>${project.version}</version>
260 <packaging>json</packaging>
269 <id>generate-sdk</id>
272 <exists>${swagger-json}</exists>
275 <name>swagger-sdk.generate-java-sdk</name>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-antrun-plugin</artifactId>
283 <version>1.8</version>
286 <phase>initialize</phase>
287 <id>ant-create-script</id>
289 <exportAntProperties>true</exportAntProperties>
293 resource="net/sf/antcontrib/antlib.xml"
294 classpathref="maven.plugin.classpath" />
295 <condition property="is_windows"
297 <os family="windows" />
299 <condition property="isLinux"
304 <equals arg1="${is_windows}"
308 name="swagger.sdk.script.file"
309 value="generated-source-script.bat" />
311 file="${project.build.directory}${file.separator}generated-source-script.bat"
313 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
315 file="${project.build.directory}${file.separator}generated-source-script.bat"
317 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
321 name="swagger.sdk.script.file"
322 value="generated-source-script.sh" />
324 file="${project.build.directory}${file.separator}generated-source-script.sh"
326 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
328 file="${project.build.directory}${file.separator}generated-source-script.sh"
330 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
332 file="${project.build.directory}${file.separator}generated-source-script.sh"
345 <groupId>ant-contrib</groupId>
346 <artifactId>ant-contrib</artifactId>
347 <version>1.0b3</version>
350 <artifactId>ant</artifactId>
351 <groupId>ant</groupId>
358 <groupId>io.swagger</groupId>
359 <artifactId>swagger-codegen-maven-plugin</artifactId>
360 <version>2.2.1</version>
364 <goal>generate</goal>
367 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
368 <output>${project.build.directory}/generated-sources</output>
369 <language>java</language>
371 <dateLibrary>joda</dateLibrary>
373 <library>jersey2</library>
374 <groupId>${project.groupId}</groupId>
375 <artifactId>${project.artifactId}-java-sdk</artifactId>
376 <artifactVersion>${project.version}</artifactVersion>
377 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
378 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
379 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
385 <artifactId>exec-maven-plugin</artifactId>
386 <groupId>org.codehaus.mojo</groupId>
387 <version>1.5.0</version>
390 <id>swagger-generate-sources</id>
391 <phase>generate-sources</phase>
396 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
402 <groupId>org.apache.maven.plugins</groupId>
403 <artifactId>maven-clean-plugin</artifactId>
404 <version>3.0.0</version>
407 <id>clean-generated-files</id>
408 <phase>generate-sources</phase>
415 <directory>${project.build.directory}/generated-sources</directory>
426 <groupId>org.onap.msb.swagger-sdk</groupId>
427 <artifactId>swagger-sdk</artifactId>
428 <version>1.0.0</version>
433 <!-- End of profiles from ONAP oparent -->
438 <dependencyManagement>
441 <groupId>org.onap.sdnc.core</groupId>
442 <artifactId>sli-common</artifactId>
443 <version>${sdnctl.sli.version}</version>
447 <groupId>org.onap.sdnc.core</groupId>
448 <artifactId>sli-provider</artifactId>
449 <version>${sdnctl.sli.version}</version>
453 <groupId>org.onap.sdnc.core</groupId>
454 <artifactId>aai-service-provider</artifactId>
455 <version>${sdnctl.aai.service.version}</version>
459 <groupId>org.onap.sdnc.core</groupId>
460 <artifactId>dblib-provider</artifactId>
461 <version>${sdnctl.dblib.version}</version>
465 </dependencyManagement>
471 <artifactId>maven-javadoc-plugin</artifactId>
472 <version>2.10.4</version>
474 <failOnError>false</failOnError>
475 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
477 <groupId>org.umlgraph</groupId>
478 <artifactId>umlgraph</artifactId>
479 <version>5.6</version>
481 <additionalparam>-views</additionalparam>
482 <useStandardDocletOptions>true</useStandardDocletOptions>
483 <excludePackageNames>org.opendaylight.*</excludePackageNames>
484 <additionalDependencies>
485 <additionalDependency>
486 <groupId>org.slf4j</groupId>
487 <artifactId>slf4j-api</artifactId>
488 <version>${slf4j.version}</version>
489 </additionalDependency>
490 <additionalDependency>
491 <groupId>org.antlr</groupId>
492 <artifactId>antlr4</artifactId>
493 <version>${antlr.version}</version>
494 </additionalDependency>
495 <additionalDependency>
496 <groupId>org.antlr</groupId>
497 <artifactId>antlr4-runtime</artifactId>
498 <version>${antlr.version}</version>
499 </additionalDependency>
501 <additionalDependency>
502 <groupId>com.sun.jersey</groupId>
503 <artifactId>jersey-client</artifactId>
504 <version>${jersey.json.version}</version>
505 </additionalDependency>
506 <additionalDependency>
507 <groupId>com.sun.jersey</groupId>
508 <artifactId>jersey-core</artifactId>
509 <version>${jersey.json.version}</version>
510 </additionalDependency>
511 <additionalDependency>
512 <groupId>org.apache.httpcomponents</groupId>
513 <artifactId>httpcore-osgi</artifactId>
514 <version>${apache.httpcomponents.core.version}</version>
515 </additionalDependency>
516 <additionalDependency>
517 <groupId>org.apache.httpcomponents</groupId>
518 <artifactId>httpclient-osgi</artifactId>
519 <version>${apache.httpcomponents.client.version}</version>
520 </additionalDependency>
521 <additionalDependency>
522 <groupId>com.fasterxml.jackson.core</groupId>
523 <artifactId>jackson-databind</artifactId>
524 <version>${fasterxml.jackson.version}</version>
525 </additionalDependency>
526 <additionalDependency>
527 <groupId>com.fasterxml.jackson.core</groupId>
528 <artifactId>jackson-annotations</artifactId>
529 <version>${fasterxml.jackson.version}</version>
530 </additionalDependency>
531 <additionalDependency>
532 <groupId>com.fasterxml.jackson.core</groupId>
533 <artifactId>jackson-core</artifactId>
534 <version>${fasterxml.jackson.version}</version>
535 </additionalDependency>
536 <additionalDependency>
537 <groupId>commons-lang</groupId>
538 <artifactId>commons-lang</artifactId>
539 <version>${commons.lang.version}</version>
540 </additionalDependency>
541 </additionalDependencies>
546 <report>javadoc-no-fork</report>
547 <report>test-javadoc-no-fork</report>
553 <report>aggregate</report>
554 <report>test-aggregate</report>
560 <groupId>org.apache.maven.plugins</groupId>
561 <artifactId>maven-jxr-plugin</artifactId>
562 <version>2.3</version>
567 <report>aggregate</report>
568 <report>test-aggregate</report>
575 <artifactId>maven-surefire-plugin</artifactId>
576 <version>2.17</version>
579 <groupId>org.apache.maven.plugins</groupId>
580 <artifactId>maven-changelog-plugin</artifactId>
581 <version>2.3</version>
590 <report>changelog</report>
591 <report>file-activity</report>
597 <groupId>org.codehaus.mojo</groupId>
598 <artifactId>taglist-maven-plugin</artifactId>
599 <version>2.4</version>
608 <url>${onap.nexus.public-url}</url>
610 <enabled>true</enabled>
613 <enabled>true</enabled>
617 <id>onap-snapshot</id>
618 <url>${onap.nexus.snapshot-url}</url>
620 <enabled>false</enabled>
623 <enabled>true</enabled>
627 <id>opendaylight-mirror</id>
628 <name>opendaylight-mirror</name>
629 <url>${opendaylight.nexus.public-url}</url>
631 <enabled>true</enabled>
632 <updatePolicy>never</updatePolicy>
635 <enabled>false</enabled>
639 <id>opendaylight-snapshot</id>
640 <name>opendaylight-snapshot</name>
641 <url>${opendaylight.nexus.snapshot-url}</url>
643 <enabled>false</enabled>
646 <enabled>true</enabled>
649 <!-- Black Duck plugin dependencies -->
652 <name>JCenter Repository</name>
653 <url>http://jcenter.bintray.com</url>
658 <name>Restlet Repository</name>
659 <url>http://maven.restlet.com</url>
661 </pluginRepositories>
667 <url>https://nexus.onap.org/content/groups/public</url>
669 <enabled>true</enabled>
670 <updatePolicy>never</updatePolicy>
673 <enabled>true</enabled>
674 <updatePolicy>always</updatePolicy>
678 <id>onap-staging</id>
679 <url>https://nexus.onap.org/content/groups/staging</url>
681 <enabled>true</enabled>
682 <updatePolicy>never</updatePolicy>
685 <enabled>true</enabled>
686 <updatePolicy>always</updatePolicy>
690 <id>ecomp-release</id>
691 <name>onap-repository-releases</name>
692 <url>https://nexus.onap.org/content/repositories/releases</url>
694 <enabled>true</enabled>
695 <updatePolicy>never</updatePolicy>
698 <enabled>false</enabled>
702 <id>ecomp-snapshot</id>
703 <name>onap-repository-snapshots</name>
704 <url>https://nexus.onap.org/content/repositories/snapshots</url>
706 <enabled>false</enabled>
709 <enabled>true</enabled>
713 <id>opendaylight-mirror</id>
714 <name>opendaylight-mirror</name>
715 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
717 <enabled>true</enabled>
718 <updatePolicy>never</updatePolicy>
721 <enabled>false</enabled>
725 <id>opendaylight-snapshot</id>
726 <name>opendaylight-snapshot</name>
727 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
729 <enabled>false</enabled>
732 <enabled>true</enabled>
738 <distributionManagement>
740 <id>ecomp-releases</id>
741 <url>http://nexus.onap.org/content/repositories/releases</url>
744 <id>ecomp-snapshots</id>
745 <url>http://nexus.onap.org/content/repositories/snapshots</url>
746 </snapshotRepository>
747 </distributionManagement>
753 <!-- Plugins from ONAP oparent -->
755 <groupId>org.apache.maven.plugins</groupId>
756 <artifactId>maven-deploy-plugin</artifactId>
757 <!-- This version supports the "deployAtEnd" parameter -->
758 <version>2.8</version>
765 <groupId>org.apache.maven.plugins</groupId>
766 <artifactId>maven-site-plugin</artifactId>
767 <version>3.6</version>
770 <groupId>org.apache.maven.wagon</groupId>
771 <artifactId>wagon-webdav-jackrabbit</artifactId>
772 <version>2.10</version>
775 <groupId>org.apache.maven.doxia</groupId>
776 <artifactId>doxia-core</artifactId>
777 <version>1.7</version>
780 <groupId>org.apache.maven.doxia</groupId>
781 <artifactId>doxia-sink-api</artifactId>
782 <version>1.7</version>
785 <groupId>org.apache.maven.doxia</groupId>
786 <artifactId>doxia-logging-api</artifactId>
787 <version>1.7</version>
792 <id>attach-descriptor</id>
794 <goal>attach-descriptor</goal>
800 <artifactId>maven-checkstyle-plugin</artifactId>
801 <version>2.17</version>
804 <groupId>org.onap.oparent</groupId>
805 <artifactId>checkstyle</artifactId>
806 <version>1.1.0-SNAPSHOT</version>
811 <id>check-license</id>
815 <phase>process-sources</phase>
817 <configLocation>onap-checkstyle/check-license.xml</configLocation>
818 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
819 <includeResources>false</includeResources>
820 <includeTestSourceDirectory>true</includeTestSourceDirectory>
821 <includeTestResources>false</includeTestResources>
822 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
825 <failsOnError>false</failsOnError>
826 <consoleOutput>true</consoleOutput>
834 <phase>process-sources</phase>
836 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
837 with minor changes -->
838 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
839 <!-- <sourceDirectory> is needed so that
840 checkstyle ignores the generated sources directory -->
841 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
842 <includeResources>true</includeResources>
843 <includeTestSourceDirectory>true</includeTestSourceDirectory>
844 <includeTestResources>true</includeTestResources>
847 <failsOnError>false</failsOnError>
848 <consoleOutput>true</consoleOutput>
854 <groupId>org.jacoco</groupId>
855 <artifactId>jacoco-maven-plugin</artifactId>
856 <version>${jacoco.version}</version>
858 <!-- Note: This exclusion list should match <sonar.exclusions>
861 <exclude>**/gen/**</exclude>
862 <exclude>**/generated-sources/**</exclude>
863 <exclude>**/yang-gen/**</exclude>
864 <exclude>**/pax/**</exclude>
868 <!-- Prepares the property pointing to the JaCoCo
869 runtime agent which is passed as VM argument when Maven the Surefire plugin
872 <id>pre-unit-test</id>
874 <goal>prepare-agent</goal>
877 <!-- Sets the path to the file which contains
878 the execution data. -->
879 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
880 <!-- Sets the name of the property containing
881 the settings for JaCoCo runtime agent. -->
882 <propertyName>surefireArgLine</propertyName>
885 <!-- Ensures that the code coverage report for unit
886 tests is created after unit tests have been run. -->
888 <id>post-unit-test</id>
894 <!-- Sets the path to the file which contains
895 the execution data. -->
896 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
897 <!-- Sets the output directory for the code
899 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
903 <id>pre-integration-test</id>
904 <phase>pre-integration-test</phase>
906 <goal>prepare-agent</goal>
909 <!-- Sets the path to the file which contains
910 the execution data. -->
911 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
912 <!-- Sets the name of the property containing
913 the settings for JaCoCo runtime agent. -->
914 <propertyName>failsafeArgLine</propertyName>
917 <!-- Ensures that the code coverage report for integration
918 tests after integration tests have been run. -->
920 <id>post-integration-test</id>
921 <phase>post-integration-test</phase>
926 <!-- Sets the path to the file which contains
927 the execution data. -->
928 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
929 <!-- Sets the output directory for the code
931 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
937 <groupId>org.apache.maven.plugins</groupId>
938 <artifactId>maven-surefire-plugin</artifactId>
939 <version>2.19.1</version>
941 <!-- Sets the VM argument line used when unit tests
943 <argLine>${surefireArgLine}</argLine>
944 <!-- Excludes integration tests when unit tests are
947 <exclude>**/IT*.java</exclude>
952 <groupId>org.apache.maven.plugins</groupId>
953 <artifactId>maven-failsafe-plugin</artifactId>
954 <version>2.19.1</version>
956 <!-- Ensures that both integration-test and verify
957 goals of the Failsafe Maven plugin are executed. -->
959 <id>integration-tests</id>
961 <goal>integration-test</goal>
965 <!-- Sets the VM argument line used when
966 integration tests are run. -->
967 <argLine>${failsafeArgLine}</argLine>
973 <groupId>org.apache.maven.plugins</groupId>
974 <artifactId>maven-compiler-plugin</artifactId>
975 <version>${maven.compile.plugin.version}</version>
977 <source>${java.version.source}</source>
978 <target>${java.version.target}</target>
982 <groupId>org.sonarsource.scanner.maven</groupId>
983 <artifactId>sonar-maven-plugin</artifactId>
984 <version>3.3.0.603</version>
987 <!-- End of plugins from ONAP oparent -->
990 <groupId>org.apache.maven.plugins</groupId>
991 <artifactId>maven-javadoc-plugin</artifactId>
992 <version>2.10</version>
994 <additionalDependencies>
995 <additionalDependency>
996 <groupId>org.slf4j</groupId>
997 <artifactId>slf4j-api</artifactId>
998 <version>${slf4j.version}</version>
999 </additionalDependency>
1000 <additionalDependency>
1001 <groupId>org.antlr</groupId>
1002 <artifactId>antlr4</artifactId>
1003 <version>${antlr.version}</version>
1004 </additionalDependency>
1005 <additionalDependency>
1006 <groupId>org.antlr</groupId>
1007 <artifactId>antlr4-runtime</artifactId>
1008 <version>${antlr.version}</version>
1009 </additionalDependency>
1011 <additionalDependency>
1012 <groupId>com.sun.jersey</groupId>
1013 <artifactId>jersey-client</artifactId>
1014 <version>${jersey.client.version}</version>
1015 </additionalDependency>
1016 <additionalDependency>
1017 <groupId>com.sun.jersey</groupId>
1018 <artifactId>jersey-core</artifactId>
1019 <version>${jersey.version}</version>
1020 </additionalDependency>
1021 <additionalDependency>
1022 <groupId>org.apache.httpcomponents</groupId>
1023 <artifactId>httpcore-osgi</artifactId>
1024 <version>${apache.httpcomponents.core.version}</version>
1025 </additionalDependency>
1026 <additionalDependency>
1027 <groupId>org.apache.httpcomponents</groupId>
1028 <artifactId>httpclient-osgi</artifactId>
1029 <version>${apache.httpcomponents.client.version}</version>
1030 </additionalDependency>
1031 <additionalDependency>
1032 <groupId>com.fasterxml.jackson.core</groupId>
1033 <artifactId>jackson-databind</artifactId>
1034 <version>${jackson.version}</version>
1035 </additionalDependency>
1036 <additionalDependency>
1037 <groupId>com.fasterxml.jackson.core</groupId>
1038 <artifactId>jackson-annotations</artifactId>
1039 <version>${jackson.version}</version>
1040 </additionalDependency>
1041 <additionalDependency>
1042 <groupId>com.fasterxml.jackson.core</groupId>
1043 <artifactId>jackson-core</artifactId>
1044 <version>${jackson.version}</version>
1045 </additionalDependency>
1046 <additionalDependency>
1047 <groupId>commons-lang</groupId>
1048 <artifactId>commons-lang</artifactId>
1049 <version>${commons.lang.version}</version>
1050 </additionalDependency>
1051 </additionalDependencies>
1058 <goal>aggregate</goal>
1066 <artifactId>maven-source-plugin</artifactId>
1067 <version>2.1.1</version>
1070 <id>bundle-sources</id>
1071 <phase>package</phase>
1073 <!-- produce source artifact for main project
1075 <goal>jar-no-fork</goal>
1077 <!-- produce source artifact for project
1079 <goal>test-jar-no-fork</goal>
1091 <!-- Plugins from ONAP oparent -->
1093 <artifactId>maven-checkstyle-plugin</artifactId>
1096 <groupId>org.codehaus.mojo</groupId>
1097 <artifactId>build-helper-maven-plugin</artifactId>
1098 <version>1.12</version>
1100 <!-- Jacoco / Sonar -->
1102 <groupId>org.jacoco</groupId>
1103 <artifactId>jacoco-maven-plugin</artifactId>
1106 <groupId>org.apache.maven.plugins</groupId>
1107 <artifactId>maven-surefire-plugin</artifactId>
1110 <groupId>org.apache.maven.plugins</groupId>
1111 <artifactId>maven-failsafe-plugin</artifactId>
1114 <!-- End of plugins from ONAP oparent -->
1116 <groupId>org.codehaus.mojo</groupId>
1117 <artifactId>properties-maven-plugin</artifactId>
1118 <version>1.0.0</version>
1122 <goal>set-system-properties</goal>
1127 <name>maven.wagon.http.ssl.allowall</name>
1128 <value>${ssl.allowall}</value>
1131 <name>maven.wagon.http.ssl.insecure</name>
1132 <value>${ssl.insecure}</value>
1140 <groupId>org.sonatype.plugins</groupId>
1141 <artifactId>nexus-staging-maven-plugin</artifactId>
1142 <version>1.6.7</version>
1143 <extensions>true</extensions>
1145 <nexusUrl>${onap.nexus.url}</nexusUrl>
1146 <stagingProfileId>176c31dfe190a</stagingProfileId>
1147 <serverId>ecomp-staging</serverId>
1151 <groupId>org.codehaus.mojo</groupId>
1152 <artifactId>versions-maven-plugin</artifactId>
1153 <version>2.5</version>
1155 <processAllModules>true</processAllModules>
1159 <artifactId>maven-scm-plugin</artifactId>
1160 <version>1.8.1</version>
1162 <tag>${project.artifactId}-${project.version}</tag>