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 <eelf.version>0.0.1</eelf.version>
177 <eelf.maven.plugin.version>0.0.1</eelf.maven.plugin.version>
179 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
184 <!-- Profiles from ONAP oparent -->
186 <id>generate-json</id>
189 <exists>${swagger-properties}</exists>
192 <name>swagger-sdk.generate-json</name>
198 <groupId>org.codehaus.mojo</groupId>
199 <artifactId>properties-maven-plugin</artifactId>
200 <version>1.0.0</version>
203 <phase>initialize</phase>
205 <goal>read-project-properties</goal>
209 <file>${basedir}/src/main/resources/swagger.properties</file>
216 <groupId>com.github.kongchen</groupId>
217 <artifactId>swagger-maven-plugin</artifactId>
218 <version>3.1.4</version>
222 <locations>${api-rest-package}</locations>
223 <schemes>http,https</schemes>
224 <host>${api-host-ip}:${api-host-port}</host>
225 <basePath>${api-base-path}</basePath>
227 <title>${api-title}</title>
228 <version>${api-version}</version>
229 <description>${api-description}</description>
231 <name>${api-license}</name>
234 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
240 <phase>compile</phase>
242 <goal>generate</goal>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-install-plugin</artifactId>
250 <version>2.3.1</version>
253 <id>install-file-id</id>
254 <phase>install</phase>
256 <goal>install-file</goal>
259 <file>${basedir}/src/main/resources/swagger.json</file>
260 <groupId>${project.groupId}</groupId>
261 <artifactId>${project.artifactId}-swagger-schema</artifactId>
262 <version>${project.version}</version>
263 <packaging>json</packaging>
272 <id>generate-sdk</id>
275 <exists>${swagger-json}</exists>
278 <name>swagger-sdk.generate-java-sdk</name>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-antrun-plugin</artifactId>
286 <version>1.8</version>
289 <phase>initialize</phase>
290 <id>ant-create-script</id>
292 <exportAntProperties>true</exportAntProperties>
296 resource="net/sf/antcontrib/antlib.xml"
297 classpathref="maven.plugin.classpath" />
298 <condition property="is_windows"
300 <os family="windows" />
302 <condition property="isLinux"
307 <equals arg1="${is_windows}"
311 name="swagger.sdk.script.file"
312 value="generated-source-script.bat" />
314 file="${project.build.directory}${file.separator}generated-source-script.bat"
316 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
318 file="${project.build.directory}${file.separator}generated-source-script.bat"
320 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
324 name="swagger.sdk.script.file"
325 value="generated-source-script.sh" />
327 file="${project.build.directory}${file.separator}generated-source-script.sh"
329 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
331 file="${project.build.directory}${file.separator}generated-source-script.sh"
333 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
335 file="${project.build.directory}${file.separator}generated-source-script.sh"
348 <groupId>ant-contrib</groupId>
349 <artifactId>ant-contrib</artifactId>
350 <version>1.0b3</version>
353 <artifactId>ant</artifactId>
354 <groupId>ant</groupId>
361 <groupId>io.swagger</groupId>
362 <artifactId>swagger-codegen-maven-plugin</artifactId>
363 <version>2.2.1</version>
367 <goal>generate</goal>
370 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
371 <output>${project.build.directory}/generated-sources</output>
372 <language>java</language>
374 <dateLibrary>joda</dateLibrary>
376 <library>jersey2</library>
377 <groupId>${project.groupId}</groupId>
378 <artifactId>${project.artifactId}-java-sdk</artifactId>
379 <artifactVersion>${project.version}</artifactVersion>
380 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
381 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
382 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
388 <artifactId>exec-maven-plugin</artifactId>
389 <groupId>org.codehaus.mojo</groupId>
390 <version>1.5.0</version>
393 <id>swagger-generate-sources</id>
394 <phase>generate-sources</phase>
399 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-clean-plugin</artifactId>
407 <version>3.0.0</version>
410 <id>clean-generated-files</id>
411 <phase>generate-sources</phase>
418 <directory>${project.build.directory}/generated-sources</directory>
429 <groupId>org.onap.msb.swagger-sdk</groupId>
430 <artifactId>swagger-sdk</artifactId>
431 <version>1.0.0</version>
436 <!-- End of profiles from ONAP oparent -->
441 <dependencyManagement>
444 <groupId>org.onap.sdnc.core</groupId>
445 <artifactId>sli-common</artifactId>
446 <version>${sdnctl.sli.version}</version>
450 <groupId>org.onap.sdnc.core</groupId>
451 <artifactId>sli-provider</artifactId>
452 <version>${sdnctl.sli.version}</version>
456 <groupId>org.onap.sdnc.core</groupId>
457 <artifactId>aai-service-provider</artifactId>
458 <version>${sdnctl.aai.service.version}</version>
462 <groupId>org.onap.sdnc.core</groupId>
463 <artifactId>dblib-provider</artifactId>
464 <version>${sdnctl.dblib.version}</version>
467 <groupId>com.att.eelf</groupId>
468 <artifactId>eelf-core</artifactId>
469 <version>${eelf.version}</version>
473 </dependencyManagement>
479 <artifactId>maven-javadoc-plugin</artifactId>
480 <version>2.10.4</version>
482 <failOnError>false</failOnError>
483 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
485 <groupId>org.umlgraph</groupId>
486 <artifactId>umlgraph</artifactId>
487 <version>5.6</version>
489 <additionalparam>-views</additionalparam>
490 <useStandardDocletOptions>true</useStandardDocletOptions>
491 <excludePackageNames>org.opendaylight.*</excludePackageNames>
492 <additionalDependencies>
493 <additionalDependency>
494 <groupId>org.slf4j</groupId>
495 <artifactId>slf4j-api</artifactId>
496 <version>${slf4j.version}</version>
497 </additionalDependency>
498 <additionalDependency>
499 <groupId>org.antlr</groupId>
500 <artifactId>antlr4</artifactId>
501 <version>${antlr.version}</version>
502 </additionalDependency>
503 <additionalDependency>
504 <groupId>org.antlr</groupId>
505 <artifactId>antlr4-runtime</artifactId>
506 <version>${antlr.version}</version>
507 </additionalDependency>
509 <additionalDependency>
510 <groupId>com.sun.jersey</groupId>
511 <artifactId>jersey-client</artifactId>
512 <version>${jersey.json.version}</version>
513 </additionalDependency>
514 <additionalDependency>
515 <groupId>com.sun.jersey</groupId>
516 <artifactId>jersey-core</artifactId>
517 <version>${jersey.json.version}</version>
518 </additionalDependency>
519 <additionalDependency>
520 <groupId>org.apache.httpcomponents</groupId>
521 <artifactId>httpcore-osgi</artifactId>
522 <version>${apache.httpcomponents.core.version}</version>
523 </additionalDependency>
524 <additionalDependency>
525 <groupId>org.apache.httpcomponents</groupId>
526 <artifactId>httpclient-osgi</artifactId>
527 <version>${apache.httpcomponents.client.version}</version>
528 </additionalDependency>
529 <additionalDependency>
530 <groupId>com.fasterxml.jackson.core</groupId>
531 <artifactId>jackson-databind</artifactId>
532 <version>${fasterxml.jackson.version}</version>
533 </additionalDependency>
534 <additionalDependency>
535 <groupId>com.fasterxml.jackson.core</groupId>
536 <artifactId>jackson-annotations</artifactId>
537 <version>${fasterxml.jackson.version}</version>
538 </additionalDependency>
539 <additionalDependency>
540 <groupId>com.fasterxml.jackson.core</groupId>
541 <artifactId>jackson-core</artifactId>
542 <version>${fasterxml.jackson.version}</version>
543 </additionalDependency>
544 <additionalDependency>
545 <groupId>commons-lang</groupId>
546 <artifactId>commons-lang</artifactId>
547 <version>${commons.lang.version}</version>
548 </additionalDependency>
549 </additionalDependencies>
554 <report>javadoc-no-fork</report>
555 <report>test-javadoc-no-fork</report>
561 <report>aggregate</report>
562 <report>test-aggregate</report>
568 <groupId>org.apache.maven.plugins</groupId>
569 <artifactId>maven-jxr-plugin</artifactId>
570 <version>2.3</version>
575 <report>aggregate</report>
576 <report>test-aggregate</report>
583 <artifactId>maven-surefire-plugin</artifactId>
584 <version>2.17</version>
587 <groupId>org.apache.maven.plugins</groupId>
588 <artifactId>maven-changelog-plugin</artifactId>
589 <version>2.3</version>
598 <report>changelog</report>
599 <report>file-activity</report>
605 <groupId>org.codehaus.mojo</groupId>
606 <artifactId>taglist-maven-plugin</artifactId>
607 <version>2.4</version>
616 <url>${onap.nexus.public-url}</url>
618 <enabled>true</enabled>
621 <enabled>true</enabled>
625 <id>onap-snapshot</id>
626 <url>${onap.nexus.snapshot-url}</url>
628 <enabled>false</enabled>
631 <enabled>true</enabled>
635 <id>opendaylight-mirror</id>
636 <name>opendaylight-mirror</name>
637 <url>${opendaylight.nexus.public-url}</url>
639 <enabled>true</enabled>
640 <updatePolicy>never</updatePolicy>
643 <enabled>false</enabled>
647 <id>opendaylight-snapshot</id>
648 <name>opendaylight-snapshot</name>
649 <url>${opendaylight.nexus.snapshot-url}</url>
651 <enabled>false</enabled>
654 <enabled>true</enabled>
657 <!-- Black Duck plugin dependencies -->
660 <name>JCenter Repository</name>
661 <url>http://jcenter.bintray.com</url>
666 <name>Restlet Repository</name>
667 <url>http://maven.restlet.com</url>
669 </pluginRepositories>
675 <url>https://nexus.onap.org/content/groups/public</url>
677 <enabled>true</enabled>
678 <updatePolicy>never</updatePolicy>
681 <enabled>true</enabled>
682 <updatePolicy>always</updatePolicy>
686 <id>onap-staging</id>
687 <url>https://nexus.onap.org/content/groups/staging</url>
689 <enabled>true</enabled>
690 <updatePolicy>never</updatePolicy>
693 <enabled>true</enabled>
694 <updatePolicy>always</updatePolicy>
698 <id>ecomp-release</id>
699 <name>onap-repository-releases</name>
700 <url>https://nexus.onap.org/content/repositories/releases</url>
702 <enabled>true</enabled>
703 <updatePolicy>never</updatePolicy>
706 <enabled>false</enabled>
710 <id>ecomp-snapshot</id>
711 <name>onap-repository-snapshots</name>
712 <url>https://nexus.onap.org/content/repositories/snapshots</url>
714 <enabled>false</enabled>
717 <enabled>true</enabled>
721 <id>opendaylight-mirror</id>
722 <name>opendaylight-mirror</name>
723 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
725 <enabled>true</enabled>
726 <updatePolicy>never</updatePolicy>
729 <enabled>false</enabled>
733 <id>opendaylight-snapshot</id>
734 <name>opendaylight-snapshot</name>
735 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
737 <enabled>false</enabled>
740 <enabled>true</enabled>
746 <distributionManagement>
748 <id>ecomp-releases</id>
749 <url>http://nexus.onap.org/content/repositories/releases</url>
752 <id>ecomp-snapshots</id>
753 <url>http://nexus.onap.org/content/repositories/snapshots</url>
754 </snapshotRepository>
755 </distributionManagement>
761 <!-- Plugins from ONAP oparent -->
763 <groupId>org.apache.maven.plugins</groupId>
764 <artifactId>maven-deploy-plugin</artifactId>
765 <!-- This version supports the "deployAtEnd" parameter -->
766 <version>2.8</version>
773 <groupId>org.apache.maven.plugins</groupId>
774 <artifactId>maven-site-plugin</artifactId>
775 <version>3.6</version>
778 <groupId>org.apache.maven.wagon</groupId>
779 <artifactId>wagon-webdav-jackrabbit</artifactId>
780 <version>2.10</version>
783 <groupId>org.apache.maven.doxia</groupId>
784 <artifactId>doxia-core</artifactId>
785 <version>1.7</version>
788 <groupId>org.apache.maven.doxia</groupId>
789 <artifactId>doxia-sink-api</artifactId>
790 <version>1.7</version>
793 <groupId>org.apache.maven.doxia</groupId>
794 <artifactId>doxia-logging-api</artifactId>
795 <version>1.7</version>
800 <id>attach-descriptor</id>
802 <goal>attach-descriptor</goal>
808 <artifactId>maven-checkstyle-plugin</artifactId>
809 <version>2.17</version>
812 <groupId>org.onap.oparent</groupId>
813 <artifactId>checkstyle</artifactId>
814 <version>1.1.0-SNAPSHOT</version>
819 <id>check-license</id>
823 <phase>process-sources</phase>
825 <configLocation>onap-checkstyle/check-license.xml</configLocation>
826 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
827 <includeResources>false</includeResources>
828 <includeTestSourceDirectory>true</includeTestSourceDirectory>
829 <includeTestResources>false</includeTestResources>
830 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
833 <failsOnError>false</failsOnError>
834 <consoleOutput>true</consoleOutput>
842 <phase>process-sources</phase>
844 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
845 with minor changes -->
846 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
847 <!-- <sourceDirectory> is needed so that
848 checkstyle ignores the generated sources directory -->
849 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
850 <includeResources>true</includeResources>
851 <includeTestSourceDirectory>true</includeTestSourceDirectory>
852 <includeTestResources>true</includeTestResources>
855 <failsOnError>false</failsOnError>
856 <consoleOutput>true</consoleOutput>
862 <groupId>org.jacoco</groupId>
863 <artifactId>jacoco-maven-plugin</artifactId>
864 <version>${jacoco.version}</version>
866 <!-- Note: This exclusion list should match <sonar.exclusions>
869 <exclude>**/gen/**</exclude>
870 <exclude>**/generated-sources/**</exclude>
871 <exclude>**/yang-gen/**</exclude>
872 <exclude>**/pax/**</exclude>
876 <!-- Prepares the property pointing to the JaCoCo
877 runtime agent which is passed as VM argument when Maven the Surefire plugin
880 <id>pre-unit-test</id>
882 <goal>prepare-agent</goal>
885 <!-- Sets the path to the file which contains
886 the execution data. -->
887 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
888 <!-- Sets the name of the property containing
889 the settings for JaCoCo runtime agent. -->
890 <propertyName>surefireArgLine</propertyName>
893 <!-- Ensures that the code coverage report for unit
894 tests is created after unit tests have been run. -->
896 <id>post-unit-test</id>
902 <!-- Sets the path to the file which contains
903 the execution data. -->
904 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
905 <!-- Sets the output directory for the code
907 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
911 <id>pre-integration-test</id>
912 <phase>pre-integration-test</phase>
914 <goal>prepare-agent</goal>
917 <!-- Sets the path to the file which contains
918 the execution data. -->
919 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
920 <!-- Sets the name of the property containing
921 the settings for JaCoCo runtime agent. -->
922 <propertyName>failsafeArgLine</propertyName>
925 <!-- Ensures that the code coverage report for integration
926 tests after integration tests have been run. -->
928 <id>post-integration-test</id>
929 <phase>post-integration-test</phase>
934 <!-- Sets the path to the file which contains
935 the execution data. -->
936 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
937 <!-- Sets the output directory for the code
939 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
945 <groupId>org.apache.maven.plugins</groupId>
946 <artifactId>maven-surefire-plugin</artifactId>
947 <version>2.19.1</version>
949 <!-- Sets the VM argument line used when unit tests
951 <argLine>${surefireArgLine}</argLine>
952 <!-- Excludes integration tests when unit tests are
955 <exclude>**/IT*.java</exclude>
960 <groupId>org.apache.maven.plugins</groupId>
961 <artifactId>maven-failsafe-plugin</artifactId>
962 <version>2.19.1</version>
964 <!-- Ensures that both integration-test and verify
965 goals of the Failsafe Maven plugin are executed. -->
967 <id>integration-tests</id>
969 <goal>integration-test</goal>
973 <!-- Sets the VM argument line used when
974 integration tests are run. -->
975 <argLine>${failsafeArgLine}</argLine>
981 <groupId>org.apache.maven.plugins</groupId>
982 <artifactId>maven-compiler-plugin</artifactId>
983 <version>${maven.compile.plugin.version}</version>
985 <source>${java.version.source}</source>
986 <target>${java.version.target}</target>
990 <groupId>org.sonarsource.scanner.maven</groupId>
991 <artifactId>sonar-maven-plugin</artifactId>
992 <version>3.3.0.603</version>
995 <!-- End of plugins from ONAP oparent -->
998 <groupId>org.apache.maven.plugins</groupId>
999 <artifactId>maven-javadoc-plugin</artifactId>
1000 <version>2.10</version>
1002 <additionalDependencies>
1003 <additionalDependency>
1004 <groupId>org.slf4j</groupId>
1005 <artifactId>slf4j-api</artifactId>
1006 <version>${slf4j.version}</version>
1007 </additionalDependency>
1008 <additionalDependency>
1009 <groupId>org.antlr</groupId>
1010 <artifactId>antlr4</artifactId>
1011 <version>${antlr.version}</version>
1012 </additionalDependency>
1013 <additionalDependency>
1014 <groupId>org.antlr</groupId>
1015 <artifactId>antlr4-runtime</artifactId>
1016 <version>${antlr.version}</version>
1017 </additionalDependency>
1019 <additionalDependency>
1020 <groupId>com.sun.jersey</groupId>
1021 <artifactId>jersey-client</artifactId>
1022 <version>${jersey.client.version}</version>
1023 </additionalDependency>
1024 <additionalDependency>
1025 <groupId>com.sun.jersey</groupId>
1026 <artifactId>jersey-core</artifactId>
1027 <version>${jersey.version}</version>
1028 </additionalDependency>
1029 <additionalDependency>
1030 <groupId>org.apache.httpcomponents</groupId>
1031 <artifactId>httpcore-osgi</artifactId>
1032 <version>${apache.httpcomponents.core.version}</version>
1033 </additionalDependency>
1034 <additionalDependency>
1035 <groupId>org.apache.httpcomponents</groupId>
1036 <artifactId>httpclient-osgi</artifactId>
1037 <version>${apache.httpcomponents.client.version}</version>
1038 </additionalDependency>
1039 <additionalDependency>
1040 <groupId>com.fasterxml.jackson.core</groupId>
1041 <artifactId>jackson-databind</artifactId>
1042 <version>${jackson.version}</version>
1043 </additionalDependency>
1044 <additionalDependency>
1045 <groupId>com.fasterxml.jackson.core</groupId>
1046 <artifactId>jackson-annotations</artifactId>
1047 <version>${jackson.version}</version>
1048 </additionalDependency>
1049 <additionalDependency>
1050 <groupId>com.fasterxml.jackson.core</groupId>
1051 <artifactId>jackson-core</artifactId>
1052 <version>${jackson.version}</version>
1053 </additionalDependency>
1054 <additionalDependency>
1055 <groupId>commons-lang</groupId>
1056 <artifactId>commons-lang</artifactId>
1057 <version>${commons.lang.version}</version>
1058 </additionalDependency>
1059 </additionalDependencies>
1066 <goal>aggregate</goal>
1074 <artifactId>maven-source-plugin</artifactId>
1075 <version>2.1.1</version>
1078 <id>bundle-sources</id>
1079 <phase>package</phase>
1081 <!-- produce source artifact for main project
1083 <goal>jar-no-fork</goal>
1085 <!-- produce source artifact for project
1087 <goal>test-jar-no-fork</goal>
1099 <!-- Plugins from ONAP oparent -->
1101 <artifactId>maven-checkstyle-plugin</artifactId>
1104 <groupId>org.codehaus.mojo</groupId>
1105 <artifactId>build-helper-maven-plugin</artifactId>
1106 <version>1.12</version>
1108 <!-- Jacoco / Sonar -->
1110 <groupId>org.jacoco</groupId>
1111 <artifactId>jacoco-maven-plugin</artifactId>
1114 <groupId>org.apache.maven.plugins</groupId>
1115 <artifactId>maven-surefire-plugin</artifactId>
1118 <groupId>org.apache.maven.plugins</groupId>
1119 <artifactId>maven-failsafe-plugin</artifactId>
1122 <!-- End of plugins from ONAP oparent -->
1124 <groupId>org.codehaus.mojo</groupId>
1125 <artifactId>properties-maven-plugin</artifactId>
1126 <version>1.0.0</version>
1130 <goal>set-system-properties</goal>
1135 <name>maven.wagon.http.ssl.allowall</name>
1136 <value>${ssl.allowall}</value>
1139 <name>maven.wagon.http.ssl.insecure</name>
1140 <value>${ssl.insecure}</value>
1148 <groupId>org.sonatype.plugins</groupId>
1149 <artifactId>nexus-staging-maven-plugin</artifactId>
1150 <version>1.6.7</version>
1151 <extensions>true</extensions>
1153 <nexusUrl>${onap.nexus.url}</nexusUrl>
1154 <stagingProfileId>176c31dfe190a</stagingProfileId>
1155 <serverId>ecomp-staging</serverId>
1159 <groupId>org.codehaus.mojo</groupId>
1160 <artifactId>versions-maven-plugin</artifactId>
1161 <version>2.5</version>
1163 <processAllModules>true</processAllModules>
1167 <artifactId>maven-scm-plugin</artifactId>
1168 <version>1.8.1</version>
1170 <tag>${project.artifactId}-${project.version}</tag>