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">
5 <modelVersion>4.0.0</modelVersion>
6 <packaging>pom</packaging>
7 <groupId>org.onap.ccsdk.parent</groupId>
8 <artifactId>single-feature-parent</artifactId>
9 <version>1.1.4-SNAPSHOT</version>
12 <groupId>org.opendaylight.odlparent</groupId>
13 <artifactId>single-feature-parent</artifactId>
14 <version>3.1.3</version>
19 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
20 <url>http://wiki.onap.org</url>
21 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
26 <url>https://jira.onap.org/</url>
31 <!-- properties from oparent -->
32 <maven.compiler.source>1.8</maven.compiler.source>
33 <maven.compiler.target>1.8</maven.compiler.target>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
36 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
37 <!-- sitePath may be overridden in the inheriting POM if desired -->
38 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
39 <jacoco.version>0.7.7.201606060606</jacoco.version>
40 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
41 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
42 <!-- Default Sonar configuration -->
43 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
44 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
46 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47 <!-- If following file exist, auto-generation of swagger.json will be done -->
48 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
49 <!-- If following file exist, auto-generation of sdk will be done -->
50 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
51 <!-- end of properties from oparent -->
53 <!-- ONAP repositories -->
54 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
55 <onap.nexus.port>443</onap.nexus.port>
56 <onap.nexus.protocol>https</onap.nexus.protocol>
57 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
58 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
59 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
60 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
61 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
62 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
65 <!-- OpenDaylight repositories -->
66 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
67 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
70 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
71 <java.version.source>1.8</java.version.source>
72 <java.version.target>1.8</java.version.target>
73 <bundle.plugin.version>2.5.0</bundle.plugin.version>
74 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
75 <features.file>features.xml</features.file>
76 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
77 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
78 <checkstyle.skip>true</checkstyle.skip>
81 <sonar.language>java</sonar.language>
82 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
83 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
84 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
85 <sonar.projectVersion>${project.version}</sonar.projectVersion>
90 <!-- CCSDK component versions -->
91 <ccsdk.sli.core.version>0.3.3</ccsdk.sli.core.version>
92 <ccsdk.sli.adaptors.version>0.3.3</ccsdk.sli.adaptors.version>
93 <ccsdk.sli.northbound.version>0.3.3</ccsdk.sli.northbound.version>
94 <ccsdk.sli.plugins.version>0.3.3</ccsdk.sli.plugins.version>
95 <ccsdk.distribution.version>0.3.3</ccsdk.distribution.version>
96 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
97 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
98 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
99 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
100 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
104 <!-- Support libraries used by OpenDaylight -->
105 <odl.mdsal.version>1.7.3</odl.mdsal.version>
106 <odl.mdsal.model.version>0.12.3</odl.mdsal.model.version>
107 <!-- Used by aaa, vtn -->
108 <commons.codec.version>1.10</commons.codec.version>
109 <!-- Used by netconf, ovsdb -->
110 <commons.lang3.version>3.7</commons.lang3.version>
111 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
112 <commons.lang.version>2.6</commons.lang.version>
113 <!-- Used by neutron; see also controller, vtn -->
114 <commons.net.version>3.6</commons.net.version>
115 <!-- Used by neutron -->
116 <eclipse.persistence.version>2.7.1</eclipse.persistence.version>
118 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
119 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
120 <gson.version>2.8.2</gson.version>
121 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
122 <guava.version>23.6</guava.version>
123 <!-- Used by lispflowmapping, sxp, vtn/manager -->
124 <hamcrest.version>1.3.1</hamcrest.version>
125 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
126 integration/distribution, snmp4sdn, toolkit, ttp -->
127 <jackson.version>2.3.2</jackson.version>
128 <!-- Used by snmp4sdn, yangtools -->
129 <javassist.version>3.20.0-GA</javassist.version>
131 <!-- FIXME remove all dependencies for jersey 1.17 after migration all
133 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
134 snmp4sdn, toolkit -->
135 <jersey.version>1.19.4</jersey.version>
137 <jersey.client.version>1.19.4</jersey.client.version>
139 <!-- New packages for jersey migration 1.17 to 2.8 -->
140 <!-- appache.geronimo.bundle for DocGen -->
141 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
142 <org.json.version>20131018</org.json.version>
145 <jettison.version>1.3.8</jettison.version>
146 <!-- Used by persistence -->
147 <jsr305.api.version>3.0.0</jsr305.api.version>
148 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
149 is fixed (either in PowerMock or with a new JUnit release) -->
150 <!-- Used everywhere -->
151 <junit.version>4.11</junit.version>
152 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
153 <logback.version>1.2.3</logback.version>
154 <!-- Used by nic, sfc, sxp, tsdr -->
155 <mockito.version>1.10.19</mockito.version>
156 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
157 <netty.version>4.1.22.Final</netty.version>
158 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
160 <slf4j.version>1.7.25</slf4j.version>
161 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
163 <spring.version>3.2.17.RELEASE</spring.version>
167 <!-- Extra support libraries used by SDN-C -->
168 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
169 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
170 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
171 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
172 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
173 <antlr.version>4.7.1</antlr.version>
174 <mysql.connector.version>5.1.39</mysql.connector.version>
175 <mariadb.connector.version>2.1.1</mariadb.connector.version>
176 <h2database.version>1.4.196</h2database.version>
177 <derby.version>10.14.2.0</derby.version>
179 <eelf.version>1.0.0</eelf.version>
180 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
182 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
184 <skip.karaf.featureTest>true</skip.karaf.featureTest>
189 <!-- Profiles from ONAP oparent -->
191 <id>generate-json</id>
194 <exists>${swagger-properties}</exists>
197 <name>swagger-sdk.generate-json</name>
203 <groupId>org.codehaus.mojo</groupId>
204 <artifactId>properties-maven-plugin</artifactId>
205 <version>1.0.0</version>
208 <phase>initialize</phase>
210 <goal>read-project-properties</goal>
214 <file>${basedir}/src/main/resources/swagger.properties</file>
221 <groupId>com.github.kongchen</groupId>
222 <artifactId>swagger-maven-plugin</artifactId>
223 <version>3.1.4</version>
227 <locations>${api-rest-package}</locations>
228 <schemes>http,https</schemes>
229 <host>${api-host-ip}:${api-host-port}</host>
230 <basePath>${api-base-path}</basePath>
232 <title>${api-title}</title>
233 <version>${api-version}</version>
234 <description>${api-description}</description>
236 <name>${api-license}</name>
239 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
245 <phase>compile</phase>
247 <goal>generate</goal>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-install-plugin</artifactId>
255 <version>2.3.1</version>
258 <id>install-file-id</id>
259 <phase>install</phase>
261 <goal>install-file</goal>
264 <file>${basedir}/src/main/resources/swagger.json</file>
265 <groupId>${project.groupId}</groupId>
266 <artifactId>${project.artifactId}-swagger-schema</artifactId>
267 <version>${project.version}</version>
268 <packaging>json</packaging>
277 <id>generate-sdk</id>
280 <exists>${swagger-json}</exists>
283 <name>swagger-sdk.generate-java-sdk</name>
289 <groupId>org.apache.maven.plugins</groupId>
290 <artifactId>maven-antrun-plugin</artifactId>
291 <version>1.8</version>
294 <phase>initialize</phase>
295 <id>ant-create-script</id>
297 <exportAntProperties>true</exportAntProperties>
300 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
301 <condition property="is_windows" value="true">
302 <os family="windows"/>
304 <condition property="isLinux" value="true">
308 <equals arg1="${is_windows}" arg2="true"/>
310 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
311 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
312 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
315 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
316 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
317 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
318 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
330 <groupId>ant-contrib</groupId>
331 <artifactId>ant-contrib</artifactId>
332 <version>1.0b3</version>
335 <artifactId>ant</artifactId>
336 <groupId>ant</groupId>
343 <groupId>io.swagger</groupId>
344 <artifactId>swagger-codegen-maven-plugin</artifactId>
345 <version>2.2.1</version>
349 <goal>generate</goal>
352 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
353 <output>${project.build.directory}/generated-sources</output>
354 <language>java</language>
356 <dateLibrary>joda</dateLibrary>
358 <library>jersey2</library>
359 <groupId>${project.groupId}</groupId>
360 <artifactId>${project.artifactId}-java-sdk</artifactId>
361 <artifactVersion>${project.version}</artifactVersion>
362 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
363 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
364 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
370 <artifactId>exec-maven-plugin</artifactId>
371 <groupId>org.codehaus.mojo</groupId>
372 <version>1.5.0</version>
375 <id>swagger-generate-sources</id>
376 <phase>generate-sources</phase>
381 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
387 <groupId>org.apache.maven.plugins</groupId>
388 <artifactId>maven-clean-plugin</artifactId>
389 <version>3.0.0</version>
392 <id>clean-generated-files</id>
393 <phase>generate-sources</phase>
400 <directory>${project.build.directory}/generated-sources</directory>
411 <groupId>org.onap.msb.swagger-sdk</groupId>
412 <artifactId>swagger-sdk</artifactId>
413 <version>1.0.0</version>
418 <!-- End of profiles from ONAP oparent -->
420 <id>nexus-staging</id>
423 <name>!altDeploymentRepository</name>
429 <groupId>org.sonatype.plugins</groupId>
430 <artifactId>nexus-staging-maven-plugin</artifactId>
431 <version>1.6.7</version>
432 <extensions>true</extensions>
434 <nexusUrl>https://nexus.onap.org</nexusUrl>
435 <stagingProfileId>176c31dfe190a</stagingProfileId>
436 <serverId>ecomp-staging</serverId>
445 <dependencyManagement>
448 <groupId>org.opendaylight.mdsal.model</groupId>
449 <artifactId>mdsal-model-artifacts</artifactId>
450 <version>${odl.mdsal.model.version}</version>
452 <scope>import</scope>
455 <groupId>org.opendaylight.controller</groupId>
456 <artifactId>mdsal-artifacts</artifactId>
457 <version>${odl.mdsal.version}</version>
459 <scope>import</scope>
462 <groupId>org.onap.ccsdk.sli.core</groupId>
463 <artifactId>sli-common</artifactId>
464 <version>${ccsdk.sli.core.version}</version>
468 <groupId>org.onap.ccsdk.sli.core</groupId>
469 <artifactId>sli-provider</artifactId>
470 <version>${ccsdk.sli.core.version}</version>
473 <groupId>org.onap.ccsdk.sli.core</groupId>
474 <artifactId>ccsdk-sli</artifactId>
475 <version>${ccsdk.sli.core.version}</version>
477 <classifier>features</classifier>
480 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
481 <artifactId>aai-service-provider</artifactId>
482 <version>${sdnctl.aai.service.version}</version>
486 <groupId>org.onap.ccsdk.sli.core</groupId>
487 <artifactId>dblib-provider</artifactId>
488 <version>${sdnctl.dblib.version}</version>
492 <groupId>org.testng</groupId>
493 <artifactId>testng</artifactId>
494 <version>6.11</version>
497 <groupId>org.springframework</groupId>
498 <artifactId>spring-test</artifactId>
499 <version>${spring.version}</version>
502 <groupId>org.springframework</groupId>
503 <artifactId>spring-beans</artifactId>
504 <version>${spring.version}</version>
507 <groupId>org.springframework</groupId>
508 <artifactId>spring-context</artifactId>
509 <version>${spring.version}</version>
512 <groupId>com.att.eelf</groupId>
513 <artifactId>eelf-core</artifactId>
514 <version>${eelf.version}</version>
517 <groupId>javax.ws.rs</groupId>
518 <artifactId>javax.ws.rs-api</artifactId>
519 <version>2.1</version>
522 <groupId>org.apache.derby</groupId>
523 <artifactId>derby</artifactId>
524 <version>${derby.version}</version>
529 </dependencyManagement>
535 <artifactId>maven-javadoc-plugin</artifactId>
536 <version>2.10.4</version>
538 <failOnError>false</failOnError>
539 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
541 <groupId>org.umlgraph</groupId>
542 <artifactId>umlgraph</artifactId>
543 <version>5.6</version>
545 <additionalparam>-views</additionalparam>
546 <useStandardDocletOptions>true</useStandardDocletOptions>
547 <excludePackageNames>org.opendaylight.*</excludePackageNames>
548 <additionalDependencies>
549 <additionalDependency>
550 <groupId>org.slf4j</groupId>
551 <artifactId>slf4j-api</artifactId>
552 <version>${slf4j.version}</version>
553 </additionalDependency>
554 <additionalDependency>
555 <groupId>org.antlr</groupId>
556 <artifactId>antlr4</artifactId>
557 <version>${antlr.version}</version>
558 </additionalDependency>
559 <additionalDependency>
560 <groupId>org.antlr</groupId>
561 <artifactId>antlr4-runtime</artifactId>
562 <version>${antlr.version}</version>
563 </additionalDependency>
565 <additionalDependency>
566 <groupId>com.sun.jersey</groupId>
567 <artifactId>jersey-client</artifactId>
568 <version>${jersey.json.version}</version>
569 </additionalDependency>
570 <additionalDependency>
571 <groupId>com.sun.jersey</groupId>
572 <artifactId>jersey-core</artifactId>
573 <version>${jersey.json.version}</version>
574 </additionalDependency>
575 <additionalDependency>
576 <groupId>org.apache.httpcomponents</groupId>
577 <artifactId>httpcore-osgi</artifactId>
578 <version>${apache.httpcomponents.core.version}</version>
579 </additionalDependency>
580 <additionalDependency>
581 <groupId>org.apache.httpcomponents</groupId>
582 <artifactId>httpclient-osgi</artifactId>
583 <version>${apache.httpcomponents.client.version}</version>
584 </additionalDependency>
585 <additionalDependency>
586 <groupId>com.fasterxml.jackson.core</groupId>
587 <artifactId>jackson-databind</artifactId>
588 <version>${fasterxml.jackson.version}</version>
589 </additionalDependency>
590 <additionalDependency>
591 <groupId>com.fasterxml.jackson.core</groupId>
592 <artifactId>jackson-annotations</artifactId>
593 <version>${fasterxml.jackson.version}</version>
594 </additionalDependency>
595 <additionalDependency>
596 <groupId>com.fasterxml.jackson.core</groupId>
597 <artifactId>jackson-core</artifactId>
598 <version>${fasterxml.jackson.version}</version>
599 </additionalDependency>
600 <additionalDependency>
601 <groupId>commons-lang</groupId>
602 <artifactId>commons-lang</artifactId>
603 <version>${commons.lang.version}</version>
604 </additionalDependency>
605 </additionalDependencies>
610 <report>javadoc-no-fork</report>
611 <report>test-javadoc-no-fork</report>
617 <report>aggregate</report>
618 <report>test-aggregate</report>
624 <groupId>org.apache.maven.plugins</groupId>
625 <artifactId>maven-jxr-plugin</artifactId>
626 <version>2.3</version>
631 <report>aggregate</report>
632 <report>test-aggregate</report>
639 <artifactId>maven-surefire-plugin</artifactId>
640 <version>2.17</version>
643 <groupId>org.apache.maven.plugins</groupId>
644 <artifactId>maven-changelog-plugin</artifactId>
645 <version>2.3</version>
654 <report>changelog</report>
655 <report>file-activity</report>
661 <groupId>org.codehaus.mojo</groupId>
662 <artifactId>taglist-maven-plugin</artifactId>
663 <version>2.4</version>
672 <url>${onap.nexus.public-url}</url>
674 <enabled>true</enabled>
677 <enabled>true</enabled>
681 <id>onap-staging</id>
682 <url>${onap.nexus.staging-url}</url>
684 <enabled>true</enabled>
687 <enabled>true</enabled>
691 <id>onap-snapshot</id>
692 <url>${onap.nexus.snapshot-url}</url>
694 <enabled>false</enabled>
697 <enabled>true</enabled>
701 <id>opendaylight-mirror</id>
702 <name>opendaylight-mirror</name>
703 <url>${opendaylight.nexus.public-url}</url>
705 <enabled>true</enabled>
706 <updatePolicy>never</updatePolicy>
709 <enabled>false</enabled>
713 <id>opendaylight-snapshot</id>
714 <name>opendaylight-snapshot</name>
715 <url>${opendaylight.nexus.snapshot-url}</url>
717 <enabled>false</enabled>
720 <enabled>true</enabled>
723 <!-- Black Duck plugin dependencies -->
726 <name>JCenter Repository</name>
727 <url>http://jcenter.bintray.com</url>
732 <name>Restlet Repository</name>
733 <url>http://maven.restlet.com</url>
735 </pluginRepositories>
741 <url>https://nexus.onap.org/content/groups/public</url>
743 <enabled>true</enabled>
744 <updatePolicy>never</updatePolicy>
747 <enabled>true</enabled>
748 <updatePolicy>always</updatePolicy>
752 <id>onap-staging</id>
753 <url>https://nexus.onap.org/content/groups/staging</url>
755 <enabled>true</enabled>
756 <updatePolicy>never</updatePolicy>
759 <enabled>true</enabled>
760 <updatePolicy>always</updatePolicy>
764 <id>ecomp-release</id>
765 <name>onap-repository-releases</name>
766 <url>https://nexus.onap.org/content/repositories/releases</url>
768 <enabled>true</enabled>
769 <updatePolicy>never</updatePolicy>
772 <enabled>false</enabled>
776 <id>ecomp-snapshot</id>
777 <name>onap-repository-snapshots</name>
778 <url>https://nexus.onap.org/content/repositories/snapshots</url>
780 <enabled>false</enabled>
783 <enabled>true</enabled>
787 <id>opendaylight-mirror</id>
788 <name>opendaylight-mirror</name>
789 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
791 <enabled>true</enabled>
792 <updatePolicy>never</updatePolicy>
795 <enabled>false</enabled>
799 <id>opendaylight-snapshot</id>
800 <name>opendaylight-snapshot</name>
801 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
803 <enabled>false</enabled>
806 <enabled>true</enabled>
812 <distributionManagement>
814 <id>ecomp-releases</id>
815 <url>https://nexus.onap.org/content/repositories/releases</url>
818 <id>ecomp-snapshots</id>
819 <url>https://nexus.onap.org/content/repositories/snapshots</url>
820 </snapshotRepository>
821 </distributionManagement>
827 <!-- Plugins from ONAP oparent -->
829 <groupId>org.apache.maven.plugins</groupId>
830 <artifactId>maven-deploy-plugin</artifactId>
831 <!-- This version supports the "deployAtEnd" parameter -->
832 <version>2.8</version>
839 <groupId>org.apache.maven.plugins</groupId>
840 <artifactId>maven-site-plugin</artifactId>
841 <version>3.6</version>
844 <groupId>org.apache.maven.wagon</groupId>
845 <artifactId>wagon-webdav-jackrabbit</artifactId>
846 <version>2.10</version>
849 <groupId>org.apache.maven.doxia</groupId>
850 <artifactId>doxia-core</artifactId>
851 <version>1.7</version>
854 <groupId>org.apache.maven.doxia</groupId>
855 <artifactId>doxia-sink-api</artifactId>
856 <version>1.7</version>
859 <groupId>org.apache.maven.doxia</groupId>
860 <artifactId>doxia-logging-api</artifactId>
861 <version>1.7</version>
866 <id>attach-descriptor</id>
868 <goal>attach-descriptor</goal>
874 <artifactId>maven-checkstyle-plugin</artifactId>
875 <version>2.17</version>
878 <groupId>org.onap.oparent</groupId>
879 <artifactId>checkstyle</artifactId>
880 <version>1.1.1</version>
885 <id>check-license</id>
889 <phase>process-sources</phase>
891 <configLocation>onap-checkstyle/check-license.xml</configLocation>
892 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
893 <includeResources>false</includeResources>
894 <includeTestSourceDirectory>true</includeTestSourceDirectory>
895 <includeTestResources>false</includeTestResources>
896 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
899 <failsOnError>false</failsOnError>
900 <consoleOutput>true</consoleOutput>
908 <phase>process-sources</phase>
910 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
911 with minor changes -->
912 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
913 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
914 sources directory -->
915 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
916 <includeResources>true</includeResources>
917 <includeTestSourceDirectory>true</includeTestSourceDirectory>
918 <includeTestResources>true</includeTestResources>
921 <failsOnError>false</failsOnError>
922 <consoleOutput>true</consoleOutput>
928 <groupId>org.jacoco</groupId>
929 <artifactId>jacoco-maven-plugin</artifactId>
930 <version>${jacoco.version}</version>
932 <!-- Note: This exclusion list should match <sonar.exclusions> property
935 <exclude>**/gen/**</exclude>
936 <exclude>**/generated-sources/**</exclude>
937 <exclude>**/yang-gen/**</exclude>
938 <exclude>**/pax/**</exclude>
942 <!-- Prepares the property pointing to the JaCoCo runtime agent which
943 is passed as VM argument when Maven the Surefire plugin is executed. -->
945 <id>pre-unit-test</id>
947 <goal>prepare-agent</goal>
950 <!-- Sets the path to the file which contains the execution data. -->
951 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
952 <!-- Sets the name of the property containing the settings for JaCoCo
954 <propertyName>surefireArgLine</propertyName>
957 <!-- Ensures that the code coverage report for unit tests is created
958 after unit tests have been run. -->
960 <id>post-unit-test</id>
966 <!-- Sets the path to the file which contains the execution data. -->
967 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
968 <!-- Sets the output directory for the code coverage report. -->
969 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
973 <id>pre-integration-test</id>
974 <phase>pre-integration-test</phase>
976 <goal>prepare-agent</goal>
979 <!-- Sets the path to the file which contains the execution data. -->
980 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
981 <!-- Sets the name of the property containing the settings for JaCoCo
983 <propertyName>failsafeArgLine</propertyName>
986 <!-- Ensures that the code coverage report for integration tests after
987 integration tests have been run. -->
989 <id>post-integration-test</id>
990 <phase>post-integration-test</phase>
995 <!-- Sets the path to the file which contains the execution data. -->
996 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
997 <!-- Sets the output directory for the code coverage report. -->
998 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
1004 <groupId>org.apache.maven.plugins</groupId>
1005 <artifactId>maven-surefire-plugin</artifactId>
1006 <version>2.19.1</version>
1008 <!-- Sets the VM argument line used when unit tests are run. -->
1009 <argLine>${surefireArgLine}</argLine>
1010 <!-- Excludes integration tests when unit tests are run. -->
1012 <exclude>**/IT*.java</exclude>
1017 <groupId>org.apache.maven.plugins</groupId>
1018 <artifactId>maven-failsafe-plugin</artifactId>
1019 <version>2.19.1</version>
1021 <!-- Ensures that both integration-test and verify goals of the Failsafe
1022 Maven plugin are executed. -->
1024 <id>integration-tests</id>
1026 <goal>integration-test</goal>
1030 <!-- Sets the VM argument line used when integration tests are run. -->
1031 <argLine>${failsafeArgLine}</argLine>
1037 <groupId>org.apache.maven.plugins</groupId>
1038 <artifactId>maven-compiler-plugin</artifactId>
1039 <version>${maven.compile.plugin.version}</version>
1041 <source>${java.version.source}</source>
1042 <target>${java.version.target}</target>
1046 <groupId>org.sonarsource.scanner.maven</groupId>
1047 <artifactId>sonar-maven-plugin</artifactId>
1048 <version>3.3.0.603</version>
1051 <!-- End of plugins from ONAP oparent -->
1054 <groupId>org.apache.maven.plugins</groupId>
1055 <artifactId>maven-javadoc-plugin</artifactId>
1056 <version>2.10</version>
1058 <additionalDependencies>
1059 <additionalDependency>
1060 <groupId>org.slf4j</groupId>
1061 <artifactId>slf4j-api</artifactId>
1062 <version>${slf4j.version}</version>
1063 </additionalDependency>
1064 <additionalDependency>
1065 <groupId>org.antlr</groupId>
1066 <artifactId>antlr4</artifactId>
1067 <version>${antlr.version}</version>
1068 </additionalDependency>
1069 <additionalDependency>
1070 <groupId>org.antlr</groupId>
1071 <artifactId>antlr4-runtime</artifactId>
1072 <version>${antlr.version}</version>
1073 </additionalDependency>
1075 <additionalDependency>
1076 <groupId>com.sun.jersey</groupId>
1077 <artifactId>jersey-client</artifactId>
1078 <version>${jersey.client.version}</version>
1079 </additionalDependency>
1080 <additionalDependency>
1081 <groupId>com.sun.jersey</groupId>
1082 <artifactId>jersey-core</artifactId>
1083 <version>${jersey.version}</version>
1084 </additionalDependency>
1085 <additionalDependency>
1086 <groupId>org.apache.httpcomponents</groupId>
1087 <artifactId>httpcore-osgi</artifactId>
1088 <version>${apache.httpcomponents.core.version}</version>
1089 </additionalDependency>
1090 <additionalDependency>
1091 <groupId>org.apache.httpcomponents</groupId>
1092 <artifactId>httpclient-osgi</artifactId>
1093 <version>${apache.httpcomponents.client.version}</version>
1094 </additionalDependency>
1095 <additionalDependency>
1096 <groupId>com.fasterxml.jackson.core</groupId>
1097 <artifactId>jackson-databind</artifactId>
1098 <version>${jackson.version}</version>
1099 </additionalDependency>
1100 <additionalDependency>
1101 <groupId>com.fasterxml.jackson.core</groupId>
1102 <artifactId>jackson-annotations</artifactId>
1103 <version>${jackson.version}</version>
1104 </additionalDependency>
1105 <additionalDependency>
1106 <groupId>com.fasterxml.jackson.core</groupId>
1107 <artifactId>jackson-core</artifactId>
1108 <version>${jackson.version}</version>
1109 </additionalDependency>
1110 <additionalDependency>
1111 <groupId>commons-lang</groupId>
1112 <artifactId>commons-lang</artifactId>
1113 <version>${commons.lang.version}</version>
1114 </additionalDependency>
1115 </additionalDependencies>
1122 <goal>aggregate</goal>
1135 <!-- Plugins from ONAP oparent -->
1137 <artifactId>maven-checkstyle-plugin</artifactId>
1140 <groupId>org.codehaus.mojo</groupId>
1141 <artifactId>build-helper-maven-plugin</artifactId>
1142 <version>1.12</version>
1144 <!-- Jacoco / Sonar -->
1146 <groupId>org.jacoco</groupId>
1147 <artifactId>jacoco-maven-plugin</artifactId>
1150 <groupId>org.apache.maven.plugins</groupId>
1151 <artifactId>maven-surefire-plugin</artifactId>
1154 <groupId>org.apache.maven.plugins</groupId>
1155 <artifactId>maven-failsafe-plugin</artifactId>
1158 <!-- End of plugins from ONAP oparent -->
1160 <groupId>org.codehaus.mojo</groupId>
1161 <artifactId>properties-maven-plugin</artifactId>
1162 <version>1.0.0</version>
1166 <goal>set-system-properties</goal>
1171 <name>maven.wagon.http.ssl.allowall</name>
1172 <value>${ssl.allowall}</value>
1175 <name>maven.wagon.http.ssl.insecure</name>
1176 <value>${ssl.insecure}</value>
1184 <groupId>org.codehaus.mojo</groupId>
1185 <artifactId>versions-maven-plugin</artifactId>
1186 <version>2.5</version>
1188 <processAllModules>true</processAllModules>
1192 <artifactId>maven-scm-plugin</artifactId>
1193 <version>1.8.1</version>
1195 <tag>${project.artifactId}-${project.version}</tag>