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>single-feature-parent</artifactId>
10 <version>1.0.4-SNAPSHOT</version>
13 <groupId>org.opendaylight.odlparent</groupId>
14 <artifactId>single-feature-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.4</ccsdk.sli.core.version>
94 <ccsdk.sli.adaptors.version>0.2.4</ccsdk.sli.adaptors.version>
95 <ccsdk.sli.northbound.version>0.2.4</ccsdk.sli.northbound.version>
96 <ccsdk.sli.plugins.version>0.2.4</ccsdk.sli.plugins.version>
97 <ccsdk.distribution.version>0.2.4</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>
105 <!-- Support libraries used by OpenDaylight -->
106 <odl.mdsal.version>1.6.1</odl.mdsal.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.6</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.6.2</eclipse.persistence.version>
118 <felix.dependencymanager.version>4.3.0</felix.dependencymanager.version>
119 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
120 <gson.version>2.7</gson.version>
121 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
122 <guava.version>22.0</guava.version>
123 <!-- Used by lispflowmapping, sxp, vtn/manager -->
124 <hamcrest.version>1.3</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
133 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity,
134 defense4all, snmp4sdn, toolkit -->
135 <jersey.version>1.17</jersey.version>
137 <jersey.client.version>1.17</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.7</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,
154 <logback.version>1.2.2</logback.version>
155 <!-- Used by nic, sfc, sxp, tsdr -->
156 <mockito.version>1.10.19</mockito.version>
157 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
158 <netty.version>4.1.8.Final</netty.version>
159 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also
160 affinity, toolkit -->
161 <slf4j.version>1.7.21</slf4j.version>
162 <!-- Used in integration/distribution; see also affinity, snmp4sdn,
163 toolkit, tsdr, ttp -->
164 <spring.version>3.2.17.RELEASE</spring.version>
168 <!-- Extra support libraries used by SDN-C -->
169 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
170 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
171 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
172 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
173 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
174 <antlr.version>4.7</antlr.version>
175 <mysql.connector.version>5.1.39</mysql.connector.version>
176 <mariadb.connector.version>2.1.1</mariadb.connector.version>
177 <h2database.version>1.4.186</h2database.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>
185 <!-- Disable SingleFeatureTest, since it will fail if any dependencies are released ONAP artifacts -->
186 <skip.karaf.featureTest>true</skip.karaf.featureTest>
191 <!-- Profiles from ONAP oparent -->
193 <id>generate-json</id>
196 <exists>${swagger-properties}</exists>
199 <name>swagger-sdk.generate-json</name>
205 <groupId>org.codehaus.mojo</groupId>
206 <artifactId>properties-maven-plugin</artifactId>
207 <version>1.0.0</version>
210 <phase>initialize</phase>
212 <goal>read-project-properties</goal>
216 <file>${basedir}/src/main/resources/swagger.properties</file>
223 <groupId>com.github.kongchen</groupId>
224 <artifactId>swagger-maven-plugin</artifactId>
225 <version>3.1.4</version>
229 <locations>${api-rest-package}</locations>
230 <schemes>http,https</schemes>
231 <host>${api-host-ip}:${api-host-port}</host>
232 <basePath>${api-base-path}</basePath>
234 <title>${api-title}</title>
235 <version>${api-version}</version>
236 <description>${api-description}</description>
238 <name>${api-license}</name>
241 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
247 <phase>compile</phase>
249 <goal>generate</goal>
255 <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-install-plugin</artifactId>
257 <version>2.3.1</version>
260 <id>install-file-id</id>
261 <phase>install</phase>
263 <goal>install-file</goal>
266 <file>${basedir}/src/main/resources/swagger.json</file>
267 <groupId>${project.groupId}</groupId>
268 <artifactId>${project.artifactId}-swagger-schema</artifactId>
269 <version>${project.version}</version>
270 <packaging>json</packaging>
279 <id>generate-sdk</id>
282 <exists>${swagger-json}</exists>
285 <name>swagger-sdk.generate-java-sdk</name>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-antrun-plugin</artifactId>
293 <version>1.8</version>
296 <phase>initialize</phase>
297 <id>ant-create-script</id>
299 <exportAntProperties>true</exportAntProperties>
303 resource="net/sf/antcontrib/antlib.xml"
304 classpathref="maven.plugin.classpath" />
305 <condition property="is_windows"
307 <os family="windows" />
309 <condition property="isLinux"
314 <equals arg1="${is_windows}"
318 name="swagger.sdk.script.file"
319 value="generated-source-script.bat" />
321 file="${project.build.directory}${file.separator}generated-source-script.bat"
323 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
325 file="${project.build.directory}${file.separator}generated-source-script.bat"
327 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
331 name="swagger.sdk.script.file"
332 value="generated-source-script.sh" />
334 file="${project.build.directory}${file.separator}generated-source-script.sh"
336 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
338 file="${project.build.directory}${file.separator}generated-source-script.sh"
340 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
342 file="${project.build.directory}${file.separator}generated-source-script.sh"
355 <groupId>ant-contrib</groupId>
356 <artifactId>ant-contrib</artifactId>
357 <version>1.0b3</version>
360 <artifactId>ant</artifactId>
361 <groupId>ant</groupId>
368 <groupId>io.swagger</groupId>
369 <artifactId>swagger-codegen-maven-plugin</artifactId>
370 <version>2.2.1</version>
374 <goal>generate</goal>
377 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
378 <output>${project.build.directory}/generated-sources</output>
379 <language>java</language>
381 <dateLibrary>joda</dateLibrary>
383 <library>jersey2</library>
384 <groupId>${project.groupId}</groupId>
385 <artifactId>${project.artifactId}-java-sdk</artifactId>
386 <artifactVersion>${project.version}</artifactVersion>
387 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
388 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
389 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
395 <artifactId>exec-maven-plugin</artifactId>
396 <groupId>org.codehaus.mojo</groupId>
397 <version>1.5.0</version>
400 <id>swagger-generate-sources</id>
401 <phase>generate-sources</phase>
406 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
412 <groupId>org.apache.maven.plugins</groupId>
413 <artifactId>maven-clean-plugin</artifactId>
414 <version>3.0.0</version>
417 <id>clean-generated-files</id>
418 <phase>generate-sources</phase>
425 <directory>${project.build.directory}/generated-sources</directory>
436 <groupId>org.onap.msb.swagger-sdk</groupId>
437 <artifactId>swagger-sdk</artifactId>
438 <version>1.0.0</version>
443 <!-- End of profiles from ONAP oparent -->
448 <dependencyManagement>
451 <groupId>org.opendaylight.mdsal.model</groupId>
452 <artifactId>mdsal-model-artifacts</artifactId>
453 <version>0.11.1</version>
455 <scope>import</scope>
458 <groupId>org.opendaylight.controller</groupId>
459 <artifactId>mdsal-artifacts</artifactId>
460 <version>1.6.1</version>
462 <scope>import</scope>
465 <groupId>org.onap.ccsdk.sli.core</groupId>
466 <artifactId>sli-common</artifactId>
467 <version>${ccsdk.sli.core.version}</version>
471 <groupId>org.onap.ccsdk.sli.core</groupId>
472 <artifactId>sli-provider</artifactId>
473 <version>${ccsdk.sli.core.version}</version>
476 <groupId>org.onap.ccsdk.sli.core</groupId>
477 <artifactId>ccsdk-sli</artifactId>
478 <version>${ccsdk.sli.core.version}</version>
480 <classifier>features</classifier>
483 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
484 <artifactId>aai-service-provider</artifactId>
485 <version>${sdnctl.aai.service.version}</version>
489 <groupId>org.onap.ccsdk.sli.core</groupId>
490 <artifactId>dblib-provider</artifactId>
491 <version>${sdnctl.dblib.version}</version>
495 <groupId>org.testng</groupId>
496 <artifactId>testng</artifactId>
497 <version>6.11</version>
500 <groupId>org.springframework</groupId>
501 <artifactId>spring-test</artifactId>
502 <version>${spring.version}</version>
505 <groupId>org.springframework</groupId>
506 <artifactId>spring-beans</artifactId>
507 <version>${spring.version}</version>
510 <groupId>org.springframework</groupId>
511 <artifactId>spring-context</artifactId>
512 <version>${spring.version}</version>
515 <groupId>com.att.eelf</groupId>
516 <artifactId>eelf-core</artifactId>
517 <version>${eelf.version}</version>
521 </dependencyManagement>
527 <artifactId>maven-javadoc-plugin</artifactId>
528 <version>2.10.4</version>
530 <failOnError>false</failOnError>
531 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
533 <groupId>org.umlgraph</groupId>
534 <artifactId>umlgraph</artifactId>
535 <version>5.6</version>
537 <additionalparam>-views</additionalparam>
538 <useStandardDocletOptions>true</useStandardDocletOptions>
539 <excludePackageNames>org.opendaylight.*</excludePackageNames>
540 <additionalDependencies>
541 <additionalDependency>
542 <groupId>org.slf4j</groupId>
543 <artifactId>slf4j-api</artifactId>
544 <version>${slf4j.version}</version>
545 </additionalDependency>
546 <additionalDependency>
547 <groupId>org.antlr</groupId>
548 <artifactId>antlr4</artifactId>
549 <version>${antlr.version}</version>
550 </additionalDependency>
551 <additionalDependency>
552 <groupId>org.antlr</groupId>
553 <artifactId>antlr4-runtime</artifactId>
554 <version>${antlr.version}</version>
555 </additionalDependency>
557 <additionalDependency>
558 <groupId>com.sun.jersey</groupId>
559 <artifactId>jersey-client</artifactId>
560 <version>${jersey.json.version}</version>
561 </additionalDependency>
562 <additionalDependency>
563 <groupId>com.sun.jersey</groupId>
564 <artifactId>jersey-core</artifactId>
565 <version>${jersey.json.version}</version>
566 </additionalDependency>
567 <additionalDependency>
568 <groupId>org.apache.httpcomponents</groupId>
569 <artifactId>httpcore-osgi</artifactId>
570 <version>${apache.httpcomponents.core.version}</version>
571 </additionalDependency>
572 <additionalDependency>
573 <groupId>org.apache.httpcomponents</groupId>
574 <artifactId>httpclient-osgi</artifactId>
575 <version>${apache.httpcomponents.client.version}</version>
576 </additionalDependency>
577 <additionalDependency>
578 <groupId>com.fasterxml.jackson.core</groupId>
579 <artifactId>jackson-databind</artifactId>
580 <version>${fasterxml.jackson.version}</version>
581 </additionalDependency>
582 <additionalDependency>
583 <groupId>com.fasterxml.jackson.core</groupId>
584 <artifactId>jackson-annotations</artifactId>
585 <version>${fasterxml.jackson.version}</version>
586 </additionalDependency>
587 <additionalDependency>
588 <groupId>com.fasterxml.jackson.core</groupId>
589 <artifactId>jackson-core</artifactId>
590 <version>${fasterxml.jackson.version}</version>
591 </additionalDependency>
592 <additionalDependency>
593 <groupId>commons-lang</groupId>
594 <artifactId>commons-lang</artifactId>
595 <version>${commons.lang.version}</version>
596 </additionalDependency>
597 </additionalDependencies>
602 <report>javadoc-no-fork</report>
603 <report>test-javadoc-no-fork</report>
609 <report>aggregate</report>
610 <report>test-aggregate</report>
616 <groupId>org.apache.maven.plugins</groupId>
617 <artifactId>maven-jxr-plugin</artifactId>
618 <version>2.3</version>
623 <report>aggregate</report>
624 <report>test-aggregate</report>
631 <artifactId>maven-surefire-plugin</artifactId>
632 <version>2.17</version>
635 <groupId>org.apache.maven.plugins</groupId>
636 <artifactId>maven-changelog-plugin</artifactId>
637 <version>2.3</version>
646 <report>changelog</report>
647 <report>file-activity</report>
653 <groupId>org.codehaus.mojo</groupId>
654 <artifactId>taglist-maven-plugin</artifactId>
655 <version>2.4</version>
664 <url>${onap.nexus.public-url}</url>
666 <enabled>true</enabled>
669 <enabled>true</enabled>
673 <id>onap-staging</id>
674 <url>${onap.nexus.staging-url}</url>
676 <enabled>true</enabled>
679 <enabled>true</enabled>
683 <id>onap-snapshot</id>
684 <url>${onap.nexus.snapshot-url}</url>
686 <enabled>false</enabled>
689 <enabled>true</enabled>
693 <id>opendaylight-mirror</id>
694 <name>opendaylight-mirror</name>
695 <url>${opendaylight.nexus.public-url}</url>
697 <enabled>true</enabled>
698 <updatePolicy>never</updatePolicy>
701 <enabled>false</enabled>
705 <id>opendaylight-snapshot</id>
706 <name>opendaylight-snapshot</name>
707 <url>${opendaylight.nexus.snapshot-url}</url>
709 <enabled>false</enabled>
712 <enabled>true</enabled>
715 <!-- Black Duck plugin dependencies -->
718 <name>JCenter Repository</name>
719 <url>http://jcenter.bintray.com</url>
724 <name>Restlet Repository</name>
725 <url>http://maven.restlet.com</url>
727 </pluginRepositories>
733 <url>https://nexus.onap.org/content/groups/public</url>
735 <enabled>true</enabled>
736 <updatePolicy>never</updatePolicy>
739 <enabled>true</enabled>
740 <updatePolicy>always</updatePolicy>
744 <id>onap-staging</id>
745 <url>https://nexus.onap.org/content/groups/staging</url>
747 <enabled>true</enabled>
748 <updatePolicy>never</updatePolicy>
751 <enabled>true</enabled>
752 <updatePolicy>always</updatePolicy>
756 <id>ecomp-release</id>
757 <name>onap-repository-releases</name>
758 <url>https://nexus.onap.org/content/repositories/releases</url>
760 <enabled>true</enabled>
761 <updatePolicy>never</updatePolicy>
764 <enabled>false</enabled>
768 <id>ecomp-snapshot</id>
769 <name>onap-repository-snapshots</name>
770 <url>https://nexus.onap.org/content/repositories/snapshots</url>
772 <enabled>false</enabled>
775 <enabled>true</enabled>
779 <id>opendaylight-mirror</id>
780 <name>opendaylight-mirror</name>
781 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
783 <enabled>true</enabled>
784 <updatePolicy>never</updatePolicy>
787 <enabled>false</enabled>
791 <id>opendaylight-snapshot</id>
792 <name>opendaylight-snapshot</name>
793 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
795 <enabled>false</enabled>
798 <enabled>true</enabled>
804 <distributionManagement>
806 <id>ecomp-releases</id>
807 <url>http://nexus.onap.org/content/repositories/releases</url>
810 <id>ecomp-snapshots</id>
811 <url>http://nexus.onap.org/content/repositories/snapshots</url>
812 </snapshotRepository>
813 </distributionManagement>
819 <!-- Plugins from ONAP oparent -->
821 <groupId>org.apache.maven.plugins</groupId>
822 <artifactId>maven-deploy-plugin</artifactId>
823 <!-- This version supports the "deployAtEnd" parameter -->
824 <version>2.8</version>
831 <groupId>org.apache.maven.plugins</groupId>
832 <artifactId>maven-site-plugin</artifactId>
833 <version>3.6</version>
836 <groupId>org.apache.maven.wagon</groupId>
837 <artifactId>wagon-webdav-jackrabbit</artifactId>
838 <version>2.10</version>
841 <groupId>org.apache.maven.doxia</groupId>
842 <artifactId>doxia-core</artifactId>
843 <version>1.7</version>
846 <groupId>org.apache.maven.doxia</groupId>
847 <artifactId>doxia-sink-api</artifactId>
848 <version>1.7</version>
851 <groupId>org.apache.maven.doxia</groupId>
852 <artifactId>doxia-logging-api</artifactId>
853 <version>1.7</version>
858 <id>attach-descriptor</id>
860 <goal>attach-descriptor</goal>
866 <artifactId>maven-checkstyle-plugin</artifactId>
867 <version>2.17</version>
870 <groupId>org.onap.oparent</groupId>
871 <artifactId>checkstyle</artifactId>
872 <version>1.1.1</version>
877 <id>check-license</id>
881 <phase>process-sources</phase>
883 <configLocation>onap-checkstyle/check-license.xml</configLocation>
884 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
885 <includeResources>false</includeResources>
886 <includeTestSourceDirectory>true</includeTestSourceDirectory>
887 <includeTestResources>false</includeTestResources>
888 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
891 <failsOnError>false</failsOnError>
892 <consoleOutput>true</consoleOutput>
900 <phase>process-sources</phase>
902 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
903 with minor changes -->
904 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
905 <!-- <sourceDirectory> is needed so that
906 checkstyle ignores the generated sources directory -->
907 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
908 <includeResources>true</includeResources>
909 <includeTestSourceDirectory>true</includeTestSourceDirectory>
910 <includeTestResources>true</includeTestResources>
913 <failsOnError>false</failsOnError>
914 <consoleOutput>true</consoleOutput>
920 <groupId>org.jacoco</groupId>
921 <artifactId>jacoco-maven-plugin</artifactId>
922 <version>${jacoco.version}</version>
924 <!-- Note: This exclusion list should match <sonar.exclusions>
927 <exclude>**/gen/**</exclude>
928 <exclude>**/generated-sources/**</exclude>
929 <exclude>**/yang-gen/**</exclude>
930 <exclude>**/pax/**</exclude>
934 <!-- Prepares the property pointing to the JaCoCo
935 runtime agent which is passed as VM argument when Maven the Surefire plugin
938 <id>pre-unit-test</id>
940 <goal>prepare-agent</goal>
943 <!-- Sets the path to the file which contains
944 the execution data. -->
945 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
946 <!-- Sets the name of the property containing
947 the settings for JaCoCo runtime agent. -->
948 <propertyName>surefireArgLine</propertyName>
951 <!-- Ensures that the code coverage report for unit
952 tests is created after unit tests have been run. -->
954 <id>post-unit-test</id>
960 <!-- Sets the path to the file which contains
961 the execution data. -->
962 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
963 <!-- Sets the output directory for the code
965 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
969 <id>pre-integration-test</id>
970 <phase>pre-integration-test</phase>
972 <goal>prepare-agent</goal>
975 <!-- Sets the path to the file which contains
976 the execution data. -->
977 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
978 <!-- Sets the name of the property containing
979 the settings for JaCoCo runtime agent. -->
980 <propertyName>failsafeArgLine</propertyName>
983 <!-- Ensures that the code coverage report for integration
984 tests after integration tests have been run. -->
986 <id>post-integration-test</id>
987 <phase>post-integration-test</phase>
992 <!-- Sets the path to the file which contains
993 the execution data. -->
994 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
995 <!-- Sets the output directory for the code
997 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
1003 <groupId>org.apache.maven.plugins</groupId>
1004 <artifactId>maven-surefire-plugin</artifactId>
1005 <version>2.19.1</version>
1007 <!-- Sets the VM argument line used when unit tests
1009 <argLine>${surefireArgLine}</argLine>
1010 <!-- Excludes integration tests when unit tests are
1013 <exclude>**/IT*.java</exclude>
1018 <groupId>org.apache.maven.plugins</groupId>
1019 <artifactId>maven-failsafe-plugin</artifactId>
1020 <version>2.19.1</version>
1022 <!-- Ensures that both integration-test and verify
1023 goals of the Failsafe Maven plugin are executed. -->
1025 <id>integration-tests</id>
1027 <goal>integration-test</goal>
1031 <!-- Sets the VM argument line used when
1032 integration tests are run. -->
1033 <argLine>${failsafeArgLine}</argLine>
1039 <groupId>org.apache.maven.plugins</groupId>
1040 <artifactId>maven-compiler-plugin</artifactId>
1041 <version>${maven.compile.plugin.version}</version>
1043 <source>${java.version.source}</source>
1044 <target>${java.version.target}</target>
1048 <groupId>org.sonarsource.scanner.maven</groupId>
1049 <artifactId>sonar-maven-plugin</artifactId>
1050 <version>3.3.0.603</version>
1053 <!-- End of plugins from ONAP oparent -->
1056 <groupId>org.apache.maven.plugins</groupId>
1057 <artifactId>maven-javadoc-plugin</artifactId>
1058 <version>2.10</version>
1060 <additionalDependencies>
1061 <additionalDependency>
1062 <groupId>org.slf4j</groupId>
1063 <artifactId>slf4j-api</artifactId>
1064 <version>${slf4j.version}</version>
1065 </additionalDependency>
1066 <additionalDependency>
1067 <groupId>org.antlr</groupId>
1068 <artifactId>antlr4</artifactId>
1069 <version>${antlr.version}</version>
1070 </additionalDependency>
1071 <additionalDependency>
1072 <groupId>org.antlr</groupId>
1073 <artifactId>antlr4-runtime</artifactId>
1074 <version>${antlr.version}</version>
1075 </additionalDependency>
1077 <additionalDependency>
1078 <groupId>com.sun.jersey</groupId>
1079 <artifactId>jersey-client</artifactId>
1080 <version>${jersey.client.version}</version>
1081 </additionalDependency>
1082 <additionalDependency>
1083 <groupId>com.sun.jersey</groupId>
1084 <artifactId>jersey-core</artifactId>
1085 <version>${jersey.version}</version>
1086 </additionalDependency>
1087 <additionalDependency>
1088 <groupId>org.apache.httpcomponents</groupId>
1089 <artifactId>httpcore-osgi</artifactId>
1090 <version>${apache.httpcomponents.core.version}</version>
1091 </additionalDependency>
1092 <additionalDependency>
1093 <groupId>org.apache.httpcomponents</groupId>
1094 <artifactId>httpclient-osgi</artifactId>
1095 <version>${apache.httpcomponents.client.version}</version>
1096 </additionalDependency>
1097 <additionalDependency>
1098 <groupId>com.fasterxml.jackson.core</groupId>
1099 <artifactId>jackson-databind</artifactId>
1100 <version>${jackson.version}</version>
1101 </additionalDependency>
1102 <additionalDependency>
1103 <groupId>com.fasterxml.jackson.core</groupId>
1104 <artifactId>jackson-annotations</artifactId>
1105 <version>${jackson.version}</version>
1106 </additionalDependency>
1107 <additionalDependency>
1108 <groupId>com.fasterxml.jackson.core</groupId>
1109 <artifactId>jackson-core</artifactId>
1110 <version>${jackson.version}</version>
1111 </additionalDependency>
1112 <additionalDependency>
1113 <groupId>commons-lang</groupId>
1114 <artifactId>commons-lang</artifactId>
1115 <version>${commons.lang.version}</version>
1116 </additionalDependency>
1117 </additionalDependencies>
1124 <goal>aggregate</goal>
1132 <artifactId>maven-source-plugin</artifactId>
1133 <version>2.1.1</version>
1136 <id>bundle-sources</id>
1137 <phase>package</phase>
1139 <!-- produce source artifact for main project
1141 <goal>jar-no-fork</goal>
1143 <!-- produce source artifact for project
1145 <goal>test-jar-no-fork</goal>
1157 <!-- Plugins from ONAP oparent -->
1159 <artifactId>maven-checkstyle-plugin</artifactId>
1162 <groupId>org.codehaus.mojo</groupId>
1163 <artifactId>build-helper-maven-plugin</artifactId>
1164 <version>1.12</version>
1166 <!-- Jacoco / Sonar -->
1168 <groupId>org.jacoco</groupId>
1169 <artifactId>jacoco-maven-plugin</artifactId>
1172 <groupId>org.apache.maven.plugins</groupId>
1173 <artifactId>maven-surefire-plugin</artifactId>
1176 <groupId>org.apache.maven.plugins</groupId>
1177 <artifactId>maven-failsafe-plugin</artifactId>
1180 <!-- End of plugins from ONAP oparent -->
1182 <groupId>org.codehaus.mojo</groupId>
1183 <artifactId>properties-maven-plugin</artifactId>
1184 <version>1.0.0</version>
1188 <goal>set-system-properties</goal>
1193 <name>maven.wagon.http.ssl.allowall</name>
1194 <value>${ssl.allowall}</value>
1197 <name>maven.wagon.http.ssl.insecure</name>
1198 <value>${ssl.insecure}</value>
1206 <groupId>org.sonatype.plugins</groupId>
1207 <artifactId>nexus-staging-maven-plugin</artifactId>
1208 <version>1.6.7</version>
1209 <extensions>true</extensions>
1211 <nexusUrl>${onap.nexus.url}</nexusUrl>
1212 <stagingProfileId>176c31dfe190a</stagingProfileId>
1213 <serverId>ecomp-staging</serverId>
1217 <groupId>org.codehaus.mojo</groupId>
1218 <artifactId>versions-maven-plugin</artifactId>
1219 <version>2.5</version>
1221 <processAllModules>true</processAllModules>
1225 <artifactId>maven-scm-plugin</artifactId>
1226 <version>1.8.1</version>
1228 <tag>${project.artifactId}-${project.version}</tag>