1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
7 <modelVersion>4.0.0</modelVersion>
8 <packaging>pom</packaging>
9 <groupId>org.onap.ccsdk.parent</groupId>
10 <artifactId>odlparent-lite</artifactId>
11 <version>1.1.0-SNAPSHOT</version>
14 <groupId>org.opendaylight.odlparent</groupId>
15 <artifactId>odlparent-lite</artifactId>
16 <version>3.1.1</version>
21 <url>http://wiki.onap.org</url>
22 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
23 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
28 <url>https://jira.onap.org/</url>
33 <!--- properties from oparent -->
34 <maven.compiler.source>1.8</maven.compiler.source>
35 <maven.compiler.target>1.8</maven.compiler.target>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
38 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
39 <!-- sitePath may be overridden in the inheriting POM if desired -->
40 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
41 <jacoco.version>0.7.7.201606060606</jacoco.version>
42 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
43 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
44 <!-- Default Sonar configuration -->
45 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
46 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
48 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
49 <!-- If following file exist, auto-generation of swagger.json will be done -->
50 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
51 <!-- If following file exist, auto-generation of sdk will be done -->
52 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
53 <!--- end of properties from oparent -->
55 <!-- ONAP repositories -->
56 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
57 <onap.nexus.port>443</onap.nexus.port>
58 <onap.nexus.protocol>https</onap.nexus.protocol>
59 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
60 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
61 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
62 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
63 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
64 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
67 <!-- OpenDaylight repositories -->
68 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
69 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
72 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
73 <java.version.source>1.8</java.version.source>
74 <java.version.target>1.8</java.version.target>
75 <bundle.plugin.version>2.5.0</bundle.plugin.version>
76 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
77 <features.file>features.xml</features.file>
78 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
79 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
80 <checkstyle.skip>true</checkstyle.skip>
83 <sonar.language>java</sonar.language>
84 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
85 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
86 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
87 <sonar.projectVersion>${project.version}</sonar.projectVersion>
92 <!-- CCSDK component versions -->
93 <ccsdk.sli.core.version>0.3.0-SNAPSHOT</ccsdk.sli.core.version>
94 <ccsdk.sli.adaptors.version>0.3.0-SNAPSHOT</ccsdk.sli.adaptors.version>
95 <ccsdk.sli.northbound.version>0.3.0-SNAPSHOT</ccsdk.sli.northbound.version>
96 <ccsdk.sli.plugins.version>0.3.0-SNAPSHOT</ccsdk.sli.plugins.version>
97 <ccsdk.distribution.version>0.3.0-SNAPSHOT</ccsdk.distribution.version>
98 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
99 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
100 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
101 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
102 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
106 <!-- Support libraries used by OpenDaylight -->
107 <odl.mdsal.version>1.7.1</odl.mdsal.version>
108 <odl.mdsal.model.version>0.12.1</odl.mdsal.model.version>
109 <!-- Used by aaa, vtn -->
110 <commons.codec.version>1.10</commons.codec.version>
111 <!-- Used by netconf, ovsdb -->
112 <commons.lang3.version>3.7</commons.lang3.version>
113 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
114 <commons.lang.version>2.6</commons.lang.version>
115 <!-- Used by neutron; see also controller, vtn -->
116 <commons.net.version>3.6</commons.net.version>
117 <!-- Used by neutron -->
118 <eclipse.persistence.version>2.7.1</eclipse.persistence.version>
120 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
121 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
122 <gson.version>2.8.2</gson.version>
123 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
124 <guava.version>23.6</guava.version>
125 <!-- Used by lispflowmapping, sxp, vtn/manager -->
126 <hamcrest.version>1.3.1</hamcrest.version>
127 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
128 integration/distribution, snmp4sdn, toolkit, ttp -->
129 <jackson.version>2.3.2</jackson.version>
130 <!-- Used by snmp4sdn, yangtools -->
131 <javassist.version>3.20.0-GA</javassist.version>
133 <!-- FIXME remove all dependencies for jersey 1.17 after migration all
135 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
136 snmp4sdn, toolkit -->
137 <jersey.version>1.19.4</jersey.version>
139 <jersey.client.version>1.19.4</jersey.client.version>
141 <!-- New packages for jersey migration 1.17 to 2.8 -->
142 <!-- appache.geronimo.bundle for DocGen -->
143 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
144 <org.json.version>20131018</org.json.version>
147 <jettison.version>1.3.8</jettison.version>
148 <!-- Used by persistence -->
149 <jsr305.api.version>3.0.0</jsr305.api.version>
150 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
151 is fixed (either in PowerMock or with a new JUnit release) -->
152 <!-- Used everywhere -->
153 <junit.version>4.11</junit.version>
154 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
155 <logback.version>1.2.3</logback.version>
156 <!-- Used by nic, sfc, sxp, tsdr -->
157 <mockito.version>1.10.19</mockito.version>
158 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
159 <netty.version>4.1.22.Final</netty.version>
160 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
162 <slf4j.version>1.7.25</slf4j.version>
163 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
165 <spring.version>3.2.17.RELEASE</spring.version>
169 <!-- Extra support libraries used by SDN-C -->
170 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
171 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
172 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
173 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
174 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
175 <antlr.version>4.7.1</antlr.version>
176 <mysql.connector.version>5.1.39</mysql.connector.version>
177 <mariadb.connector.version>2.1.1</mariadb.connector.version>
178 <h2database.version>1.4.196</h2database.version>
179 <derby.version>10.14.2.0</derby.version>
181 <eelf.version>1.0.0</eelf.version>
182 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
184 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
186 <dmaapClient.groupId>org.onap.dmaap.messagerouter.dmaapclient</dmaapClient.groupId>
187 <dmaapClient.version>1.1.5</dmaapClient.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"
304 classpathref="maven.plugin.classpath" />
305 <condition property="is_windows" value="true">
306 <os family="windows" />
308 <condition property="isLinux" value="true">
312 <equals arg1="${is_windows}" arg2="true" />
314 <property name="swagger.sdk.script.file"
315 value="generated-source-script.bat" />
317 file="${project.build.directory}${file.separator}generated-source-script.bat"
319 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
321 file="${project.build.directory}${file.separator}generated-source-script.bat"
323 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
326 <property name="swagger.sdk.script.file"
327 value="generated-source-script.sh" />
329 file="${project.build.directory}${file.separator}generated-source-script.sh"
331 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
333 file="${project.build.directory}${file.separator}generated-source-script.sh"
335 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
337 file="${project.build.directory}${file.separator}generated-source-script.sh"
350 <groupId>ant-contrib</groupId>
351 <artifactId>ant-contrib</artifactId>
352 <version>1.0b3</version>
355 <artifactId>ant</artifactId>
356 <groupId>ant</groupId>
363 <groupId>io.swagger</groupId>
364 <artifactId>swagger-codegen-maven-plugin</artifactId>
365 <version>2.2.1</version>
369 <goal>generate</goal>
372 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
373 <output>${project.build.directory}/generated-sources</output>
374 <language>java</language>
376 <dateLibrary>joda</dateLibrary>
378 <library>jersey2</library>
379 <groupId>${project.groupId}</groupId>
380 <artifactId>${project.artifactId}-java-sdk</artifactId>
381 <artifactVersion>${project.version}</artifactVersion>
382 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
383 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
384 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
390 <artifactId>exec-maven-plugin</artifactId>
391 <groupId>org.codehaus.mojo</groupId>
392 <version>1.5.0</version>
395 <id>swagger-generate-sources</id>
396 <phase>generate-sources</phase>
401 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-clean-plugin</artifactId>
409 <version>3.0.0</version>
412 <id>clean-generated-files</id>
413 <phase>generate-sources</phase>
420 <directory>${project.build.directory}/generated-sources</directory>
431 <groupId>org.onap.msb.swagger-sdk</groupId>
432 <artifactId>swagger-sdk</artifactId>
433 <version>1.0.0</version>
438 <!-- End of profiles from ONAP oparent -->
443 <dependencyManagement>
446 <groupId>org.opendaylight.controller</groupId>
447 <artifactId>mdsal-artifacts</artifactId>
448 <version>${odl.mdsal.version}</version>
450 <scope>import</scope>
453 <groupId>org.opendaylight.mdsal.model</groupId>
454 <artifactId>mdsal-model-artifacts</artifactId>
455 <version>${odl.mdsal.model.version}</version>
457 <scope>import</scope>
460 <groupId>org.onap.ccsdk.sli.core</groupId>
461 <artifactId>sli-common</artifactId>
462 <version>${ccsdk.sli.core.version}</version>
466 <groupId>org.onap.ccsdk.sli.core</groupId>
467 <artifactId>sli-provider</artifactId>
468 <version>${ccsdk.sli.core.version}</version>
471 <groupId>org.onap.ccsdk.sli.core</groupId>
472 <artifactId>ccsdk-sli</artifactId>
473 <version>${ccsdk.sli.core.version}</version>
475 <classifier>features</classifier>
478 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
479 <artifactId>aai-service-provider</artifactId>
480 <version>${sdnctl.aai.service.version}</version>
484 <groupId>org.onap.ccsdk.sli.core</groupId>
485 <artifactId>dblib-provider</artifactId>
486 <version>${sdnctl.dblib.version}</version>
490 <groupId>org.testng</groupId>
491 <artifactId>testng</artifactId>
492 <version>6.11</version>
495 <groupId>org.springframework</groupId>
496 <artifactId>spring-test</artifactId>
497 <version>${spring.version}</version>
500 <groupId>org.springframework</groupId>
501 <artifactId>spring-beans</artifactId>
502 <version>${spring.version}</version>
505 <groupId>org.springframework</groupId>
506 <artifactId>spring-context</artifactId>
507 <version>${spring.version}</version>
510 <groupId>com.att.eelf</groupId>
511 <artifactId>eelf-core</artifactId>
512 <version>${eelf.version}</version>
515 <groupId>org.apache.derby</groupId>
516 <artifactId>derby</artifactId>
517 <version>${derby.version}</version>
522 </dependencyManagement>
528 <artifactId>maven-javadoc-plugin</artifactId>
529 <version>2.10.4</version>
531 <failOnError>false</failOnError>
532 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
534 <groupId>org.umlgraph</groupId>
535 <artifactId>umlgraph</artifactId>
536 <version>5.6</version>
538 <additionalparam>-views</additionalparam>
539 <useStandardDocletOptions>true</useStandardDocletOptions>
540 <excludePackageNames>org.opendaylight.*</excludePackageNames>
541 <additionalDependencies>
542 <additionalDependency>
543 <groupId>org.slf4j</groupId>
544 <artifactId>slf4j-api</artifactId>
545 <version>${slf4j.version}</version>
546 </additionalDependency>
547 <additionalDependency>
548 <groupId>org.antlr</groupId>
549 <artifactId>antlr4</artifactId>
550 <version>${antlr.version}</version>
551 </additionalDependency>
552 <additionalDependency>
553 <groupId>org.antlr</groupId>
554 <artifactId>antlr4-runtime</artifactId>
555 <version>${antlr.version}</version>
556 </additionalDependency>
558 <additionalDependency>
559 <groupId>com.sun.jersey</groupId>
560 <artifactId>jersey-client</artifactId>
561 <version>${jersey.json.version}</version>
562 </additionalDependency>
563 <additionalDependency>
564 <groupId>com.sun.jersey</groupId>
565 <artifactId>jersey-core</artifactId>
566 <version>${jersey.json.version}</version>
567 </additionalDependency>
568 <additionalDependency>
569 <groupId>org.apache.httpcomponents</groupId>
570 <artifactId>httpcore-osgi</artifactId>
571 <version>${apache.httpcomponents.core.version}</version>
572 </additionalDependency>
573 <additionalDependency>
574 <groupId>org.apache.httpcomponents</groupId>
575 <artifactId>httpclient-osgi</artifactId>
576 <version>${apache.httpcomponents.client.version}</version>
577 </additionalDependency>
578 <additionalDependency>
579 <groupId>com.fasterxml.jackson.core</groupId>
580 <artifactId>jackson-databind</artifactId>
581 <version>${fasterxml.jackson.version}</version>
582 </additionalDependency>
583 <additionalDependency>
584 <groupId>com.fasterxml.jackson.core</groupId>
585 <artifactId>jackson-annotations</artifactId>
586 <version>${fasterxml.jackson.version}</version>
587 </additionalDependency>
588 <additionalDependency>
589 <groupId>com.fasterxml.jackson.core</groupId>
590 <artifactId>jackson-core</artifactId>
591 <version>${fasterxml.jackson.version}</version>
592 </additionalDependency>
593 <additionalDependency>
594 <groupId>commons-lang</groupId>
595 <artifactId>commons-lang</artifactId>
596 <version>${commons.lang.version}</version>
597 </additionalDependency>
598 </additionalDependencies>
603 <report>javadoc-no-fork</report>
604 <report>test-javadoc-no-fork</report>
610 <report>aggregate</report>
611 <report>test-aggregate</report>
617 <groupId>org.apache.maven.plugins</groupId>
618 <artifactId>maven-jxr-plugin</artifactId>
619 <version>2.3</version>
624 <report>aggregate</report>
625 <report>test-aggregate</report>
632 <artifactId>maven-surefire-plugin</artifactId>
633 <version>2.17</version>
636 <groupId>org.apache.maven.plugins</groupId>
637 <artifactId>maven-changelog-plugin</artifactId>
638 <version>2.3</version>
647 <report>changelog</report>
648 <report>file-activity</report>
654 <groupId>org.codehaus.mojo</groupId>
655 <artifactId>taglist-maven-plugin</artifactId>
656 <version>2.4</version>
665 <url>${onap.nexus.public-url}</url>
667 <enabled>true</enabled>
670 <enabled>true</enabled>
674 <id>onap-staging</id>
675 <url>${onap.nexus.staging-url}</url>
677 <enabled>true</enabled>
680 <enabled>true</enabled>
684 <id>onap-snapshot</id>
685 <url>${onap.nexus.snapshot-url}</url>
687 <enabled>false</enabled>
690 <enabled>true</enabled>
694 <id>opendaylight-mirror</id>
695 <name>opendaylight-mirror</name>
696 <url>${opendaylight.nexus.public-url}</url>
698 <enabled>true</enabled>
699 <updatePolicy>never</updatePolicy>
702 <enabled>false</enabled>
706 <id>opendaylight-snapshot</id>
707 <name>opendaylight-snapshot</name>
708 <url>${opendaylight.nexus.snapshot-url}</url>
710 <enabled>false</enabled>
713 <enabled>true</enabled>
716 <!-- Black Duck plugin dependencies -->
719 <name>JCenter Repository</name>
720 <url>http://jcenter.bintray.com</url>
725 <name>Restlet Repository</name>
726 <url>http://maven.restlet.com</url>
728 </pluginRepositories>
734 <url>https://nexus.onap.org/content/groups/public</url>
736 <enabled>true</enabled>
737 <updatePolicy>never</updatePolicy>
740 <enabled>true</enabled>
741 <updatePolicy>always</updatePolicy>
745 <id>onap-staging</id>
746 <url>https://nexus.onap.org/content/groups/staging</url>
748 <enabled>true</enabled>
749 <updatePolicy>never</updatePolicy>
752 <enabled>true</enabled>
753 <updatePolicy>always</updatePolicy>
757 <id>ecomp-release</id>
758 <name>onap-repository-releases</name>
759 <url>https://nexus.onap.org/content/repositories/releases</url>
761 <enabled>true</enabled>
762 <updatePolicy>never</updatePolicy>
765 <enabled>false</enabled>
769 <id>ecomp-snapshot</id>
770 <name>onap-repository-snapshots</name>
771 <url>https://nexus.onap.org/content/repositories/snapshots</url>
773 <enabled>false</enabled>
776 <enabled>true</enabled>
780 <id>opendaylight-mirror</id>
781 <name>opendaylight-mirror</name>
782 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
784 <enabled>true</enabled>
785 <updatePolicy>never</updatePolicy>
788 <enabled>false</enabled>
792 <id>opendaylight-snapshot</id>
793 <name>opendaylight-snapshot</name>
794 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
796 <enabled>false</enabled>
799 <enabled>true</enabled>
805 <distributionManagement>
807 <id>ecomp-releases</id>
808 <url>http://nexus.onap.org/content/repositories/releases</url>
811 <id>ecomp-snapshots</id>
812 <url>http://nexus.onap.org/content/repositories/snapshots</url>
813 </snapshotRepository>
814 </distributionManagement>
820 <!-- Plugins from ONAP oparent -->
822 <groupId>org.apache.maven.plugins</groupId>
823 <artifactId>maven-deploy-plugin</artifactId>
824 <!-- This version supports the "deployAtEnd" parameter -->
825 <version>2.8</version>
832 <groupId>org.apache.maven.plugins</groupId>
833 <artifactId>maven-site-plugin</artifactId>
834 <version>3.6</version>
837 <groupId>org.apache.maven.wagon</groupId>
838 <artifactId>wagon-webdav-jackrabbit</artifactId>
839 <version>2.10</version>
842 <groupId>org.apache.maven.doxia</groupId>
843 <artifactId>doxia-core</artifactId>
844 <version>1.7</version>
847 <groupId>org.apache.maven.doxia</groupId>
848 <artifactId>doxia-sink-api</artifactId>
849 <version>1.7</version>
852 <groupId>org.apache.maven.doxia</groupId>
853 <artifactId>doxia-logging-api</artifactId>
854 <version>1.7</version>
859 <id>attach-descriptor</id>
861 <goal>attach-descriptor</goal>
867 <artifactId>maven-checkstyle-plugin</artifactId>
868 <version>2.17</version>
871 <groupId>org.onap.oparent</groupId>
872 <artifactId>checkstyle</artifactId>
873 <version>1.1.1</version>
878 <id>check-license</id>
882 <phase>process-sources</phase>
884 <configLocation>onap-checkstyle/check-license.xml</configLocation>
885 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
886 <includeResources>false</includeResources>
887 <includeTestSourceDirectory>true</includeTestSourceDirectory>
888 <includeTestResources>false</includeTestResources>
889 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
892 <failsOnError>false</failsOnError>
893 <consoleOutput>true</consoleOutput>
901 <phase>process-sources</phase>
903 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
904 with minor changes -->
905 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
906 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
907 sources directory -->
908 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
909 <includeResources>true</includeResources>
910 <includeTestSourceDirectory>true</includeTestSourceDirectory>
911 <includeTestResources>true</includeTestResources>
914 <failsOnError>false</failsOnError>
915 <consoleOutput>true</consoleOutput>
921 <groupId>org.jacoco</groupId>
922 <artifactId>jacoco-maven-plugin</artifactId>
923 <version>${jacoco.version}</version>
925 <!-- Note: This exclusion list should match <sonar.exclusions> property
928 <exclude>**/gen/**</exclude>
929 <exclude>**/generated-sources/**</exclude>
930 <exclude>**/yang-gen/**</exclude>
931 <exclude>**/pax/**</exclude>
935 <!-- Prepares the property pointing to the JaCoCo runtime agent which
936 is passed as VM argument when Maven the Surefire plugin is executed. -->
938 <id>pre-unit-test</id>
940 <goal>prepare-agent</goal>
943 <!-- Sets the path to the file which contains the execution data. -->
944 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
945 <!-- Sets the name of the property containing the settings for JaCoCo
947 <propertyName>surefireArgLine</propertyName>
950 <!-- Ensures that the code coverage report for unit tests is created
951 after unit tests have been run. -->
953 <id>post-unit-test</id>
959 <!-- Sets the path to the file which contains the execution data. -->
960 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
961 <!-- Sets the output directory for the code coverage report. -->
962 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
966 <id>pre-integration-test</id>
967 <phase>pre-integration-test</phase>
969 <goal>prepare-agent</goal>
972 <!-- Sets the path to the file which contains the execution data. -->
973 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
974 <!-- Sets the name of the property containing the settings for JaCoCo
976 <propertyName>failsafeArgLine</propertyName>
979 <!-- Ensures that the code coverage report for integration tests after
980 integration tests have been run. -->
982 <id>post-integration-test</id>
983 <phase>post-integration-test</phase>
988 <!-- Sets the path to the file which contains the execution data. -->
989 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
990 <!-- Sets the output directory for the code coverage report. -->
991 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
997 <groupId>org.apache.maven.plugins</groupId>
998 <artifactId>maven-surefire-plugin</artifactId>
999 <version>2.19.1</version>
1001 <!-- Sets the VM argument line used when unit tests are run. -->
1002 <argLine>${surefireArgLine}</argLine>
1003 <!-- Excludes integration tests when unit tests are run. -->
1005 <exclude>**/IT*.java</exclude>
1010 <groupId>org.apache.maven.plugins</groupId>
1011 <artifactId>maven-failsafe-plugin</artifactId>
1012 <version>2.19.1</version>
1014 <!-- Ensures that both integration-test and verify goals of the Failsafe
1015 Maven plugin are executed. -->
1017 <id>integration-tests</id>
1019 <goal>integration-test</goal>
1023 <!-- Sets the VM argument line used when integration tests are run. -->
1024 <argLine>${failsafeArgLine}</argLine>
1030 <groupId>org.apache.maven.plugins</groupId>
1031 <artifactId>maven-compiler-plugin</artifactId>
1032 <version>${maven.compile.plugin.version}</version>
1034 <source>${java.version.source}</source>
1035 <target>${java.version.target}</target>
1039 <groupId>org.sonarsource.scanner.maven</groupId>
1040 <artifactId>sonar-maven-plugin</artifactId>
1041 <version>3.3.0.603</version>
1044 <!-- End of plugins from ONAP oparent -->
1047 <groupId>org.apache.maven.plugins</groupId>
1048 <artifactId>maven-javadoc-plugin</artifactId>
1049 <version>2.10</version>
1051 <additionalDependencies>
1052 <additionalDependency>
1053 <groupId>org.slf4j</groupId>
1054 <artifactId>slf4j-api</artifactId>
1055 <version>${slf4j.version}</version>
1056 </additionalDependency>
1057 <additionalDependency>
1058 <groupId>org.antlr</groupId>
1059 <artifactId>antlr4</artifactId>
1060 <version>${antlr.version}</version>
1061 </additionalDependency>
1062 <additionalDependency>
1063 <groupId>org.antlr</groupId>
1064 <artifactId>antlr4-runtime</artifactId>
1065 <version>${antlr.version}</version>
1066 </additionalDependency>
1068 <additionalDependency>
1069 <groupId>com.sun.jersey</groupId>
1070 <artifactId>jersey-client</artifactId>
1071 <version>${jersey.client.version}</version>
1072 </additionalDependency>
1073 <additionalDependency>
1074 <groupId>com.sun.jersey</groupId>
1075 <artifactId>jersey-core</artifactId>
1076 <version>${jersey.version}</version>
1077 </additionalDependency>
1078 <additionalDependency>
1079 <groupId>org.apache.httpcomponents</groupId>
1080 <artifactId>httpcore-osgi</artifactId>
1081 <version>${apache.httpcomponents.core.version}</version>
1082 </additionalDependency>
1083 <additionalDependency>
1084 <groupId>org.apache.httpcomponents</groupId>
1085 <artifactId>httpclient-osgi</artifactId>
1086 <version>${apache.httpcomponents.client.version}</version>
1087 </additionalDependency>
1088 <additionalDependency>
1089 <groupId>com.fasterxml.jackson.core</groupId>
1090 <artifactId>jackson-databind</artifactId>
1091 <version>${jackson.version}</version>
1092 </additionalDependency>
1093 <additionalDependency>
1094 <groupId>com.fasterxml.jackson.core</groupId>
1095 <artifactId>jackson-annotations</artifactId>
1096 <version>${jackson.version}</version>
1097 </additionalDependency>
1098 <additionalDependency>
1099 <groupId>com.fasterxml.jackson.core</groupId>
1100 <artifactId>jackson-core</artifactId>
1101 <version>${jackson.version}</version>
1102 </additionalDependency>
1103 <additionalDependency>
1104 <groupId>commons-lang</groupId>
1105 <artifactId>commons-lang</artifactId>
1106 <version>${commons.lang.version}</version>
1107 </additionalDependency>
1108 </additionalDependencies>
1115 <goal>aggregate</goal>
1123 <artifactId>maven-source-plugin</artifactId>
1124 <version>2.1.1</version>
1127 <id>bundle-sources</id>
1128 <phase>package</phase>
1130 <!-- produce source artifact for main project sources -->
1131 <goal>jar-no-fork</goal>
1133 <!-- produce source artifact for project test sources -->
1134 <goal>test-jar-no-fork</goal>
1146 <!-- Plugins from ONAP oparent -->
1148 <artifactId>maven-checkstyle-plugin</artifactId>
1151 <groupId>org.codehaus.mojo</groupId>
1152 <artifactId>build-helper-maven-plugin</artifactId>
1153 <version>1.12</version>
1155 <!-- Jacoco / Sonar -->
1157 <groupId>org.jacoco</groupId>
1158 <artifactId>jacoco-maven-plugin</artifactId>
1161 <groupId>org.apache.maven.plugins</groupId>
1162 <artifactId>maven-surefire-plugin</artifactId>
1165 <groupId>org.apache.maven.plugins</groupId>
1166 <artifactId>maven-failsafe-plugin</artifactId>
1169 <!-- End of plugins from ONAP oparent -->
1171 <groupId>org.codehaus.mojo</groupId>
1172 <artifactId>properties-maven-plugin</artifactId>
1173 <version>1.0.0</version>
1177 <goal>set-system-properties</goal>
1182 <name>maven.wagon.http.ssl.allowall</name>
1183 <value>${ssl.allowall}</value>
1186 <name>maven.wagon.http.ssl.insecure</name>
1187 <value>${ssl.insecure}</value>
1195 <groupId>org.sonatype.plugins</groupId>
1196 <artifactId>nexus-staging-maven-plugin</artifactId>
1197 <version>1.6.7</version>
1198 <extensions>true</extensions>
1200 <nexusUrl>${onap.nexus.url}</nexusUrl>
1201 <stagingProfileId>176c31dfe190a</stagingProfileId>
1202 <serverId>ecomp-staging</serverId>
1206 <groupId>org.codehaus.mojo</groupId>
1207 <artifactId>versions-maven-plugin</artifactId>
1208 <version>2.5</version>
1210 <processAllModules>true</processAllModules>
1214 <artifactId>maven-scm-plugin</artifactId>
1215 <version>1.8.1</version>
1217 <tag>${project.artifactId}-${project.version}</tag>