1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6 <packaging>pom</packaging>
7 <groupId>org.onap.ccsdk.parent</groupId>
8 <artifactId>single-feature-parent</artifactId>
9 <version>1.1.0-SNAPSHOT</version>
12 <groupId>org.opendaylight.odlparent</groupId>
13 <artifactId>single-feature-parent</artifactId>
14 <version>3.1.3</version>
19 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
20 <url>http://wiki.onap.org</url>
21 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
26 <url>https://jira.onap.org/</url>
31 <!-- properties from oparent -->
32 <maven.compiler.source>1.8</maven.compiler.source>
33 <maven.compiler.target>1.8</maven.compiler.target>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
36 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
37 <!-- sitePath may be overridden in the inheriting POM if desired -->
38 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
39 <jacoco.version>0.7.7.201606060606</jacoco.version>
40 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
41 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
42 <!-- Default Sonar configuration -->
43 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
44 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
46 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47 <!-- If following file exist, auto-generation of swagger.json will be done -->
48 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
49 <!-- If following file exist, auto-generation of sdk will be done -->
50 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
51 <!-- end of properties from oparent -->
53 <!-- ONAP repositories -->
54 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
55 <onap.nexus.port>443</onap.nexus.port>
56 <onap.nexus.protocol>https</onap.nexus.protocol>
57 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
58 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
59 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
60 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
61 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
62 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
65 <!-- OpenDaylight repositories -->
66 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
67 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
70 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
71 <java.version.source>1.8</java.version.source>
72 <java.version.target>1.8</java.version.target>
73 <bundle.plugin.version>2.5.0</bundle.plugin.version>
74 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
75 <features.file>features.xml</features.file>
76 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
77 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
78 <checkstyle.skip>true</checkstyle.skip>
81 <sonar.language>java</sonar.language>
82 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
83 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
84 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
85 <sonar.projectVersion>${project.version}</sonar.projectVersion>
90 <!-- CCSDK component versions -->
91 <ccsdk.sli.core.version>0.3.0</ccsdk.sli.core.version>
92 <ccsdk.sli.adaptors.version>0.3.0</ccsdk.sli.adaptors.version>
93 <ccsdk.sli.northbound.version>0.3.0</ccsdk.sli.northbound.version>
94 <ccsdk.sli.plugins.version>0.3.0</ccsdk.sli.plugins.version>
95 <ccsdk.distribution.version>0.3.0</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 <!-- Late in release, need to disable SingleFeatureTest, since it will
185 fail if any dependencies are released ONAP artifacts <skip.karaf.featureTest>true</skip.karaf.featureTest> -->
190 <!-- Profiles from ONAP oparent -->
192 <id>generate-json</id>
195 <exists>${swagger-properties}</exists>
198 <name>swagger-sdk.generate-json</name>
204 <groupId>org.codehaus.mojo</groupId>
205 <artifactId>properties-maven-plugin</artifactId>
206 <version>1.0.0</version>
209 <phase>initialize</phase>
211 <goal>read-project-properties</goal>
215 <file>${basedir}/src/main/resources/swagger.properties</file>
222 <groupId>com.github.kongchen</groupId>
223 <artifactId>swagger-maven-plugin</artifactId>
224 <version>3.1.4</version>
228 <locations>${api-rest-package}</locations>
229 <schemes>http,https</schemes>
230 <host>${api-host-ip}:${api-host-port}</host>
231 <basePath>${api-base-path}</basePath>
233 <title>${api-title}</title>
234 <version>${api-version}</version>
235 <description>${api-description}</description>
237 <name>${api-license}</name>
240 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
246 <phase>compile</phase>
248 <goal>generate</goal>
254 <groupId>org.apache.maven.plugins</groupId>
255 <artifactId>maven-install-plugin</artifactId>
256 <version>2.3.1</version>
259 <id>install-file-id</id>
260 <phase>install</phase>
262 <goal>install-file</goal>
265 <file>${basedir}/src/main/resources/swagger.json</file>
266 <groupId>${project.groupId}</groupId>
267 <artifactId>${project.artifactId}-swagger-schema</artifactId>
268 <version>${project.version}</version>
269 <packaging>json</packaging>
278 <id>generate-sdk</id>
281 <exists>${swagger-json}</exists>
284 <name>swagger-sdk.generate-java-sdk</name>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-antrun-plugin</artifactId>
292 <version>1.8</version>
295 <phase>initialize</phase>
296 <id>ant-create-script</id>
298 <exportAntProperties>true</exportAntProperties>
301 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
302 <condition property="is_windows" value="true">
303 <os family="windows"/>
305 <condition property="isLinux" value="true">
309 <equals arg1="${is_windows}" arg2="true"/>
311 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
312 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
313 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
316 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
317 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
318 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
319 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
331 <groupId>ant-contrib</groupId>
332 <artifactId>ant-contrib</artifactId>
333 <version>1.0b3</version>
336 <artifactId>ant</artifactId>
337 <groupId>ant</groupId>
344 <groupId>io.swagger</groupId>
345 <artifactId>swagger-codegen-maven-plugin</artifactId>
346 <version>2.2.1</version>
350 <goal>generate</goal>
353 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
354 <output>${project.build.directory}/generated-sources</output>
355 <language>java</language>
357 <dateLibrary>joda</dateLibrary>
359 <library>jersey2</library>
360 <groupId>${project.groupId}</groupId>
361 <artifactId>${project.artifactId}-java-sdk</artifactId>
362 <artifactVersion>${project.version}</artifactVersion>
363 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
364 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
365 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
371 <artifactId>exec-maven-plugin</artifactId>
372 <groupId>org.codehaus.mojo</groupId>
373 <version>1.5.0</version>
376 <id>swagger-generate-sources</id>
377 <phase>generate-sources</phase>
382 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
388 <groupId>org.apache.maven.plugins</groupId>
389 <artifactId>maven-clean-plugin</artifactId>
390 <version>3.0.0</version>
393 <id>clean-generated-files</id>
394 <phase>generate-sources</phase>
401 <directory>${project.build.directory}/generated-sources</directory>
412 <groupId>org.onap.msb.swagger-sdk</groupId>
413 <artifactId>swagger-sdk</artifactId>
414 <version>1.0.0</version>
419 <!-- End of profiles from ONAP oparent -->
424 <dependencyManagement>
427 <groupId>org.opendaylight.mdsal.model</groupId>
428 <artifactId>mdsal-model-artifacts</artifactId>
429 <version>${odl.mdsal.model.version}</version>
431 <scope>import</scope>
434 <groupId>org.opendaylight.controller</groupId>
435 <artifactId>mdsal-artifacts</artifactId>
436 <version>${odl.mdsal.version}</version>
438 <scope>import</scope>
441 <groupId>org.onap.ccsdk.sli.core</groupId>
442 <artifactId>sli-common</artifactId>
443 <version>${ccsdk.sli.core.version}</version>
447 <groupId>org.onap.ccsdk.sli.core</groupId>
448 <artifactId>sli-provider</artifactId>
449 <version>${ccsdk.sli.core.version}</version>
452 <groupId>org.onap.ccsdk.sli.core</groupId>
453 <artifactId>ccsdk-sli</artifactId>
454 <version>${ccsdk.sli.core.version}</version>
456 <classifier>features</classifier>
459 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
460 <artifactId>aai-service-provider</artifactId>
461 <version>${sdnctl.aai.service.version}</version>
465 <groupId>org.onap.ccsdk.sli.core</groupId>
466 <artifactId>dblib-provider</artifactId>
467 <version>${sdnctl.dblib.version}</version>
471 <groupId>org.testng</groupId>
472 <artifactId>testng</artifactId>
473 <version>6.11</version>
476 <groupId>org.springframework</groupId>
477 <artifactId>spring-test</artifactId>
478 <version>${spring.version}</version>
481 <groupId>org.springframework</groupId>
482 <artifactId>spring-beans</artifactId>
483 <version>${spring.version}</version>
486 <groupId>org.springframework</groupId>
487 <artifactId>spring-context</artifactId>
488 <version>${spring.version}</version>
491 <groupId>com.att.eelf</groupId>
492 <artifactId>eelf-core</artifactId>
493 <version>${eelf.version}</version>
496 <groupId>javax.ws.rs</groupId>
497 <artifactId>javax.ws.rs-api</artifactId>
498 <version>2.1</version>
501 <groupId>org.apache.derby</groupId>
502 <artifactId>derby</artifactId>
503 <version>${derby.version}</version>
508 </dependencyManagement>
514 <artifactId>maven-javadoc-plugin</artifactId>
515 <version>2.10.4</version>
517 <failOnError>false</failOnError>
518 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
520 <groupId>org.umlgraph</groupId>
521 <artifactId>umlgraph</artifactId>
522 <version>5.6</version>
524 <additionalparam>-views</additionalparam>
525 <useStandardDocletOptions>true</useStandardDocletOptions>
526 <excludePackageNames>org.opendaylight.*</excludePackageNames>
527 <additionalDependencies>
528 <additionalDependency>
529 <groupId>org.slf4j</groupId>
530 <artifactId>slf4j-api</artifactId>
531 <version>${slf4j.version}</version>
532 </additionalDependency>
533 <additionalDependency>
534 <groupId>org.antlr</groupId>
535 <artifactId>antlr4</artifactId>
536 <version>${antlr.version}</version>
537 </additionalDependency>
538 <additionalDependency>
539 <groupId>org.antlr</groupId>
540 <artifactId>antlr4-runtime</artifactId>
541 <version>${antlr.version}</version>
542 </additionalDependency>
544 <additionalDependency>
545 <groupId>com.sun.jersey</groupId>
546 <artifactId>jersey-client</artifactId>
547 <version>${jersey.json.version}</version>
548 </additionalDependency>
549 <additionalDependency>
550 <groupId>com.sun.jersey</groupId>
551 <artifactId>jersey-core</artifactId>
552 <version>${jersey.json.version}</version>
553 </additionalDependency>
554 <additionalDependency>
555 <groupId>org.apache.httpcomponents</groupId>
556 <artifactId>httpcore-osgi</artifactId>
557 <version>${apache.httpcomponents.core.version}</version>
558 </additionalDependency>
559 <additionalDependency>
560 <groupId>org.apache.httpcomponents</groupId>
561 <artifactId>httpclient-osgi</artifactId>
562 <version>${apache.httpcomponents.client.version}</version>
563 </additionalDependency>
564 <additionalDependency>
565 <groupId>com.fasterxml.jackson.core</groupId>
566 <artifactId>jackson-databind</artifactId>
567 <version>${fasterxml.jackson.version}</version>
568 </additionalDependency>
569 <additionalDependency>
570 <groupId>com.fasterxml.jackson.core</groupId>
571 <artifactId>jackson-annotations</artifactId>
572 <version>${fasterxml.jackson.version}</version>
573 </additionalDependency>
574 <additionalDependency>
575 <groupId>com.fasterxml.jackson.core</groupId>
576 <artifactId>jackson-core</artifactId>
577 <version>${fasterxml.jackson.version}</version>
578 </additionalDependency>
579 <additionalDependency>
580 <groupId>commons-lang</groupId>
581 <artifactId>commons-lang</artifactId>
582 <version>${commons.lang.version}</version>
583 </additionalDependency>
584 </additionalDependencies>
589 <report>javadoc-no-fork</report>
590 <report>test-javadoc-no-fork</report>
596 <report>aggregate</report>
597 <report>test-aggregate</report>
603 <groupId>org.apache.maven.plugins</groupId>
604 <artifactId>maven-jxr-plugin</artifactId>
605 <version>2.3</version>
610 <report>aggregate</report>
611 <report>test-aggregate</report>
618 <artifactId>maven-surefire-plugin</artifactId>
619 <version>2.17</version>
622 <groupId>org.apache.maven.plugins</groupId>
623 <artifactId>maven-changelog-plugin</artifactId>
624 <version>2.3</version>
633 <report>changelog</report>
634 <report>file-activity</report>
640 <groupId>org.codehaus.mojo</groupId>
641 <artifactId>taglist-maven-plugin</artifactId>
642 <version>2.4</version>
651 <url>${onap.nexus.public-url}</url>
653 <enabled>true</enabled>
656 <enabled>true</enabled>
660 <id>onap-staging</id>
661 <url>${onap.nexus.staging-url}</url>
663 <enabled>true</enabled>
666 <enabled>true</enabled>
670 <id>onap-snapshot</id>
671 <url>${onap.nexus.snapshot-url}</url>
673 <enabled>false</enabled>
676 <enabled>true</enabled>
680 <id>opendaylight-mirror</id>
681 <name>opendaylight-mirror</name>
682 <url>${opendaylight.nexus.public-url}</url>
684 <enabled>true</enabled>
685 <updatePolicy>never</updatePolicy>
688 <enabled>false</enabled>
692 <id>opendaylight-snapshot</id>
693 <name>opendaylight-snapshot</name>
694 <url>${opendaylight.nexus.snapshot-url}</url>
696 <enabled>false</enabled>
699 <enabled>true</enabled>
702 <!-- Black Duck plugin dependencies -->
705 <name>JCenter Repository</name>
706 <url>http://jcenter.bintray.com</url>
711 <name>Restlet Repository</name>
712 <url>http://maven.restlet.com</url>
714 </pluginRepositories>
720 <url>https://nexus.onap.org/content/groups/public</url>
722 <enabled>true</enabled>
723 <updatePolicy>never</updatePolicy>
726 <enabled>true</enabled>
727 <updatePolicy>always</updatePolicy>
731 <id>onap-staging</id>
732 <url>https://nexus.onap.org/content/groups/staging</url>
734 <enabled>true</enabled>
735 <updatePolicy>never</updatePolicy>
738 <enabled>true</enabled>
739 <updatePolicy>always</updatePolicy>
743 <id>ecomp-release</id>
744 <name>onap-repository-releases</name>
745 <url>https://nexus.onap.org/content/repositories/releases</url>
747 <enabled>true</enabled>
748 <updatePolicy>never</updatePolicy>
751 <enabled>false</enabled>
755 <id>ecomp-snapshot</id>
756 <name>onap-repository-snapshots</name>
757 <url>https://nexus.onap.org/content/repositories/snapshots</url>
759 <enabled>false</enabled>
762 <enabled>true</enabled>
766 <id>opendaylight-mirror</id>
767 <name>opendaylight-mirror</name>
768 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
770 <enabled>true</enabled>
771 <updatePolicy>never</updatePolicy>
774 <enabled>false</enabled>
778 <id>opendaylight-snapshot</id>
779 <name>opendaylight-snapshot</name>
780 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
782 <enabled>false</enabled>
785 <enabled>true</enabled>
791 <distributionManagement>
793 <id>ecomp-releases</id>
794 <url>http://nexus.onap.org/content/repositories/releases</url>
797 <id>ecomp-snapshots</id>
798 <url>http://nexus.onap.org/content/repositories/snapshots</url>
799 </snapshotRepository>
800 </distributionManagement>
806 <!-- Plugins from ONAP oparent -->
808 <groupId>org.apache.maven.plugins</groupId>
809 <artifactId>maven-deploy-plugin</artifactId>
810 <!-- This version supports the "deployAtEnd" parameter -->
811 <version>2.8</version>
818 <groupId>org.apache.maven.plugins</groupId>
819 <artifactId>maven-site-plugin</artifactId>
820 <version>3.6</version>
823 <groupId>org.apache.maven.wagon</groupId>
824 <artifactId>wagon-webdav-jackrabbit</artifactId>
825 <version>2.10</version>
828 <groupId>org.apache.maven.doxia</groupId>
829 <artifactId>doxia-core</artifactId>
830 <version>1.7</version>
833 <groupId>org.apache.maven.doxia</groupId>
834 <artifactId>doxia-sink-api</artifactId>
835 <version>1.7</version>
838 <groupId>org.apache.maven.doxia</groupId>
839 <artifactId>doxia-logging-api</artifactId>
840 <version>1.7</version>
845 <id>attach-descriptor</id>
847 <goal>attach-descriptor</goal>
853 <artifactId>maven-checkstyle-plugin</artifactId>
854 <version>2.17</version>
857 <groupId>org.onap.oparent</groupId>
858 <artifactId>checkstyle</artifactId>
859 <version>1.1.1</version>
864 <id>check-license</id>
868 <phase>process-sources</phase>
870 <configLocation>onap-checkstyle/check-license.xml</configLocation>
871 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
872 <includeResources>false</includeResources>
873 <includeTestSourceDirectory>true</includeTestSourceDirectory>
874 <includeTestResources>false</includeTestResources>
875 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
878 <failsOnError>false</failsOnError>
879 <consoleOutput>true</consoleOutput>
887 <phase>process-sources</phase>
889 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
890 with minor changes -->
891 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
892 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
893 sources directory -->
894 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
895 <includeResources>true</includeResources>
896 <includeTestSourceDirectory>true</includeTestSourceDirectory>
897 <includeTestResources>true</includeTestResources>
900 <failsOnError>false</failsOnError>
901 <consoleOutput>true</consoleOutput>
907 <groupId>org.jacoco</groupId>
908 <artifactId>jacoco-maven-plugin</artifactId>
909 <version>${jacoco.version}</version>
911 <!-- Note: This exclusion list should match <sonar.exclusions> property
914 <exclude>**/gen/**</exclude>
915 <exclude>**/generated-sources/**</exclude>
916 <exclude>**/yang-gen/**</exclude>
917 <exclude>**/pax/**</exclude>
921 <!-- Prepares the property pointing to the JaCoCo runtime agent which
922 is passed as VM argument when Maven the Surefire plugin is executed. -->
924 <id>pre-unit-test</id>
926 <goal>prepare-agent</goal>
929 <!-- Sets the path to the file which contains the execution data. -->
930 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
931 <!-- Sets the name of the property containing the settings for JaCoCo
933 <propertyName>surefireArgLine</propertyName>
936 <!-- Ensures that the code coverage report for unit tests is created
937 after unit tests have been run. -->
939 <id>post-unit-test</id>
945 <!-- Sets the path to the file which contains the execution data. -->
946 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
947 <!-- Sets the output directory for the code coverage report. -->
948 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
952 <id>pre-integration-test</id>
953 <phase>pre-integration-test</phase>
955 <goal>prepare-agent</goal>
958 <!-- Sets the path to the file which contains the execution data. -->
959 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
960 <!-- Sets the name of the property containing the settings for JaCoCo
962 <propertyName>failsafeArgLine</propertyName>
965 <!-- Ensures that the code coverage report for integration tests after
966 integration tests have been run. -->
968 <id>post-integration-test</id>
969 <phase>post-integration-test</phase>
974 <!-- Sets the path to the file which contains the execution data. -->
975 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
976 <!-- Sets the output directory for the code coverage report. -->
977 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
983 <groupId>org.apache.maven.plugins</groupId>
984 <artifactId>maven-surefire-plugin</artifactId>
985 <version>2.19.1</version>
987 <!-- Sets the VM argument line used when unit tests are run. -->
988 <argLine>${surefireArgLine}</argLine>
989 <!-- Excludes integration tests when unit tests are run. -->
991 <exclude>**/IT*.java</exclude>
996 <groupId>org.apache.maven.plugins</groupId>
997 <artifactId>maven-failsafe-plugin</artifactId>
998 <version>2.19.1</version>
1000 <!-- Ensures that both integration-test and verify goals of the Failsafe
1001 Maven plugin are executed. -->
1003 <id>integration-tests</id>
1005 <goal>integration-test</goal>
1009 <!-- Sets the VM argument line used when integration tests are run. -->
1010 <argLine>${failsafeArgLine}</argLine>
1016 <groupId>org.apache.maven.plugins</groupId>
1017 <artifactId>maven-compiler-plugin</artifactId>
1018 <version>${maven.compile.plugin.version}</version>
1020 <source>${java.version.source}</source>
1021 <target>${java.version.target}</target>
1025 <groupId>org.sonarsource.scanner.maven</groupId>
1026 <artifactId>sonar-maven-plugin</artifactId>
1027 <version>3.3.0.603</version>
1030 <!-- End of plugins from ONAP oparent -->
1033 <groupId>org.apache.maven.plugins</groupId>
1034 <artifactId>maven-javadoc-plugin</artifactId>
1035 <version>2.10</version>
1037 <additionalDependencies>
1038 <additionalDependency>
1039 <groupId>org.slf4j</groupId>
1040 <artifactId>slf4j-api</artifactId>
1041 <version>${slf4j.version}</version>
1042 </additionalDependency>
1043 <additionalDependency>
1044 <groupId>org.antlr</groupId>
1045 <artifactId>antlr4</artifactId>
1046 <version>${antlr.version}</version>
1047 </additionalDependency>
1048 <additionalDependency>
1049 <groupId>org.antlr</groupId>
1050 <artifactId>antlr4-runtime</artifactId>
1051 <version>${antlr.version}</version>
1052 </additionalDependency>
1054 <additionalDependency>
1055 <groupId>com.sun.jersey</groupId>
1056 <artifactId>jersey-client</artifactId>
1057 <version>${jersey.client.version}</version>
1058 </additionalDependency>
1059 <additionalDependency>
1060 <groupId>com.sun.jersey</groupId>
1061 <artifactId>jersey-core</artifactId>
1062 <version>${jersey.version}</version>
1063 </additionalDependency>
1064 <additionalDependency>
1065 <groupId>org.apache.httpcomponents</groupId>
1066 <artifactId>httpcore-osgi</artifactId>
1067 <version>${apache.httpcomponents.core.version}</version>
1068 </additionalDependency>
1069 <additionalDependency>
1070 <groupId>org.apache.httpcomponents</groupId>
1071 <artifactId>httpclient-osgi</artifactId>
1072 <version>${apache.httpcomponents.client.version}</version>
1073 </additionalDependency>
1074 <additionalDependency>
1075 <groupId>com.fasterxml.jackson.core</groupId>
1076 <artifactId>jackson-databind</artifactId>
1077 <version>${jackson.version}</version>
1078 </additionalDependency>
1079 <additionalDependency>
1080 <groupId>com.fasterxml.jackson.core</groupId>
1081 <artifactId>jackson-annotations</artifactId>
1082 <version>${jackson.version}</version>
1083 </additionalDependency>
1084 <additionalDependency>
1085 <groupId>com.fasterxml.jackson.core</groupId>
1086 <artifactId>jackson-core</artifactId>
1087 <version>${jackson.version}</version>
1088 </additionalDependency>
1089 <additionalDependency>
1090 <groupId>commons-lang</groupId>
1091 <artifactId>commons-lang</artifactId>
1092 <version>${commons.lang.version}</version>
1093 </additionalDependency>
1094 </additionalDependencies>
1101 <goal>aggregate</goal>
1114 <!-- Plugins from ONAP oparent -->
1116 <artifactId>maven-checkstyle-plugin</artifactId>
1119 <groupId>org.codehaus.mojo</groupId>
1120 <artifactId>build-helper-maven-plugin</artifactId>
1121 <version>1.12</version>
1123 <!-- Jacoco / Sonar -->
1125 <groupId>org.jacoco</groupId>
1126 <artifactId>jacoco-maven-plugin</artifactId>
1129 <groupId>org.apache.maven.plugins</groupId>
1130 <artifactId>maven-surefire-plugin</artifactId>
1133 <groupId>org.apache.maven.plugins</groupId>
1134 <artifactId>maven-failsafe-plugin</artifactId>
1137 <!-- End of plugins from ONAP oparent -->
1139 <groupId>org.codehaus.mojo</groupId>
1140 <artifactId>properties-maven-plugin</artifactId>
1141 <version>1.0.0</version>
1145 <goal>set-system-properties</goal>
1150 <name>maven.wagon.http.ssl.allowall</name>
1151 <value>${ssl.allowall}</value>
1154 <name>maven.wagon.http.ssl.insecure</name>
1155 <value>${ssl.insecure}</value>
1163 <groupId>org.sonatype.plugins</groupId>
1164 <artifactId>nexus-staging-maven-plugin</artifactId>
1165 <version>1.6.7</version>
1166 <extensions>true</extensions>
1168 <nexusUrl>${onap.nexus.url}</nexusUrl>
1169 <stagingProfileId>176c31dfe190a</stagingProfileId>
1170 <serverId>ecomp-staging</serverId>
1174 <groupId>org.codehaus.mojo</groupId>
1175 <artifactId>versions-maven-plugin</artifactId>
1176 <version>2.5</version>
1178 <processAllModules>true</processAllModules>
1182 <artifactId>maven-scm-plugin</artifactId>
1183 <version>1.8.1</version>
1185 <tag>${project.artifactId}-${project.version}</tag>