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.2-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.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 <skip.karaf.featureTest>true</skip.karaf.featureTest>
189 <!-- Profiles from ONAP oparent -->
191 <id>generate-json</id>
194 <exists>${swagger-properties}</exists>
197 <name>swagger-sdk.generate-json</name>
203 <groupId>org.codehaus.mojo</groupId>
204 <artifactId>properties-maven-plugin</artifactId>
205 <version>1.0.0</version>
208 <phase>initialize</phase>
210 <goal>read-project-properties</goal>
214 <file>${basedir}/src/main/resources/swagger.properties</file>
221 <groupId>com.github.kongchen</groupId>
222 <artifactId>swagger-maven-plugin</artifactId>
223 <version>3.1.4</version>
227 <locations>${api-rest-package}</locations>
228 <schemes>http,https</schemes>
229 <host>${api-host-ip}:${api-host-port}</host>
230 <basePath>${api-base-path}</basePath>
232 <title>${api-title}</title>
233 <version>${api-version}</version>
234 <description>${api-description}</description>
236 <name>${api-license}</name>
239 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
245 <phase>compile</phase>
247 <goal>generate</goal>
253 <groupId>org.apache.maven.plugins</groupId>
254 <artifactId>maven-install-plugin</artifactId>
255 <version>2.3.1</version>
258 <id>install-file-id</id>
259 <phase>install</phase>
261 <goal>install-file</goal>
264 <file>${basedir}/src/main/resources/swagger.json</file>
265 <groupId>${project.groupId}</groupId>
266 <artifactId>${project.artifactId}-swagger-schema</artifactId>
267 <version>${project.version}</version>
268 <packaging>json</packaging>
277 <id>generate-sdk</id>
280 <exists>${swagger-json}</exists>
283 <name>swagger-sdk.generate-java-sdk</name>
289 <groupId>org.apache.maven.plugins</groupId>
290 <artifactId>maven-antrun-plugin</artifactId>
291 <version>1.8</version>
294 <phase>initialize</phase>
295 <id>ant-create-script</id>
297 <exportAntProperties>true</exportAntProperties>
300 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
301 <condition property="is_windows" value="true">
302 <os family="windows"/>
304 <condition property="isLinux" value="true">
308 <equals arg1="${is_windows}" arg2="true"/>
310 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
311 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
312 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
315 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
316 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
317 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
318 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
330 <groupId>ant-contrib</groupId>
331 <artifactId>ant-contrib</artifactId>
332 <version>1.0b3</version>
335 <artifactId>ant</artifactId>
336 <groupId>ant</groupId>
343 <groupId>io.swagger</groupId>
344 <artifactId>swagger-codegen-maven-plugin</artifactId>
345 <version>2.2.1</version>
349 <goal>generate</goal>
352 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
353 <output>${project.build.directory}/generated-sources</output>
354 <language>java</language>
356 <dateLibrary>joda</dateLibrary>
358 <library>jersey2</library>
359 <groupId>${project.groupId}</groupId>
360 <artifactId>${project.artifactId}-java-sdk</artifactId>
361 <artifactVersion>${project.version}</artifactVersion>
362 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
363 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
364 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
370 <artifactId>exec-maven-plugin</artifactId>
371 <groupId>org.codehaus.mojo</groupId>
372 <version>1.5.0</version>
375 <id>swagger-generate-sources</id>
376 <phase>generate-sources</phase>
381 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
387 <groupId>org.apache.maven.plugins</groupId>
388 <artifactId>maven-clean-plugin</artifactId>
389 <version>3.0.0</version>
392 <id>clean-generated-files</id>
393 <phase>generate-sources</phase>
400 <directory>${project.build.directory}/generated-sources</directory>
411 <groupId>org.onap.msb.swagger-sdk</groupId>
412 <artifactId>swagger-sdk</artifactId>
413 <version>1.0.0</version>
418 <!-- End of profiles from ONAP oparent -->
423 <dependencyManagement>
426 <groupId>org.opendaylight.mdsal.model</groupId>
427 <artifactId>mdsal-model-artifacts</artifactId>
428 <version>${odl.mdsal.model.version}</version>
430 <scope>import</scope>
433 <groupId>org.opendaylight.controller</groupId>
434 <artifactId>mdsal-artifacts</artifactId>
435 <version>${odl.mdsal.version}</version>
437 <scope>import</scope>
440 <groupId>org.onap.ccsdk.sli.core</groupId>
441 <artifactId>sli-common</artifactId>
442 <version>${ccsdk.sli.core.version}</version>
446 <groupId>org.onap.ccsdk.sli.core</groupId>
447 <artifactId>sli-provider</artifactId>
448 <version>${ccsdk.sli.core.version}</version>
451 <groupId>org.onap.ccsdk.sli.core</groupId>
452 <artifactId>ccsdk-sli</artifactId>
453 <version>${ccsdk.sli.core.version}</version>
455 <classifier>features</classifier>
458 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
459 <artifactId>aai-service-provider</artifactId>
460 <version>${sdnctl.aai.service.version}</version>
464 <groupId>org.onap.ccsdk.sli.core</groupId>
465 <artifactId>dblib-provider</artifactId>
466 <version>${sdnctl.dblib.version}</version>
470 <groupId>org.testng</groupId>
471 <artifactId>testng</artifactId>
472 <version>6.11</version>
475 <groupId>org.springframework</groupId>
476 <artifactId>spring-test</artifactId>
477 <version>${spring.version}</version>
480 <groupId>org.springframework</groupId>
481 <artifactId>spring-beans</artifactId>
482 <version>${spring.version}</version>
485 <groupId>org.springframework</groupId>
486 <artifactId>spring-context</artifactId>
487 <version>${spring.version}</version>
490 <groupId>com.att.eelf</groupId>
491 <artifactId>eelf-core</artifactId>
492 <version>${eelf.version}</version>
495 <groupId>javax.ws.rs</groupId>
496 <artifactId>javax.ws.rs-api</artifactId>
497 <version>2.1</version>
500 <groupId>org.apache.derby</groupId>
501 <artifactId>derby</artifactId>
502 <version>${derby.version}</version>
507 </dependencyManagement>
513 <artifactId>maven-javadoc-plugin</artifactId>
514 <version>2.10.4</version>
516 <failOnError>false</failOnError>
517 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
519 <groupId>org.umlgraph</groupId>
520 <artifactId>umlgraph</artifactId>
521 <version>5.6</version>
523 <additionalparam>-views</additionalparam>
524 <useStandardDocletOptions>true</useStandardDocletOptions>
525 <excludePackageNames>org.opendaylight.*</excludePackageNames>
526 <additionalDependencies>
527 <additionalDependency>
528 <groupId>org.slf4j</groupId>
529 <artifactId>slf4j-api</artifactId>
530 <version>${slf4j.version}</version>
531 </additionalDependency>
532 <additionalDependency>
533 <groupId>org.antlr</groupId>
534 <artifactId>antlr4</artifactId>
535 <version>${antlr.version}</version>
536 </additionalDependency>
537 <additionalDependency>
538 <groupId>org.antlr</groupId>
539 <artifactId>antlr4-runtime</artifactId>
540 <version>${antlr.version}</version>
541 </additionalDependency>
543 <additionalDependency>
544 <groupId>com.sun.jersey</groupId>
545 <artifactId>jersey-client</artifactId>
546 <version>${jersey.json.version}</version>
547 </additionalDependency>
548 <additionalDependency>
549 <groupId>com.sun.jersey</groupId>
550 <artifactId>jersey-core</artifactId>
551 <version>${jersey.json.version}</version>
552 </additionalDependency>
553 <additionalDependency>
554 <groupId>org.apache.httpcomponents</groupId>
555 <artifactId>httpcore-osgi</artifactId>
556 <version>${apache.httpcomponents.core.version}</version>
557 </additionalDependency>
558 <additionalDependency>
559 <groupId>org.apache.httpcomponents</groupId>
560 <artifactId>httpclient-osgi</artifactId>
561 <version>${apache.httpcomponents.client.version}</version>
562 </additionalDependency>
563 <additionalDependency>
564 <groupId>com.fasterxml.jackson.core</groupId>
565 <artifactId>jackson-databind</artifactId>
566 <version>${fasterxml.jackson.version}</version>
567 </additionalDependency>
568 <additionalDependency>
569 <groupId>com.fasterxml.jackson.core</groupId>
570 <artifactId>jackson-annotations</artifactId>
571 <version>${fasterxml.jackson.version}</version>
572 </additionalDependency>
573 <additionalDependency>
574 <groupId>com.fasterxml.jackson.core</groupId>
575 <artifactId>jackson-core</artifactId>
576 <version>${fasterxml.jackson.version}</version>
577 </additionalDependency>
578 <additionalDependency>
579 <groupId>commons-lang</groupId>
580 <artifactId>commons-lang</artifactId>
581 <version>${commons.lang.version}</version>
582 </additionalDependency>
583 </additionalDependencies>
588 <report>javadoc-no-fork</report>
589 <report>test-javadoc-no-fork</report>
595 <report>aggregate</report>
596 <report>test-aggregate</report>
602 <groupId>org.apache.maven.plugins</groupId>
603 <artifactId>maven-jxr-plugin</artifactId>
604 <version>2.3</version>
609 <report>aggregate</report>
610 <report>test-aggregate</report>
617 <artifactId>maven-surefire-plugin</artifactId>
618 <version>2.17</version>
621 <groupId>org.apache.maven.plugins</groupId>
622 <artifactId>maven-changelog-plugin</artifactId>
623 <version>2.3</version>
632 <report>changelog</report>
633 <report>file-activity</report>
639 <groupId>org.codehaus.mojo</groupId>
640 <artifactId>taglist-maven-plugin</artifactId>
641 <version>2.4</version>
650 <url>${onap.nexus.public-url}</url>
652 <enabled>true</enabled>
655 <enabled>true</enabled>
659 <id>onap-staging</id>
660 <url>${onap.nexus.staging-url}</url>
662 <enabled>true</enabled>
665 <enabled>true</enabled>
669 <id>onap-snapshot</id>
670 <url>${onap.nexus.snapshot-url}</url>
672 <enabled>false</enabled>
675 <enabled>true</enabled>
679 <id>opendaylight-mirror</id>
680 <name>opendaylight-mirror</name>
681 <url>${opendaylight.nexus.public-url}</url>
683 <enabled>true</enabled>
684 <updatePolicy>never</updatePolicy>
687 <enabled>false</enabled>
691 <id>opendaylight-snapshot</id>
692 <name>opendaylight-snapshot</name>
693 <url>${opendaylight.nexus.snapshot-url}</url>
695 <enabled>false</enabled>
698 <enabled>true</enabled>
701 <!-- Black Duck plugin dependencies -->
704 <name>JCenter Repository</name>
705 <url>http://jcenter.bintray.com</url>
710 <name>Restlet Repository</name>
711 <url>http://maven.restlet.com</url>
713 </pluginRepositories>
719 <url>https://nexus.onap.org/content/groups/public</url>
721 <enabled>true</enabled>
722 <updatePolicy>never</updatePolicy>
725 <enabled>true</enabled>
726 <updatePolicy>always</updatePolicy>
730 <id>onap-staging</id>
731 <url>https://nexus.onap.org/content/groups/staging</url>
733 <enabled>true</enabled>
734 <updatePolicy>never</updatePolicy>
737 <enabled>true</enabled>
738 <updatePolicy>always</updatePolicy>
742 <id>ecomp-release</id>
743 <name>onap-repository-releases</name>
744 <url>https://nexus.onap.org/content/repositories/releases</url>
746 <enabled>true</enabled>
747 <updatePolicy>never</updatePolicy>
750 <enabled>false</enabled>
754 <id>ecomp-snapshot</id>
755 <name>onap-repository-snapshots</name>
756 <url>https://nexus.onap.org/content/repositories/snapshots</url>
758 <enabled>false</enabled>
761 <enabled>true</enabled>
765 <id>opendaylight-mirror</id>
766 <name>opendaylight-mirror</name>
767 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
769 <enabled>true</enabled>
770 <updatePolicy>never</updatePolicy>
773 <enabled>false</enabled>
777 <id>opendaylight-snapshot</id>
778 <name>opendaylight-snapshot</name>
779 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
781 <enabled>false</enabled>
784 <enabled>true</enabled>
790 <distributionManagement>
792 <id>ecomp-releases</id>
793 <url>https://nexus.onap.org/content/repositories/releases</url>
796 <id>ecomp-snapshots</id>
797 <url>https://nexus.onap.org/content/repositories/snapshots</url>
798 </snapshotRepository>
799 </distributionManagement>
805 <!-- Plugins from ONAP oparent -->
807 <groupId>org.apache.maven.plugins</groupId>
808 <artifactId>maven-deploy-plugin</artifactId>
809 <!-- This version supports the "deployAtEnd" parameter -->
810 <version>2.8</version>
817 <groupId>org.apache.maven.plugins</groupId>
818 <artifactId>maven-site-plugin</artifactId>
819 <version>3.6</version>
822 <groupId>org.apache.maven.wagon</groupId>
823 <artifactId>wagon-webdav-jackrabbit</artifactId>
824 <version>2.10</version>
827 <groupId>org.apache.maven.doxia</groupId>
828 <artifactId>doxia-core</artifactId>
829 <version>1.7</version>
832 <groupId>org.apache.maven.doxia</groupId>
833 <artifactId>doxia-sink-api</artifactId>
834 <version>1.7</version>
837 <groupId>org.apache.maven.doxia</groupId>
838 <artifactId>doxia-logging-api</artifactId>
839 <version>1.7</version>
844 <id>attach-descriptor</id>
846 <goal>attach-descriptor</goal>
852 <artifactId>maven-checkstyle-plugin</artifactId>
853 <version>2.17</version>
856 <groupId>org.onap.oparent</groupId>
857 <artifactId>checkstyle</artifactId>
858 <version>1.1.1</version>
863 <id>check-license</id>
867 <phase>process-sources</phase>
869 <configLocation>onap-checkstyle/check-license.xml</configLocation>
870 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
871 <includeResources>false</includeResources>
872 <includeTestSourceDirectory>true</includeTestSourceDirectory>
873 <includeTestResources>false</includeTestResources>
874 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
877 <failsOnError>false</failsOnError>
878 <consoleOutput>true</consoleOutput>
886 <phase>process-sources</phase>
888 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
889 with minor changes -->
890 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
891 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
892 sources directory -->
893 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
894 <includeResources>true</includeResources>
895 <includeTestSourceDirectory>true</includeTestSourceDirectory>
896 <includeTestResources>true</includeTestResources>
899 <failsOnError>false</failsOnError>
900 <consoleOutput>true</consoleOutput>
906 <groupId>org.jacoco</groupId>
907 <artifactId>jacoco-maven-plugin</artifactId>
908 <version>${jacoco.version}</version>
910 <!-- Note: This exclusion list should match <sonar.exclusions> property
913 <exclude>**/gen/**</exclude>
914 <exclude>**/generated-sources/**</exclude>
915 <exclude>**/yang-gen/**</exclude>
916 <exclude>**/pax/**</exclude>
920 <!-- Prepares the property pointing to the JaCoCo runtime agent which
921 is passed as VM argument when Maven the Surefire plugin is executed. -->
923 <id>pre-unit-test</id>
925 <goal>prepare-agent</goal>
928 <!-- Sets the path to the file which contains the execution data. -->
929 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
930 <!-- Sets the name of the property containing the settings for JaCoCo
932 <propertyName>surefireArgLine</propertyName>
935 <!-- Ensures that the code coverage report for unit tests is created
936 after unit tests have been run. -->
938 <id>post-unit-test</id>
944 <!-- Sets the path to the file which contains the execution data. -->
945 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
946 <!-- Sets the output directory for the code coverage report. -->
947 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
951 <id>pre-integration-test</id>
952 <phase>pre-integration-test</phase>
954 <goal>prepare-agent</goal>
957 <!-- Sets the path to the file which contains the execution data. -->
958 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
959 <!-- Sets the name of the property containing the settings for JaCoCo
961 <propertyName>failsafeArgLine</propertyName>
964 <!-- Ensures that the code coverage report for integration tests after
965 integration tests have been run. -->
967 <id>post-integration-test</id>
968 <phase>post-integration-test</phase>
973 <!-- Sets the path to the file which contains the execution data. -->
974 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
975 <!-- Sets the output directory for the code coverage report. -->
976 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
982 <groupId>org.apache.maven.plugins</groupId>
983 <artifactId>maven-surefire-plugin</artifactId>
984 <version>2.19.1</version>
986 <!-- Sets the VM argument line used when unit tests are run. -->
987 <argLine>${surefireArgLine}</argLine>
988 <!-- Excludes integration tests when unit tests are run. -->
990 <exclude>**/IT*.java</exclude>
995 <groupId>org.apache.maven.plugins</groupId>
996 <artifactId>maven-failsafe-plugin</artifactId>
997 <version>2.19.1</version>
999 <!-- Ensures that both integration-test and verify goals of the Failsafe
1000 Maven plugin are executed. -->
1002 <id>integration-tests</id>
1004 <goal>integration-test</goal>
1008 <!-- Sets the VM argument line used when integration tests are run. -->
1009 <argLine>${failsafeArgLine}</argLine>
1015 <groupId>org.apache.maven.plugins</groupId>
1016 <artifactId>maven-compiler-plugin</artifactId>
1017 <version>${maven.compile.plugin.version}</version>
1019 <source>${java.version.source}</source>
1020 <target>${java.version.target}</target>
1024 <groupId>org.sonarsource.scanner.maven</groupId>
1025 <artifactId>sonar-maven-plugin</artifactId>
1026 <version>3.3.0.603</version>
1029 <!-- End of plugins from ONAP oparent -->
1032 <groupId>org.apache.maven.plugins</groupId>
1033 <artifactId>maven-javadoc-plugin</artifactId>
1034 <version>2.10</version>
1036 <additionalDependencies>
1037 <additionalDependency>
1038 <groupId>org.slf4j</groupId>
1039 <artifactId>slf4j-api</artifactId>
1040 <version>${slf4j.version}</version>
1041 </additionalDependency>
1042 <additionalDependency>
1043 <groupId>org.antlr</groupId>
1044 <artifactId>antlr4</artifactId>
1045 <version>${antlr.version}</version>
1046 </additionalDependency>
1047 <additionalDependency>
1048 <groupId>org.antlr</groupId>
1049 <artifactId>antlr4-runtime</artifactId>
1050 <version>${antlr.version}</version>
1051 </additionalDependency>
1053 <additionalDependency>
1054 <groupId>com.sun.jersey</groupId>
1055 <artifactId>jersey-client</artifactId>
1056 <version>${jersey.client.version}</version>
1057 </additionalDependency>
1058 <additionalDependency>
1059 <groupId>com.sun.jersey</groupId>
1060 <artifactId>jersey-core</artifactId>
1061 <version>${jersey.version}</version>
1062 </additionalDependency>
1063 <additionalDependency>
1064 <groupId>org.apache.httpcomponents</groupId>
1065 <artifactId>httpcore-osgi</artifactId>
1066 <version>${apache.httpcomponents.core.version}</version>
1067 </additionalDependency>
1068 <additionalDependency>
1069 <groupId>org.apache.httpcomponents</groupId>
1070 <artifactId>httpclient-osgi</artifactId>
1071 <version>${apache.httpcomponents.client.version}</version>
1072 </additionalDependency>
1073 <additionalDependency>
1074 <groupId>com.fasterxml.jackson.core</groupId>
1075 <artifactId>jackson-databind</artifactId>
1076 <version>${jackson.version}</version>
1077 </additionalDependency>
1078 <additionalDependency>
1079 <groupId>com.fasterxml.jackson.core</groupId>
1080 <artifactId>jackson-annotations</artifactId>
1081 <version>${jackson.version}</version>
1082 </additionalDependency>
1083 <additionalDependency>
1084 <groupId>com.fasterxml.jackson.core</groupId>
1085 <artifactId>jackson-core</artifactId>
1086 <version>${jackson.version}</version>
1087 </additionalDependency>
1088 <additionalDependency>
1089 <groupId>commons-lang</groupId>
1090 <artifactId>commons-lang</artifactId>
1091 <version>${commons.lang.version}</version>
1092 </additionalDependency>
1093 </additionalDependencies>
1100 <goal>aggregate</goal>
1113 <!-- Plugins from ONAP oparent -->
1115 <artifactId>maven-checkstyle-plugin</artifactId>
1118 <groupId>org.codehaus.mojo</groupId>
1119 <artifactId>build-helper-maven-plugin</artifactId>
1120 <version>1.12</version>
1122 <!-- Jacoco / Sonar -->
1124 <groupId>org.jacoco</groupId>
1125 <artifactId>jacoco-maven-plugin</artifactId>
1128 <groupId>org.apache.maven.plugins</groupId>
1129 <artifactId>maven-surefire-plugin</artifactId>
1132 <groupId>org.apache.maven.plugins</groupId>
1133 <artifactId>maven-failsafe-plugin</artifactId>
1136 <!-- End of plugins from ONAP oparent -->
1138 <groupId>org.codehaus.mojo</groupId>
1139 <artifactId>properties-maven-plugin</artifactId>
1140 <version>1.0.0</version>
1144 <goal>set-system-properties</goal>
1149 <name>maven.wagon.http.ssl.allowall</name>
1150 <value>${ssl.allowall}</value>
1153 <name>maven.wagon.http.ssl.insecure</name>
1154 <value>${ssl.insecure}</value>
1162 <groupId>org.sonatype.plugins</groupId>
1163 <artifactId>nexus-staging-maven-plugin</artifactId>
1164 <version>1.6.7</version>
1165 <extensions>true</extensions>
1167 <nexusUrl>${onap.nexus.url}</nexusUrl>
1168 <stagingProfileId>176c31dfe190a</stagingProfileId>
1169 <serverId>ecomp-staging</serverId>
1173 <groupId>org.codehaus.mojo</groupId>
1174 <artifactId>versions-maven-plugin</artifactId>
1175 <version>2.5</version>
1177 <processAllModules>true</processAllModules>
1181 <artifactId>maven-scm-plugin</artifactId>
1182 <version>1.8.1</version>
1184 <tag>${project.artifactId}-${project.version}</tag>