1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
7 <modelVersion>4.0.0</modelVersion>
8 <packaging>pom</packaging>
9 <groupId>org.onap.ccsdk.parent</groupId>
10 <artifactId>single-feature-parent</artifactId>
11 <version>1.1.0-SNAPSHOT</version>
14 <groupId>org.opendaylight.odlparent</groupId>
15 <artifactId>single-feature-parent</artifactId>
16 <version>3.1.3</version>
21 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
22 <url>http://wiki.onap.org</url>
23 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
28 <url>https://jira.onap.org/</url>
33 <!-- properties from oparent -->
34 <maven.compiler.source>1.8</maven.compiler.source>
35 <maven.compiler.target>1.8</maven.compiler.target>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
38 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
39 <!-- sitePath may be overridden in the inheriting POM if desired -->
40 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
41 <jacoco.version>0.7.7.201606060606</jacoco.version>
42 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
43 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
44 <!-- Default Sonar configuration -->
45 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
46 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
48 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
49 <!-- If following file exist, auto-generation of swagger.json will be done -->
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.3.0-SNAPSHOT</ccsdk.sli.core.version>
94 <ccsdk.sli.adaptors.version>0.3.0-SNAPSHOT</ccsdk.sli.adaptors.version>
95 <ccsdk.sli.northbound.version>0.3.0-SNAPSHOT</ccsdk.sli.northbound.version>
96 <ccsdk.sli.plugins.version>0.3.0-SNAPSHOT</ccsdk.sli.plugins.version>
97 <ccsdk.distribution.version>0.3.0-SNAPSHOT</ccsdk.distribution.version>
98 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
99 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
100 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
101 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
102 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
106 <!-- Support libraries used by OpenDaylight -->
107 <odl.mdsal.version>1.7.3</odl.mdsal.version>
108 <odl.mdsal.model.version>0.12.3</odl.mdsal.model.version>
109 <!-- Used by aaa, vtn -->
110 <commons.codec.version>1.10</commons.codec.version>
111 <!-- Used by netconf, ovsdb -->
112 <commons.lang3.version>3.7</commons.lang3.version>
113 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
114 <commons.lang.version>2.6</commons.lang.version>
115 <!-- Used by neutron; see also controller, vtn -->
116 <commons.net.version>3.6</commons.net.version>
117 <!-- Used by neutron -->
118 <eclipse.persistence.version>2.7.1</eclipse.persistence.version>
120 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
121 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
122 <gson.version>2.8.2</gson.version>
123 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
124 <guava.version>23.6</guava.version>
125 <!-- Used by lispflowmapping, sxp, vtn/manager -->
126 <hamcrest.version>1.3.1</hamcrest.version>
127 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
128 integration/distribution, snmp4sdn, toolkit, ttp -->
129 <jackson.version>2.3.2</jackson.version>
130 <!-- Used by snmp4sdn, yangtools -->
131 <javassist.version>3.20.0-GA</javassist.version>
133 <!-- FIXME remove all dependencies for jersey 1.17 after migration all
135 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
136 snmp4sdn, toolkit -->
137 <jersey.version>1.19.4</jersey.version>
139 <jersey.client.version>1.19.4</jersey.client.version>
141 <!-- New packages for jersey migration 1.17 to 2.8 -->
142 <!-- appache.geronimo.bundle for DocGen -->
143 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
144 <org.json.version>20131018</org.json.version>
147 <jettison.version>1.3.8</jettison.version>
148 <!-- Used by persistence -->
149 <jsr305.api.version>3.0.0</jsr305.api.version>
150 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
151 is fixed (either in PowerMock or with a new JUnit release) -->
152 <!-- Used everywhere -->
153 <junit.version>4.11</junit.version>
154 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
155 <logback.version>1.2.3</logback.version>
156 <!-- Used by nic, sfc, sxp, tsdr -->
157 <mockito.version>1.10.19</mockito.version>
158 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
159 <netty.version>4.1.22.Final</netty.version>
160 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
162 <slf4j.version>1.7.25</slf4j.version>
163 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
165 <spring.version>3.2.17.RELEASE</spring.version>
169 <!-- Extra support libraries used by SDN-C -->
170 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
171 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
172 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
173 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
174 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
175 <antlr.version>4.7.1</antlr.version>
176 <mysql.connector.version>5.1.39</mysql.connector.version>
177 <mariadb.connector.version>2.1.1</mariadb.connector.version>
178 <h2database.version>1.4.196</h2database.version>
179 <derby.version>10.14.2.0</derby.version>
181 <eelf.version>1.0.0</eelf.version>
182 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
184 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
186 <!-- Late in release, need to disable SingleFeatureTest, since it will
187 fail if any dependencies are released ONAP artifacts <skip.karaf.featureTest>true</skip.karaf.featureTest> -->
192 <!-- Profiles from ONAP oparent -->
194 <id>generate-json</id>
197 <exists>${swagger-properties}</exists>
200 <name>swagger-sdk.generate-json</name>
206 <groupId>org.codehaus.mojo</groupId>
207 <artifactId>properties-maven-plugin</artifactId>
208 <version>1.0.0</version>
211 <phase>initialize</phase>
213 <goal>read-project-properties</goal>
217 <file>${basedir}/src/main/resources/swagger.properties</file>
224 <groupId>com.github.kongchen</groupId>
225 <artifactId>swagger-maven-plugin</artifactId>
226 <version>3.1.4</version>
230 <locations>${api-rest-package}</locations>
231 <schemes>http,https</schemes>
232 <host>${api-host-ip}:${api-host-port}</host>
233 <basePath>${api-base-path}</basePath>
235 <title>${api-title}</title>
236 <version>${api-version}</version>
237 <description>${api-description}</description>
239 <name>${api-license}</name>
242 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
248 <phase>compile</phase>
250 <goal>generate</goal>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-install-plugin</artifactId>
258 <version>2.3.1</version>
261 <id>install-file-id</id>
262 <phase>install</phase>
264 <goal>install-file</goal>
267 <file>${basedir}/src/main/resources/swagger.json</file>
268 <groupId>${project.groupId}</groupId>
269 <artifactId>${project.artifactId}-swagger-schema</artifactId>
270 <version>${project.version}</version>
271 <packaging>json</packaging>
280 <id>generate-sdk</id>
283 <exists>${swagger-json}</exists>
286 <name>swagger-sdk.generate-java-sdk</name>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-antrun-plugin</artifactId>
294 <version>1.8</version>
297 <phase>initialize</phase>
298 <id>ant-create-script</id>
300 <exportAntProperties>true</exportAntProperties>
303 <taskdef resource="net/sf/antcontrib/antlib.xml"
304 classpathref="maven.plugin.classpath" />
305 <condition property="is_windows" value="true">
306 <os family="windows" />
308 <condition property="isLinux" value="true">
312 <equals arg1="${is_windows}" arg2="true" />
314 <property name="swagger.sdk.script.file"
315 value="generated-source-script.bat" />
317 file="${project.build.directory}${file.separator}generated-source-script.bat"
319 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
321 file="${project.build.directory}${file.separator}generated-source-script.bat"
323 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
326 <property name="swagger.sdk.script.file"
327 value="generated-source-script.sh" />
329 file="${project.build.directory}${file.separator}generated-source-script.sh"
331 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
333 file="${project.build.directory}${file.separator}generated-source-script.sh"
335 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
337 file="${project.build.directory}${file.separator}generated-source-script.sh"
350 <groupId>ant-contrib</groupId>
351 <artifactId>ant-contrib</artifactId>
352 <version>1.0b3</version>
355 <artifactId>ant</artifactId>
356 <groupId>ant</groupId>
363 <groupId>io.swagger</groupId>
364 <artifactId>swagger-codegen-maven-plugin</artifactId>
365 <version>2.2.1</version>
369 <goal>generate</goal>
372 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
373 <output>${project.build.directory}/generated-sources</output>
374 <language>java</language>
376 <dateLibrary>joda</dateLibrary>
378 <library>jersey2</library>
379 <groupId>${project.groupId}</groupId>
380 <artifactId>${project.artifactId}-java-sdk</artifactId>
381 <artifactVersion>${project.version}</artifactVersion>
382 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
383 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
384 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
390 <artifactId>exec-maven-plugin</artifactId>
391 <groupId>org.codehaus.mojo</groupId>
392 <version>1.5.0</version>
395 <id>swagger-generate-sources</id>
396 <phase>generate-sources</phase>
401 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-clean-plugin</artifactId>
409 <version>3.0.0</version>
412 <id>clean-generated-files</id>
413 <phase>generate-sources</phase>
420 <directory>${project.build.directory}/generated-sources</directory>
431 <groupId>org.onap.msb.swagger-sdk</groupId>
432 <artifactId>swagger-sdk</artifactId>
433 <version>1.0.0</version>
438 <!-- End of profiles from ONAP oparent -->
443 <dependencyManagement>
446 <groupId>org.opendaylight.mdsal.model</groupId>
447 <artifactId>mdsal-model-artifacts</artifactId>
448 <version>${odl.mdsal.model.version}</version>
450 <scope>import</scope>
453 <groupId>org.opendaylight.controller</groupId>
454 <artifactId>mdsal-artifacts</artifactId>
455 <version>${odl.mdsal.version}</version>
457 <scope>import</scope>
460 <groupId>org.onap.ccsdk.sli.core</groupId>
461 <artifactId>sli-common</artifactId>
462 <version>${ccsdk.sli.core.version}</version>
466 <groupId>org.onap.ccsdk.sli.core</groupId>
467 <artifactId>sli-provider</artifactId>
468 <version>${ccsdk.sli.core.version}</version>
471 <groupId>org.onap.ccsdk.sli.core</groupId>
472 <artifactId>ccsdk-sli</artifactId>
473 <version>${ccsdk.sli.core.version}</version>
475 <classifier>features</classifier>
478 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
479 <artifactId>aai-service-provider</artifactId>
480 <version>${sdnctl.aai.service.version}</version>
484 <groupId>org.onap.ccsdk.sli.core</groupId>
485 <artifactId>dblib-provider</artifactId>
486 <version>${sdnctl.dblib.version}</version>
490 <groupId>org.testng</groupId>
491 <artifactId>testng</artifactId>
492 <version>6.11</version>
495 <groupId>org.springframework</groupId>
496 <artifactId>spring-test</artifactId>
497 <version>${spring.version}</version>
500 <groupId>org.springframework</groupId>
501 <artifactId>spring-beans</artifactId>
502 <version>${spring.version}</version>
505 <groupId>org.springframework</groupId>
506 <artifactId>spring-context</artifactId>
507 <version>${spring.version}</version>
510 <groupId>com.att.eelf</groupId>
511 <artifactId>eelf-core</artifactId>
512 <version>${eelf.version}</version>
515 <groupId>javax.ws.rs</groupId>
516 <artifactId>javax.ws.rs-api</artifactId>
517 <version>2.1</version>
520 <groupId>org.apache.derby</groupId>
521 <artifactId>derby</artifactId>
522 <version>${derby.version}</version>
527 </dependencyManagement>
533 <artifactId>maven-javadoc-plugin</artifactId>
534 <version>2.10.4</version>
536 <failOnError>false</failOnError>
537 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
539 <groupId>org.umlgraph</groupId>
540 <artifactId>umlgraph</artifactId>
541 <version>5.6</version>
543 <additionalparam>-views</additionalparam>
544 <useStandardDocletOptions>true</useStandardDocletOptions>
545 <excludePackageNames>org.opendaylight.*</excludePackageNames>
546 <additionalDependencies>
547 <additionalDependency>
548 <groupId>org.slf4j</groupId>
549 <artifactId>slf4j-api</artifactId>
550 <version>${slf4j.version}</version>
551 </additionalDependency>
552 <additionalDependency>
553 <groupId>org.antlr</groupId>
554 <artifactId>antlr4</artifactId>
555 <version>${antlr.version}</version>
556 </additionalDependency>
557 <additionalDependency>
558 <groupId>org.antlr</groupId>
559 <artifactId>antlr4-runtime</artifactId>
560 <version>${antlr.version}</version>
561 </additionalDependency>
563 <additionalDependency>
564 <groupId>com.sun.jersey</groupId>
565 <artifactId>jersey-client</artifactId>
566 <version>${jersey.json.version}</version>
567 </additionalDependency>
568 <additionalDependency>
569 <groupId>com.sun.jersey</groupId>
570 <artifactId>jersey-core</artifactId>
571 <version>${jersey.json.version}</version>
572 </additionalDependency>
573 <additionalDependency>
574 <groupId>org.apache.httpcomponents</groupId>
575 <artifactId>httpcore-osgi</artifactId>
576 <version>${apache.httpcomponents.core.version}</version>
577 </additionalDependency>
578 <additionalDependency>
579 <groupId>org.apache.httpcomponents</groupId>
580 <artifactId>httpclient-osgi</artifactId>
581 <version>${apache.httpcomponents.client.version}</version>
582 </additionalDependency>
583 <additionalDependency>
584 <groupId>com.fasterxml.jackson.core</groupId>
585 <artifactId>jackson-databind</artifactId>
586 <version>${fasterxml.jackson.version}</version>
587 </additionalDependency>
588 <additionalDependency>
589 <groupId>com.fasterxml.jackson.core</groupId>
590 <artifactId>jackson-annotations</artifactId>
591 <version>${fasterxml.jackson.version}</version>
592 </additionalDependency>
593 <additionalDependency>
594 <groupId>com.fasterxml.jackson.core</groupId>
595 <artifactId>jackson-core</artifactId>
596 <version>${fasterxml.jackson.version}</version>
597 </additionalDependency>
598 <additionalDependency>
599 <groupId>commons-lang</groupId>
600 <artifactId>commons-lang</artifactId>
601 <version>${commons.lang.version}</version>
602 </additionalDependency>
603 </additionalDependencies>
608 <report>javadoc-no-fork</report>
609 <report>test-javadoc-no-fork</report>
615 <report>aggregate</report>
616 <report>test-aggregate</report>
622 <groupId>org.apache.maven.plugins</groupId>
623 <artifactId>maven-jxr-plugin</artifactId>
624 <version>2.3</version>
629 <report>aggregate</report>
630 <report>test-aggregate</report>
637 <artifactId>maven-surefire-plugin</artifactId>
638 <version>2.17</version>
641 <groupId>org.apache.maven.plugins</groupId>
642 <artifactId>maven-changelog-plugin</artifactId>
643 <version>2.3</version>
652 <report>changelog</report>
653 <report>file-activity</report>
659 <groupId>org.codehaus.mojo</groupId>
660 <artifactId>taglist-maven-plugin</artifactId>
661 <version>2.4</version>
670 <url>${onap.nexus.public-url}</url>
672 <enabled>true</enabled>
675 <enabled>true</enabled>
679 <id>onap-staging</id>
680 <url>${onap.nexus.staging-url}</url>
682 <enabled>true</enabled>
685 <enabled>true</enabled>
689 <id>onap-snapshot</id>
690 <url>${onap.nexus.snapshot-url}</url>
692 <enabled>false</enabled>
695 <enabled>true</enabled>
699 <id>opendaylight-mirror</id>
700 <name>opendaylight-mirror</name>
701 <url>${opendaylight.nexus.public-url}</url>
703 <enabled>true</enabled>
704 <updatePolicy>never</updatePolicy>
707 <enabled>false</enabled>
711 <id>opendaylight-snapshot</id>
712 <name>opendaylight-snapshot</name>
713 <url>${opendaylight.nexus.snapshot-url}</url>
715 <enabled>false</enabled>
718 <enabled>true</enabled>
721 <!-- Black Duck plugin dependencies -->
724 <name>JCenter Repository</name>
725 <url>http://jcenter.bintray.com</url>
730 <name>Restlet Repository</name>
731 <url>http://maven.restlet.com</url>
733 </pluginRepositories>
739 <url>https://nexus.onap.org/content/groups/public</url>
741 <enabled>true</enabled>
742 <updatePolicy>never</updatePolicy>
745 <enabled>true</enabled>
746 <updatePolicy>always</updatePolicy>
750 <id>onap-staging</id>
751 <url>https://nexus.onap.org/content/groups/staging</url>
753 <enabled>true</enabled>
754 <updatePolicy>never</updatePolicy>
757 <enabled>true</enabled>
758 <updatePolicy>always</updatePolicy>
762 <id>ecomp-release</id>
763 <name>onap-repository-releases</name>
764 <url>https://nexus.onap.org/content/repositories/releases</url>
766 <enabled>true</enabled>
767 <updatePolicy>never</updatePolicy>
770 <enabled>false</enabled>
774 <id>ecomp-snapshot</id>
775 <name>onap-repository-snapshots</name>
776 <url>https://nexus.onap.org/content/repositories/snapshots</url>
778 <enabled>false</enabled>
781 <enabled>true</enabled>
785 <id>opendaylight-mirror</id>
786 <name>opendaylight-mirror</name>
787 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
789 <enabled>true</enabled>
790 <updatePolicy>never</updatePolicy>
793 <enabled>false</enabled>
797 <id>opendaylight-snapshot</id>
798 <name>opendaylight-snapshot</name>
799 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
801 <enabled>false</enabled>
804 <enabled>true</enabled>
810 <distributionManagement>
812 <id>ecomp-releases</id>
813 <url>http://nexus.onap.org/content/repositories/releases</url>
816 <id>ecomp-snapshots</id>
817 <url>http://nexus.onap.org/content/repositories/snapshots</url>
818 </snapshotRepository>
819 </distributionManagement>
825 <!-- Plugins from ONAP oparent -->
827 <groupId>org.apache.maven.plugins</groupId>
828 <artifactId>maven-deploy-plugin</artifactId>
829 <!-- This version supports the "deployAtEnd" parameter -->
830 <version>2.8</version>
837 <groupId>org.apache.maven.plugins</groupId>
838 <artifactId>maven-site-plugin</artifactId>
839 <version>3.6</version>
842 <groupId>org.apache.maven.wagon</groupId>
843 <artifactId>wagon-webdav-jackrabbit</artifactId>
844 <version>2.10</version>
847 <groupId>org.apache.maven.doxia</groupId>
848 <artifactId>doxia-core</artifactId>
849 <version>1.7</version>
852 <groupId>org.apache.maven.doxia</groupId>
853 <artifactId>doxia-sink-api</artifactId>
854 <version>1.7</version>
857 <groupId>org.apache.maven.doxia</groupId>
858 <artifactId>doxia-logging-api</artifactId>
859 <version>1.7</version>
864 <id>attach-descriptor</id>
866 <goal>attach-descriptor</goal>
872 <artifactId>maven-checkstyle-plugin</artifactId>
873 <version>2.17</version>
876 <groupId>org.onap.oparent</groupId>
877 <artifactId>checkstyle</artifactId>
878 <version>1.1.1</version>
883 <id>check-license</id>
887 <phase>process-sources</phase>
889 <configLocation>onap-checkstyle/check-license.xml</configLocation>
890 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
891 <includeResources>false</includeResources>
892 <includeTestSourceDirectory>true</includeTestSourceDirectory>
893 <includeTestResources>false</includeTestResources>
894 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
897 <failsOnError>false</failsOnError>
898 <consoleOutput>true</consoleOutput>
906 <phase>process-sources</phase>
908 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
909 with minor changes -->
910 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
911 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
912 sources directory -->
913 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
914 <includeResources>true</includeResources>
915 <includeTestSourceDirectory>true</includeTestSourceDirectory>
916 <includeTestResources>true</includeTestResources>
919 <failsOnError>false</failsOnError>
920 <consoleOutput>true</consoleOutput>
926 <groupId>org.jacoco</groupId>
927 <artifactId>jacoco-maven-plugin</artifactId>
928 <version>${jacoco.version}</version>
930 <!-- Note: This exclusion list should match <sonar.exclusions> property
933 <exclude>**/gen/**</exclude>
934 <exclude>**/generated-sources/**</exclude>
935 <exclude>**/yang-gen/**</exclude>
936 <exclude>**/pax/**</exclude>
940 <!-- Prepares the property pointing to the JaCoCo runtime agent which
941 is passed as VM argument when Maven the Surefire plugin is executed. -->
943 <id>pre-unit-test</id>
945 <goal>prepare-agent</goal>
948 <!-- Sets the path to the file which contains the execution data. -->
949 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
950 <!-- Sets the name of the property containing the settings for JaCoCo
952 <propertyName>surefireArgLine</propertyName>
955 <!-- Ensures that the code coverage report for unit tests is created
956 after unit tests have been run. -->
958 <id>post-unit-test</id>
964 <!-- Sets the path to the file which contains the execution data. -->
965 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
966 <!-- Sets the output directory for the code coverage report. -->
967 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
971 <id>pre-integration-test</id>
972 <phase>pre-integration-test</phase>
974 <goal>prepare-agent</goal>
977 <!-- Sets the path to the file which contains the execution data. -->
978 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
979 <!-- Sets the name of the property containing the settings for JaCoCo
981 <propertyName>failsafeArgLine</propertyName>
984 <!-- Ensures that the code coverage report for integration tests after
985 integration tests have been run. -->
987 <id>post-integration-test</id>
988 <phase>post-integration-test</phase>
993 <!-- Sets the path to the file which contains the execution data. -->
994 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
995 <!-- Sets the output directory for the code coverage report. -->
996 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
1002 <groupId>org.apache.maven.plugins</groupId>
1003 <artifactId>maven-surefire-plugin</artifactId>
1004 <version>2.19.1</version>
1006 <!-- Sets the VM argument line used when unit tests are run. -->
1007 <argLine>${surefireArgLine}</argLine>
1008 <!-- Excludes integration tests when unit tests are run. -->
1010 <exclude>**/IT*.java</exclude>
1015 <groupId>org.apache.maven.plugins</groupId>
1016 <artifactId>maven-failsafe-plugin</artifactId>
1017 <version>2.19.1</version>
1019 <!-- Ensures that both integration-test and verify goals of the Failsafe
1020 Maven plugin are executed. -->
1022 <id>integration-tests</id>
1024 <goal>integration-test</goal>
1028 <!-- Sets the VM argument line used when integration tests are run. -->
1029 <argLine>${failsafeArgLine}</argLine>
1035 <groupId>org.apache.maven.plugins</groupId>
1036 <artifactId>maven-compiler-plugin</artifactId>
1037 <version>${maven.compile.plugin.version}</version>
1039 <source>${java.version.source}</source>
1040 <target>${java.version.target}</target>
1044 <groupId>org.sonarsource.scanner.maven</groupId>
1045 <artifactId>sonar-maven-plugin</artifactId>
1046 <version>3.3.0.603</version>
1049 <!-- End of plugins from ONAP oparent -->
1052 <groupId>org.apache.maven.plugins</groupId>
1053 <artifactId>maven-javadoc-plugin</artifactId>
1054 <version>2.10</version>
1056 <additionalDependencies>
1057 <additionalDependency>
1058 <groupId>org.slf4j</groupId>
1059 <artifactId>slf4j-api</artifactId>
1060 <version>${slf4j.version}</version>
1061 </additionalDependency>
1062 <additionalDependency>
1063 <groupId>org.antlr</groupId>
1064 <artifactId>antlr4</artifactId>
1065 <version>${antlr.version}</version>
1066 </additionalDependency>
1067 <additionalDependency>
1068 <groupId>org.antlr</groupId>
1069 <artifactId>antlr4-runtime</artifactId>
1070 <version>${antlr.version}</version>
1071 </additionalDependency>
1073 <additionalDependency>
1074 <groupId>com.sun.jersey</groupId>
1075 <artifactId>jersey-client</artifactId>
1076 <version>${jersey.client.version}</version>
1077 </additionalDependency>
1078 <additionalDependency>
1079 <groupId>com.sun.jersey</groupId>
1080 <artifactId>jersey-core</artifactId>
1081 <version>${jersey.version}</version>
1082 </additionalDependency>
1083 <additionalDependency>
1084 <groupId>org.apache.httpcomponents</groupId>
1085 <artifactId>httpcore-osgi</artifactId>
1086 <version>${apache.httpcomponents.core.version}</version>
1087 </additionalDependency>
1088 <additionalDependency>
1089 <groupId>org.apache.httpcomponents</groupId>
1090 <artifactId>httpclient-osgi</artifactId>
1091 <version>${apache.httpcomponents.client.version}</version>
1092 </additionalDependency>
1093 <additionalDependency>
1094 <groupId>com.fasterxml.jackson.core</groupId>
1095 <artifactId>jackson-databind</artifactId>
1096 <version>${jackson.version}</version>
1097 </additionalDependency>
1098 <additionalDependency>
1099 <groupId>com.fasterxml.jackson.core</groupId>
1100 <artifactId>jackson-annotations</artifactId>
1101 <version>${jackson.version}</version>
1102 </additionalDependency>
1103 <additionalDependency>
1104 <groupId>com.fasterxml.jackson.core</groupId>
1105 <artifactId>jackson-core</artifactId>
1106 <version>${jackson.version}</version>
1107 </additionalDependency>
1108 <additionalDependency>
1109 <groupId>commons-lang</groupId>
1110 <artifactId>commons-lang</artifactId>
1111 <version>${commons.lang.version}</version>
1112 </additionalDependency>
1113 </additionalDependencies>
1120 <goal>aggregate</goal>
1133 <!-- Plugins from ONAP oparent -->
1135 <artifactId>maven-checkstyle-plugin</artifactId>
1138 <groupId>org.codehaus.mojo</groupId>
1139 <artifactId>build-helper-maven-plugin</artifactId>
1140 <version>1.12</version>
1142 <!-- Jacoco / Sonar -->
1144 <groupId>org.jacoco</groupId>
1145 <artifactId>jacoco-maven-plugin</artifactId>
1148 <groupId>org.apache.maven.plugins</groupId>
1149 <artifactId>maven-surefire-plugin</artifactId>
1152 <groupId>org.apache.maven.plugins</groupId>
1153 <artifactId>maven-failsafe-plugin</artifactId>
1156 <!-- End of plugins from ONAP oparent -->
1158 <groupId>org.codehaus.mojo</groupId>
1159 <artifactId>properties-maven-plugin</artifactId>
1160 <version>1.0.0</version>
1164 <goal>set-system-properties</goal>
1169 <name>maven.wagon.http.ssl.allowall</name>
1170 <value>${ssl.allowall}</value>
1173 <name>maven.wagon.http.ssl.insecure</name>
1174 <value>${ssl.insecure}</value>
1182 <groupId>org.sonatype.plugins</groupId>
1183 <artifactId>nexus-staging-maven-plugin</artifactId>
1184 <version>1.6.7</version>
1185 <extensions>true</extensions>
1187 <nexusUrl>${onap.nexus.url}</nexusUrl>
1188 <stagingProfileId>176c31dfe190a</stagingProfileId>
1189 <serverId>ecomp-staging</serverId>
1193 <groupId>org.codehaus.mojo</groupId>
1194 <artifactId>versions-maven-plugin</artifactId>
1195 <version>2.5</version>
1197 <processAllModules>true</processAllModules>
1201 <artifactId>maven-scm-plugin</artifactId>
1202 <version>1.8.1</version>
1204 <tag>${project.artifactId}-${project.version}</tag>