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>odlparent-lite</artifactId>
9 <version>1.1.2-SNAPSHOT</version>
12 <groupId>org.opendaylight.odlparent</groupId>
13 <artifactId>odlparent-lite</artifactId>
14 <version>3.1.3</version>
19 <url>http://wiki.onap.org</url>
20 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
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.2-SNAPSHOT</ccsdk.sli.core.version>
92 <ccsdk.sli.adaptors.version>0.3.2-SNAPSHOT</ccsdk.sli.adaptors.version>
93 <ccsdk.sli.northbound.version>0.3.2-SNAPSHOT</ccsdk.sli.northbound.version>
94 <ccsdk.sli.plugins.version>0.3.2-SNAPSHOT</ccsdk.sli.plugins.version>
95 <ccsdk.distribution.version>0.3.2-SNAPSHOT</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 <dmaapClient.groupId>org.onap.dmaap.messagerouter.dmaapclient</dmaapClient.groupId>
185 <dmaapClient.version>1.1.5</dmaapClient.version>
187 <glassfish.version>2.27</glassfish.version>
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" classpathref="maven.plugin.classpath"/>
304 <condition property="is_windows" value="true">
305 <os family="windows"/>
307 <condition property="isLinux" value="true">
311 <equals arg1="${is_windows}" arg2="true"/>
313 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
314 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
315 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
318 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
319 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
320 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
321 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
333 <groupId>ant-contrib</groupId>
334 <artifactId>ant-contrib</artifactId>
335 <version>1.0b3</version>
338 <artifactId>ant</artifactId>
339 <groupId>ant</groupId>
346 <groupId>io.swagger</groupId>
347 <artifactId>swagger-codegen-maven-plugin</artifactId>
348 <version>2.2.1</version>
352 <goal>generate</goal>
355 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
356 <output>${project.build.directory}/generated-sources</output>
357 <language>java</language>
359 <dateLibrary>joda</dateLibrary>
361 <library>jersey2</library>
362 <groupId>${project.groupId}</groupId>
363 <artifactId>${project.artifactId}-java-sdk</artifactId>
364 <artifactVersion>${project.version}</artifactVersion>
365 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
366 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
367 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
373 <artifactId>exec-maven-plugin</artifactId>
374 <groupId>org.codehaus.mojo</groupId>
375 <version>1.5.0</version>
378 <id>swagger-generate-sources</id>
379 <phase>generate-sources</phase>
384 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
390 <groupId>org.apache.maven.plugins</groupId>
391 <artifactId>maven-clean-plugin</artifactId>
392 <version>3.0.0</version>
395 <id>clean-generated-files</id>
396 <phase>generate-sources</phase>
403 <directory>${project.build.directory}/generated-sources</directory>
414 <groupId>org.onap.msb.swagger-sdk</groupId>
415 <artifactId>swagger-sdk</artifactId>
416 <version>1.0.0</version>
421 <!-- End of profiles from ONAP oparent -->
426 <dependencyManagement>
429 <groupId>org.opendaylight.controller</groupId>
430 <artifactId>mdsal-artifacts</artifactId>
431 <version>${odl.mdsal.version}</version>
433 <scope>import</scope>
436 <groupId>org.opendaylight.mdsal.model</groupId>
437 <artifactId>mdsal-model-artifacts</artifactId>
438 <version>${odl.mdsal.model.version}</version>
440 <scope>import</scope>
443 <groupId>org.onap.ccsdk.sli.core</groupId>
444 <artifactId>sli-common</artifactId>
445 <version>${ccsdk.sli.core.version}</version>
449 <groupId>org.onap.ccsdk.sli.core</groupId>
450 <artifactId>sli-provider</artifactId>
451 <version>${ccsdk.sli.core.version}</version>
454 <groupId>org.onap.ccsdk.sli.core</groupId>
455 <artifactId>ccsdk-sli</artifactId>
456 <version>${ccsdk.sli.core.version}</version>
458 <classifier>features</classifier>
461 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
462 <artifactId>aai-service-provider</artifactId>
463 <version>${sdnctl.aai.service.version}</version>
467 <groupId>org.onap.ccsdk.sli.core</groupId>
468 <artifactId>dblib-provider</artifactId>
469 <version>${sdnctl.dblib.version}</version>
473 <groupId>org.testng</groupId>
474 <artifactId>testng</artifactId>
475 <version>6.11</version>
478 <groupId>org.springframework</groupId>
479 <artifactId>spring-test</artifactId>
480 <version>${spring.version}</version>
483 <groupId>org.springframework</groupId>
484 <artifactId>spring-beans</artifactId>
485 <version>${spring.version}</version>
488 <groupId>org.springframework</groupId>
489 <artifactId>spring-context</artifactId>
490 <version>${spring.version}</version>
493 <groupId>com.att.eelf</groupId>
494 <artifactId>eelf-core</artifactId>
495 <version>${eelf.version}</version>
498 <groupId>org.apache.derby</groupId>
499 <artifactId>derby</artifactId>
500 <version>${derby.version}</version>
505 </dependencyManagement>
511 <artifactId>maven-javadoc-plugin</artifactId>
512 <version>2.10.4</version>
514 <failOnError>false</failOnError>
515 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
517 <groupId>org.umlgraph</groupId>
518 <artifactId>umlgraph</artifactId>
519 <version>5.6</version>
521 <additionalparam>-views</additionalparam>
522 <useStandardDocletOptions>true</useStandardDocletOptions>
523 <excludePackageNames>org.opendaylight.*</excludePackageNames>
524 <additionalDependencies>
525 <additionalDependency>
526 <groupId>org.slf4j</groupId>
527 <artifactId>slf4j-api</artifactId>
528 <version>${slf4j.version}</version>
529 </additionalDependency>
530 <additionalDependency>
531 <groupId>org.antlr</groupId>
532 <artifactId>antlr4</artifactId>
533 <version>${antlr.version}</version>
534 </additionalDependency>
535 <additionalDependency>
536 <groupId>org.antlr</groupId>
537 <artifactId>antlr4-runtime</artifactId>
538 <version>${antlr.version}</version>
539 </additionalDependency>
541 <additionalDependency>
542 <groupId>com.sun.jersey</groupId>
543 <artifactId>jersey-client</artifactId>
544 <version>${jersey.json.version}</version>
545 </additionalDependency>
546 <additionalDependency>
547 <groupId>com.sun.jersey</groupId>
548 <artifactId>jersey-core</artifactId>
549 <version>${jersey.json.version}</version>
550 </additionalDependency>
551 <additionalDependency>
552 <groupId>org.apache.httpcomponents</groupId>
553 <artifactId>httpcore-osgi</artifactId>
554 <version>${apache.httpcomponents.core.version}</version>
555 </additionalDependency>
556 <additionalDependency>
557 <groupId>org.apache.httpcomponents</groupId>
558 <artifactId>httpclient-osgi</artifactId>
559 <version>${apache.httpcomponents.client.version}</version>
560 </additionalDependency>
561 <additionalDependency>
562 <groupId>com.fasterxml.jackson.core</groupId>
563 <artifactId>jackson-databind</artifactId>
564 <version>${fasterxml.jackson.version}</version>
565 </additionalDependency>
566 <additionalDependency>
567 <groupId>com.fasterxml.jackson.core</groupId>
568 <artifactId>jackson-annotations</artifactId>
569 <version>${fasterxml.jackson.version}</version>
570 </additionalDependency>
571 <additionalDependency>
572 <groupId>com.fasterxml.jackson.core</groupId>
573 <artifactId>jackson-core</artifactId>
574 <version>${fasterxml.jackson.version}</version>
575 </additionalDependency>
576 <additionalDependency>
577 <groupId>commons-lang</groupId>
578 <artifactId>commons-lang</artifactId>
579 <version>${commons.lang.version}</version>
580 </additionalDependency>
581 </additionalDependencies>
586 <report>javadoc-no-fork</report>
587 <report>test-javadoc-no-fork</report>
593 <report>aggregate</report>
594 <report>test-aggregate</report>
600 <groupId>org.apache.maven.plugins</groupId>
601 <artifactId>maven-jxr-plugin</artifactId>
602 <version>2.3</version>
607 <report>aggregate</report>
608 <report>test-aggregate</report>
615 <artifactId>maven-surefire-plugin</artifactId>
616 <version>2.17</version>
619 <groupId>org.apache.maven.plugins</groupId>
620 <artifactId>maven-changelog-plugin</artifactId>
621 <version>2.3</version>
630 <report>changelog</report>
631 <report>file-activity</report>
637 <groupId>org.codehaus.mojo</groupId>
638 <artifactId>taglist-maven-plugin</artifactId>
639 <version>2.4</version>
648 <url>${onap.nexus.public-url}</url>
650 <enabled>true</enabled>
653 <enabled>true</enabled>
657 <id>onap-staging</id>
658 <url>${onap.nexus.staging-url}</url>
660 <enabled>true</enabled>
663 <enabled>true</enabled>
667 <id>onap-snapshot</id>
668 <url>${onap.nexus.snapshot-url}</url>
670 <enabled>false</enabled>
673 <enabled>true</enabled>
677 <id>opendaylight-mirror</id>
678 <name>opendaylight-mirror</name>
679 <url>${opendaylight.nexus.public-url}</url>
681 <enabled>true</enabled>
682 <updatePolicy>never</updatePolicy>
685 <enabled>false</enabled>
689 <id>opendaylight-snapshot</id>
690 <name>opendaylight-snapshot</name>
691 <url>${opendaylight.nexus.snapshot-url}</url>
693 <enabled>false</enabled>
696 <enabled>true</enabled>
699 <!-- Black Duck plugin dependencies -->
702 <name>JCenter Repository</name>
703 <url>http://jcenter.bintray.com</url>
708 <name>Restlet Repository</name>
709 <url>http://maven.restlet.com</url>
711 </pluginRepositories>
717 <url>https://nexus.onap.org/content/groups/public</url>
719 <enabled>true</enabled>
720 <updatePolicy>never</updatePolicy>
723 <enabled>true</enabled>
724 <updatePolicy>always</updatePolicy>
728 <id>onap-staging</id>
729 <url>https://nexus.onap.org/content/groups/staging</url>
731 <enabled>true</enabled>
732 <updatePolicy>never</updatePolicy>
735 <enabled>true</enabled>
736 <updatePolicy>always</updatePolicy>
740 <id>ecomp-release</id>
741 <name>onap-repository-releases</name>
742 <url>https://nexus.onap.org/content/repositories/releases</url>
744 <enabled>true</enabled>
745 <updatePolicy>never</updatePolicy>
748 <enabled>false</enabled>
752 <id>ecomp-snapshot</id>
753 <name>onap-repository-snapshots</name>
754 <url>https://nexus.onap.org/content/repositories/snapshots</url>
756 <enabled>false</enabled>
759 <enabled>true</enabled>
763 <id>opendaylight-mirror</id>
764 <name>opendaylight-mirror</name>
765 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
767 <enabled>true</enabled>
768 <updatePolicy>never</updatePolicy>
771 <enabled>false</enabled>
775 <id>opendaylight-snapshot</id>
776 <name>opendaylight-snapshot</name>
777 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
779 <enabled>false</enabled>
782 <enabled>true</enabled>
788 <distributionManagement>
790 <id>ecomp-releases</id>
791 <url>https://nexus.onap.org/content/repositories/releases</url>
794 <id>ecomp-snapshots</id>
795 <url>https://nexus.onap.org/content/repositories/snapshots</url>
796 </snapshotRepository>
797 </distributionManagement>
803 <!-- Plugins from ONAP oparent -->
805 <groupId>org.apache.maven.plugins</groupId>
806 <artifactId>maven-deploy-plugin</artifactId>
807 <!-- This version supports the "deployAtEnd" parameter -->
808 <version>2.8</version>
815 <groupId>org.apache.maven.plugins</groupId>
816 <artifactId>maven-site-plugin</artifactId>
817 <version>3.6</version>
820 <groupId>org.apache.maven.wagon</groupId>
821 <artifactId>wagon-webdav-jackrabbit</artifactId>
822 <version>2.10</version>
825 <groupId>org.apache.maven.doxia</groupId>
826 <artifactId>doxia-core</artifactId>
827 <version>1.7</version>
830 <groupId>org.apache.maven.doxia</groupId>
831 <artifactId>doxia-sink-api</artifactId>
832 <version>1.7</version>
835 <groupId>org.apache.maven.doxia</groupId>
836 <artifactId>doxia-logging-api</artifactId>
837 <version>1.7</version>
842 <id>attach-descriptor</id>
844 <goal>attach-descriptor</goal>
850 <artifactId>maven-checkstyle-plugin</artifactId>
851 <version>2.17</version>
854 <groupId>org.onap.oparent</groupId>
855 <artifactId>checkstyle</artifactId>
856 <version>1.1.1</version>
861 <id>check-license</id>
865 <phase>process-sources</phase>
867 <configLocation>onap-checkstyle/check-license.xml</configLocation>
868 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
869 <includeResources>false</includeResources>
870 <includeTestSourceDirectory>true</includeTestSourceDirectory>
871 <includeTestResources>false</includeTestResources>
872 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
875 <failsOnError>false</failsOnError>
876 <consoleOutput>true</consoleOutput>
884 <phase>process-sources</phase>
886 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
887 with minor changes -->
888 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
889 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
890 sources directory -->
891 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
892 <includeResources>true</includeResources>
893 <includeTestSourceDirectory>true</includeTestSourceDirectory>
894 <includeTestResources>true</includeTestResources>
897 <failsOnError>false</failsOnError>
898 <consoleOutput>true</consoleOutput>
904 <groupId>org.jacoco</groupId>
905 <artifactId>jacoco-maven-plugin</artifactId>
906 <version>${jacoco.version}</version>
908 <!-- Note: This exclusion list should match <sonar.exclusions> property
911 <exclude>**/gen/**</exclude>
912 <exclude>**/generated-sources/**</exclude>
913 <exclude>**/yang-gen/**</exclude>
914 <exclude>**/pax/**</exclude>
918 <!-- Prepares the property pointing to the JaCoCo runtime agent which
919 is passed as VM argument when Maven the Surefire plugin is executed. -->
921 <id>pre-unit-test</id>
923 <goal>prepare-agent</goal>
926 <!-- Sets the path to the file which contains the execution data. -->
927 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
928 <!-- Sets the name of the property containing the settings for JaCoCo
930 <propertyName>surefireArgLine</propertyName>
933 <!-- Ensures that the code coverage report for unit tests is created
934 after unit tests have been run. -->
936 <id>post-unit-test</id>
942 <!-- Sets the path to the file which contains the execution data. -->
943 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
944 <!-- Sets the output directory for the code coverage report. -->
945 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
949 <id>pre-integration-test</id>
950 <phase>pre-integration-test</phase>
952 <goal>prepare-agent</goal>
955 <!-- Sets the path to the file which contains the execution data. -->
956 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
957 <!-- Sets the name of the property containing the settings for JaCoCo
959 <propertyName>failsafeArgLine</propertyName>
962 <!-- Ensures that the code coverage report for integration tests after
963 integration tests have been run. -->
965 <id>post-integration-test</id>
966 <phase>post-integration-test</phase>
971 <!-- Sets the path to the file which contains the execution data. -->
972 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
973 <!-- Sets the output directory for the code coverage report. -->
974 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
980 <groupId>org.apache.maven.plugins</groupId>
981 <artifactId>maven-surefire-plugin</artifactId>
982 <version>2.19.1</version>
984 <!-- Sets the VM argument line used when unit tests are run. -->
985 <argLine>${surefireArgLine}</argLine>
986 <!-- Excludes integration tests when unit tests are run. -->
988 <exclude>**/IT*.java</exclude>
993 <groupId>org.apache.maven.plugins</groupId>
994 <artifactId>maven-failsafe-plugin</artifactId>
995 <version>2.19.1</version>
997 <!-- Ensures that both integration-test and verify goals of the Failsafe
998 Maven plugin are executed. -->
1000 <id>integration-tests</id>
1002 <goal>integration-test</goal>
1006 <!-- Sets the VM argument line used when integration tests are run. -->
1007 <argLine>${failsafeArgLine}</argLine>
1013 <groupId>org.apache.maven.plugins</groupId>
1014 <artifactId>maven-compiler-plugin</artifactId>
1015 <version>${maven.compile.plugin.version}</version>
1017 <source>${java.version.source}</source>
1018 <target>${java.version.target}</target>
1022 <groupId>org.sonarsource.scanner.maven</groupId>
1023 <artifactId>sonar-maven-plugin</artifactId>
1024 <version>3.3.0.603</version>
1027 <!-- End of plugins from ONAP oparent -->
1030 <groupId>org.apache.maven.plugins</groupId>
1031 <artifactId>maven-javadoc-plugin</artifactId>
1032 <version>2.10</version>
1034 <additionalDependencies>
1035 <additionalDependency>
1036 <groupId>org.slf4j</groupId>
1037 <artifactId>slf4j-api</artifactId>
1038 <version>${slf4j.version}</version>
1039 </additionalDependency>
1040 <additionalDependency>
1041 <groupId>org.antlr</groupId>
1042 <artifactId>antlr4</artifactId>
1043 <version>${antlr.version}</version>
1044 </additionalDependency>
1045 <additionalDependency>
1046 <groupId>org.antlr</groupId>
1047 <artifactId>antlr4-runtime</artifactId>
1048 <version>${antlr.version}</version>
1049 </additionalDependency>
1051 <additionalDependency>
1052 <groupId>com.sun.jersey</groupId>
1053 <artifactId>jersey-client</artifactId>
1054 <version>${jersey.client.version}</version>
1055 </additionalDependency>
1056 <additionalDependency>
1057 <groupId>com.sun.jersey</groupId>
1058 <artifactId>jersey-core</artifactId>
1059 <version>${jersey.version}</version>
1060 </additionalDependency>
1061 <additionalDependency>
1062 <groupId>org.apache.httpcomponents</groupId>
1063 <artifactId>httpcore-osgi</artifactId>
1064 <version>${apache.httpcomponents.core.version}</version>
1065 </additionalDependency>
1066 <additionalDependency>
1067 <groupId>org.apache.httpcomponents</groupId>
1068 <artifactId>httpclient-osgi</artifactId>
1069 <version>${apache.httpcomponents.client.version}</version>
1070 </additionalDependency>
1071 <additionalDependency>
1072 <groupId>com.fasterxml.jackson.core</groupId>
1073 <artifactId>jackson-databind</artifactId>
1074 <version>${jackson.version}</version>
1075 </additionalDependency>
1076 <additionalDependency>
1077 <groupId>com.fasterxml.jackson.core</groupId>
1078 <artifactId>jackson-annotations</artifactId>
1079 <version>${jackson.version}</version>
1080 </additionalDependency>
1081 <additionalDependency>
1082 <groupId>com.fasterxml.jackson.core</groupId>
1083 <artifactId>jackson-core</artifactId>
1084 <version>${jackson.version}</version>
1085 </additionalDependency>
1086 <additionalDependency>
1087 <groupId>commons-lang</groupId>
1088 <artifactId>commons-lang</artifactId>
1089 <version>${commons.lang.version}</version>
1090 </additionalDependency>
1091 </additionalDependencies>
1098 <goal>aggregate</goal>
1111 <!-- Plugins from ONAP oparent -->
1113 <artifactId>maven-checkstyle-plugin</artifactId>
1116 <groupId>org.codehaus.mojo</groupId>
1117 <artifactId>build-helper-maven-plugin</artifactId>
1118 <version>1.12</version>
1120 <!-- Jacoco / Sonar -->
1122 <groupId>org.jacoco</groupId>
1123 <artifactId>jacoco-maven-plugin</artifactId>
1126 <groupId>org.apache.maven.plugins</groupId>
1127 <artifactId>maven-surefire-plugin</artifactId>
1130 <groupId>org.apache.maven.plugins</groupId>
1131 <artifactId>maven-failsafe-plugin</artifactId>
1134 <!-- End of plugins from ONAP oparent -->
1136 <groupId>org.codehaus.mojo</groupId>
1137 <artifactId>properties-maven-plugin</artifactId>
1138 <version>1.0.0</version>
1142 <goal>set-system-properties</goal>
1147 <name>maven.wagon.http.ssl.allowall</name>
1148 <value>${ssl.allowall}</value>
1151 <name>maven.wagon.http.ssl.insecure</name>
1152 <value>${ssl.insecure}</value>
1160 <groupId>org.sonatype.plugins</groupId>
1161 <artifactId>nexus-staging-maven-plugin</artifactId>
1162 <version>1.6.7</version>
1163 <extensions>true</extensions>
1165 <nexusUrl>${onap.nexus.url}</nexusUrl>
1166 <stagingProfileId>176c31dfe190a</stagingProfileId>
1167 <serverId>ecomp-staging</serverId>
1171 <groupId>org.codehaus.mojo</groupId>
1172 <artifactId>versions-maven-plugin</artifactId>
1173 <version>2.5</version>
1175 <processAllModules>true</processAllModules>
1179 <artifactId>maven-scm-plugin</artifactId>
1180 <version>1.8.1</version>
1182 <tag>${project.artifactId}-${project.version}</tag>