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">
7 This file is generated from ccsdk/parent/setup/src/main/template/pom-template.xml
9 Any updates needed should be made to that template and not to the generated pom.xml file
12 <modelVersion>4.0.0</modelVersion>
13 <packaging>pom</packaging>
14 <groupId>org.onap.ccsdk.parent</groupId>
15 <artifactId>odlparent-lite</artifactId>
16 <version>1.2.0-SNAPSHOT</version>
19 <groupId>org.opendaylight.odlparent</groupId>
20 <artifactId>odlparent-lite</artifactId>
21 <version>3.1.3</version>
26 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
27 <url>http://wiki.onap.org</url>
28 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
33 <url>https://jira.onap.org/</url>
38 <!-- properties from oparent -->
39 <maven.compiler.source>1.8</maven.compiler.source>
40 <maven.compiler.target>1.8</maven.compiler.target>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
43 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
44 <!-- sitePath may be overridden in the inheriting POM if desired -->
45 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
46 <jacoco.version>0.7.7.201606060606</jacoco.version>
47 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
48 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
49 <!-- Default Sonar configuration -->
50 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
51 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
53 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
54 <!-- If following file exist, auto-generation of swagger.json will be done -->
55 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
56 <!-- If following file exist, auto-generation of sdk will be done -->
57 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
58 <!-- end of properties from oparent -->
60 <!-- ONAP repositories -->
61 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
62 <onap.nexus.port>443</onap.nexus.port>
63 <onap.nexus.protocol>https</onap.nexus.protocol>
64 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
65 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
66 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
67 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
68 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
69 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
72 <!-- OpenDaylight repositories -->
73 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
74 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
77 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
78 <java.version.source>1.8</java.version.source>
79 <java.version.target>1.8</java.version.target>
80 <bundle.plugin.version>2.5.0</bundle.plugin.version>
81 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
82 <features.file>features.xml</features.file>
83 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
84 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
85 <checkstyle.skip>true</checkstyle.skip>
88 <sonar.language>java</sonar.language>
89 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
90 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
91 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
92 <sonar.projectVersion>${project.version}</sonar.projectVersion>
97 <!-- CCSDK component versions -->
98 <ccsdk.sli.core.version>0.4.0</ccsdk.sli.core.version>
99 <ccsdk.sli.adaptors.version>0.4.0</ccsdk.sli.adaptors.version>
100 <ccsdk.sli.northbound.version>0.4.0</ccsdk.sli.northbound.version>
101 <ccsdk.sli.plugins.version>0.4.0</ccsdk.sli.plugins.version>
102 <ccsdk.distribution.version>0.4.0</ccsdk.distribution.version>
103 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
104 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
105 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
106 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
107 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
110 <!-- Support libraries used by OpenDaylight -->
111 <odl.mdsal.version>1.7.3</odl.mdsal.version>
112 <odl.mdsal.model.version>0.12.3</odl.mdsal.model.version>
113 <!-- Used by aaa, vtn -->
114 <commons.codec.version>1.10</commons.codec.version>
115 <!-- Used by netconf, ovsdb -->
116 <commons.lang3.version>3.7</commons.lang3.version>
117 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
118 <commons.lang.version>2.6</commons.lang.version>
119 <!-- Used by neutron; see also controller, vtn -->
120 <commons.net.version>3.6</commons.net.version>
121 <!-- Used by neutron -->
122 <eclipse.persistence.version>2.7.1</eclipse.persistence.version>
124 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
125 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
126 <gson.version>2.8.2</gson.version>
127 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
128 <guava.version>23.6</guava.version>
129 <!-- Used by lispflowmapping, sxp, vtn/manager -->
130 <hamcrest.version>1.3.1</hamcrest.version>
131 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
132 integration/distribution, snmp4sdn, toolkit, ttp -->
133 <jackson.version>2.3.2</jackson.version>
134 <!-- Used by snmp4sdn, yangtools -->
135 <javassist.version>3.20.0-GA</javassist.version>
137 <!-- FIXME remove all dependencies for jersey 1.17 after migration all
139 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
140 snmp4sdn, toolkit -->
141 <jersey.version>1.19.4</jersey.version>
143 <jersey.client.version>1.19.4</jersey.client.version>
145 <!-- New packages for jersey migration 1.17 to 2.8 -->
146 <!-- appache.geronimo.bundle for DocGen -->
147 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
148 <org.json.version>20131018</org.json.version>
151 <jettison.version>1.3.8</jettison.version>
152 <!-- Used by persistence -->
153 <jsr305.api.version>3.0.0</jsr305.api.version>
154 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
155 is fixed (either in PowerMock or with a new JUnit release) -->
156 <!-- Used everywhere -->
157 <junit.version>4.11</junit.version>
158 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
159 <logback.version>1.2.3</logback.version>
160 <!-- Used by nic, sfc, sxp, tsdr -->
161 <mockito.version>1.10.19</mockito.version>
162 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
163 <netty.version>4.1.22.Final</netty.version>
164 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
166 <slf4j.version>1.7.25</slf4j.version>
167 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
169 <spring.version>3.2.17.RELEASE</spring.version>
173 <!-- Extra support libraries used by SDN-C -->
174 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
175 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
176 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
177 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
178 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
179 <antlr.version>4.7.1</antlr.version>
180 <mysql.connector.version>5.1.39</mysql.connector.version>
181 <mariadb.connector.version>2.1.1</mariadb.connector.version>
182 <h2database.version>1.4.196</h2database.version>
183 <derby.version>10.14.2.0</derby.version>
185 <eelf.version>1.0.0</eelf.version>
186 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
188 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
190 <glassfish.version>2.27</glassfish.version>
191 <skip.karaf.featureTest>true</skip.karaf.featureTest>
195 <!-- Profiles from ONAP oparent -->
197 <id>generate-json</id>
200 <exists>${swagger-properties}</exists>
203 <name>swagger-sdk.generate-json</name>
209 <groupId>org.codehaus.mojo</groupId>
210 <artifactId>properties-maven-plugin</artifactId>
211 <version>1.0.0</version>
214 <phase>initialize</phase>
216 <goal>read-project-properties</goal>
220 <file>${basedir}/src/main/resources/swagger.properties</file>
227 <groupId>com.github.kongchen</groupId>
228 <artifactId>swagger-maven-plugin</artifactId>
229 <version>3.1.4</version>
233 <locations>${api-rest-package}</locations>
234 <schemes>http,https</schemes>
235 <host>${api-host-ip}:${api-host-port}</host>
236 <basePath>${api-base-path}</basePath>
238 <title>${api-title}</title>
239 <version>${api-version}</version>
240 <description>${api-description}</description>
242 <name>${api-license}</name>
245 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
251 <phase>compile</phase>
253 <goal>generate</goal>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-install-plugin</artifactId>
261 <version>2.3.1</version>
264 <id>install-file-id</id>
265 <phase>install</phase>
267 <goal>install-file</goal>
270 <file>${basedir}/src/main/resources/swagger.json</file>
271 <groupId>${project.groupId}</groupId>
272 <artifactId>${project.artifactId}-swagger-schema</artifactId>
273 <version>${project.version}</version>
274 <packaging>json</packaging>
283 <id>generate-sdk</id>
286 <exists>${swagger-json}</exists>
289 <name>swagger-sdk.generate-java-sdk</name>
295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-antrun-plugin</artifactId>
297 <version>1.8</version>
300 <phase>initialize</phase>
301 <id>ant-create-script</id>
303 <exportAntProperties>true</exportAntProperties>
306 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
307 <condition property="is_windows" value="true">
308 <os family="windows"/>
310 <condition property="isLinux" value="true">
314 <equals arg1="${is_windows}" arg2="true"/>
316 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
317 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
318 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
321 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
322 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
323 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
324 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
336 <groupId>ant-contrib</groupId>
337 <artifactId>ant-contrib</artifactId>
338 <version>1.0b3</version>
341 <artifactId>ant</artifactId>
342 <groupId>ant</groupId>
349 <groupId>io.swagger</groupId>
350 <artifactId>swagger-codegen-maven-plugin</artifactId>
351 <version>2.2.1</version>
355 <goal>generate</goal>
358 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
359 <output>${project.build.directory}/generated-sources</output>
360 <language>java</language>
362 <dateLibrary>joda</dateLibrary>
364 <library>jersey2</library>
365 <groupId>${project.groupId}</groupId>
366 <artifactId>${project.artifactId}-java-sdk</artifactId>
367 <artifactVersion>${project.version}</artifactVersion>
368 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
369 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
370 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
376 <artifactId>exec-maven-plugin</artifactId>
377 <groupId>org.codehaus.mojo</groupId>
378 <version>1.5.0</version>
381 <id>swagger-generate-sources</id>
382 <phase>generate-sources</phase>
387 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
393 <groupId>org.apache.maven.plugins</groupId>
394 <artifactId>maven-clean-plugin</artifactId>
395 <version>3.0.0</version>
398 <id>clean-generated-files</id>
399 <phase>generate-sources</phase>
406 <directory>${project.build.directory}/generated-sources</directory>
417 <groupId>org.onap.msb.swagger-sdk</groupId>
418 <artifactId>swagger-sdk</artifactId>
419 <version>1.0.0</version>
424 <!-- End of profiles from ONAP oparent -->
429 <exists>src/main/yang</exists>
435 <groupId>org.opendaylight.yangtools</groupId>
436 <artifactId>yang-maven-plugin</artifactId>
439 <groupId>org.opendaylight.mdsal</groupId>
440 <artifactId>maven-sal-api-gen-plugin</artifactId>
441 <version>0.12.1</version>
445 <groupId>org.opendaylight.netconf</groupId>
446 <artifactId>sal-rest-docgen-maven</artifactId>
447 <version>${odl.mdsal.version}</version>
454 <goal>generate-sources</goal>
457 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
460 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
461 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
464 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
465 <outputBaseDir>target/swagger</outputBaseDir>
468 <inspectDependencies>true</inspectDependencies>
480 <dependencyManagement>
483 <groupId>org.opendaylight.controller</groupId>
484 <artifactId>mdsal-artifacts</artifactId>
485 <version>${odl.mdsal.version}</version>
487 <scope>import</scope>
490 <groupId>org.opendaylight.mdsal.model</groupId>
491 <artifactId>mdsal-model-artifacts</artifactId>
492 <version>${odl.mdsal.model.version}</version>
494 <scope>import</scope>
497 <groupId>org.opendaylight.controller</groupId>
498 <artifactId>sal-binding-config</artifactId>
499 <version>${odl.mdsal.version}</version>
503 <groupId>org.opendaylight.controller</groupId>
504 <artifactId>sal-test-model</artifactId>
505 <version>${odl.mdsal.version}</version>
508 <groupId>org.opendaylight.controller</groupId>
509 <artifactId>sal-binding-broker-impl</artifactId>
510 <version>${odl.mdsal.version}</version>
513 <groupId>org.opendaylight.controller</groupId>
514 <artifactId>sal-binding-broker-impl</artifactId>
515 <version>${odl.mdsal.version}</version>
516 <type>test-jar</type>
517 <classifier>tests</classifier>
521 <groupId>org.onap.ccsdk.sli.core</groupId>
522 <artifactId>sli-common</artifactId>
523 <version>${ccsdk.sli.core.version}</version>
527 <groupId>org.onap.ccsdk.sli.core</groupId>
528 <artifactId>sli-provider</artifactId>
529 <version>${ccsdk.sli.core.version}</version>
532 <groupId>org.onap.ccsdk.sli.core</groupId>
533 <artifactId>ccsdk-sli</artifactId>
534 <version>${ccsdk.sli.core.version}</version>
536 <classifier>features</classifier>
539 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
540 <artifactId>aai-service-provider</artifactId>
541 <version>${sdnctl.aai.service.version}</version>
545 <groupId>org.onap.ccsdk.sli.core</groupId>
546 <artifactId>dblib-provider</artifactId>
547 <version>${sdnctl.dblib.version}</version>
551 <groupId>org.testng</groupId>
552 <artifactId>testng</artifactId>
553 <version>6.11</version>
556 <groupId>org.springframework</groupId>
557 <artifactId>spring-test</artifactId>
558 <version>${spring.version}</version>
561 <groupId>org.springframework</groupId>
562 <artifactId>spring-beans</artifactId>
563 <version>${spring.version}</version>
566 <groupId>org.springframework</groupId>
567 <artifactId>spring-context</artifactId>
568 <version>${spring.version}</version>
571 <groupId>com.att.eelf</groupId>
572 <artifactId>eelf-core</artifactId>
573 <version>${eelf.version}</version>
576 <groupId>org.apache.derby</groupId>
577 <artifactId>derby</artifactId>
578 <version>${derby.version}</version>
583 </dependencyManagement>
589 <artifactId>maven-javadoc-plugin</artifactId>
590 <version>2.10.4</version>
592 <failOnError>false</failOnError>
593 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
595 <groupId>org.umlgraph</groupId>
596 <artifactId>umlgraph</artifactId>
597 <version>5.6</version>
599 <additionalparam>-views</additionalparam>
600 <useStandardDocletOptions>true</useStandardDocletOptions>
601 <excludePackageNames>org.opendaylight.*</excludePackageNames>
602 <additionalDependencies>
603 <additionalDependency>
604 <groupId>org.slf4j</groupId>
605 <artifactId>slf4j-api</artifactId>
606 <version>${slf4j.version}</version>
607 </additionalDependency>
608 <additionalDependency>
609 <groupId>org.antlr</groupId>
610 <artifactId>antlr4</artifactId>
611 <version>${antlr.version}</version>
612 </additionalDependency>
613 <additionalDependency>
614 <groupId>org.antlr</groupId>
615 <artifactId>antlr4-runtime</artifactId>
616 <version>${antlr.version}</version>
617 </additionalDependency>
619 <additionalDependency>
620 <groupId>com.sun.jersey</groupId>
621 <artifactId>jersey-client</artifactId>
622 <version>${jersey.json.version}</version>
623 </additionalDependency>
624 <additionalDependency>
625 <groupId>com.sun.jersey</groupId>
626 <artifactId>jersey-core</artifactId>
627 <version>${jersey.json.version}</version>
628 </additionalDependency>
629 <additionalDependency>
630 <groupId>org.apache.httpcomponents</groupId>
631 <artifactId>httpcore-osgi</artifactId>
632 <version>${apache.httpcomponents.core.version}</version>
633 </additionalDependency>
634 <additionalDependency>
635 <groupId>org.apache.httpcomponents</groupId>
636 <artifactId>httpclient-osgi</artifactId>
637 <version>${apache.httpcomponents.client.version}</version>
638 </additionalDependency>
639 <additionalDependency>
640 <groupId>com.fasterxml.jackson.core</groupId>
641 <artifactId>jackson-databind</artifactId>
642 <version>${fasterxml.jackson.version}</version>
643 </additionalDependency>
644 <additionalDependency>
645 <groupId>com.fasterxml.jackson.core</groupId>
646 <artifactId>jackson-annotations</artifactId>
647 <version>${fasterxml.jackson.version}</version>
648 </additionalDependency>
649 <additionalDependency>
650 <groupId>com.fasterxml.jackson.core</groupId>
651 <artifactId>jackson-core</artifactId>
652 <version>${fasterxml.jackson.version}</version>
653 </additionalDependency>
654 <additionalDependency>
655 <groupId>commons-lang</groupId>
656 <artifactId>commons-lang</artifactId>
657 <version>${commons.lang.version}</version>
658 </additionalDependency>
659 </additionalDependencies>
664 <report>javadoc-no-fork</report>
665 <report>test-javadoc-no-fork</report>
671 <report>aggregate</report>
672 <report>test-aggregate</report>
678 <groupId>org.apache.maven.plugins</groupId>
679 <artifactId>maven-jxr-plugin</artifactId>
680 <version>2.3</version>
685 <report>aggregate</report>
686 <report>test-aggregate</report>
693 <artifactId>maven-surefire-plugin</artifactId>
694 <version>2.17</version>
697 <groupId>org.apache.maven.plugins</groupId>
698 <artifactId>maven-changelog-plugin</artifactId>
699 <version>2.3</version>
708 <report>changelog</report>
709 <report>file-activity</report>
715 <groupId>org.codehaus.mojo</groupId>
716 <artifactId>taglist-maven-plugin</artifactId>
717 <version>2.4</version>
726 <url>${onap.nexus.public-url}</url>
728 <enabled>true</enabled>
731 <enabled>true</enabled>
735 <id>onap-staging</id>
736 <url>${onap.nexus.staging-url}</url>
738 <enabled>true</enabled>
741 <enabled>true</enabled>
745 <id>onap-snapshot</id>
746 <url>${onap.nexus.snapshot-url}</url>
748 <enabled>false</enabled>
751 <enabled>true</enabled>
755 <id>opendaylight-mirror</id>
756 <name>opendaylight-mirror</name>
757 <url>${opendaylight.nexus.public-url}</url>
759 <enabled>true</enabled>
760 <updatePolicy>never</updatePolicy>
763 <enabled>false</enabled>
767 <id>opendaylight-snapshot</id>
768 <name>opendaylight-snapshot</name>
769 <url>${opendaylight.nexus.snapshot-url}</url>
771 <enabled>false</enabled>
774 <enabled>true</enabled>
777 <!-- Black Duck plugin dependencies -->
780 <name>JCenter Repository</name>
781 <url>http://jcenter.bintray.com</url>
786 <name>Restlet Repository</name>
787 <url>http://maven.restlet.com</url>
789 </pluginRepositories>
795 <url>https://nexus.onap.org/content/groups/public</url>
797 <enabled>true</enabled>
798 <updatePolicy>never</updatePolicy>
801 <enabled>true</enabled>
802 <updatePolicy>always</updatePolicy>
806 <id>onap-staging</id>
807 <url>https://nexus.onap.org/content/groups/staging</url>
809 <enabled>true</enabled>
810 <updatePolicy>never</updatePolicy>
813 <enabled>true</enabled>
814 <updatePolicy>always</updatePolicy>
818 <id>ecomp-release</id>
819 <name>onap-repository-releases</name>
820 <url>https://nexus.onap.org/content/repositories/releases</url>
822 <enabled>true</enabled>
823 <updatePolicy>never</updatePolicy>
826 <enabled>false</enabled>
830 <id>ecomp-snapshot</id>
831 <name>onap-repository-snapshots</name>
832 <url>https://nexus.onap.org/content/repositories/snapshots</url>
834 <enabled>false</enabled>
837 <enabled>true</enabled>
841 <id>opendaylight-mirror</id>
842 <name>opendaylight-mirror</name>
843 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
845 <enabled>true</enabled>
846 <updatePolicy>never</updatePolicy>
849 <enabled>false</enabled>
853 <id>opendaylight-snapshot</id>
854 <name>opendaylight-snapshot</name>
855 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
857 <enabled>false</enabled>
860 <enabled>true</enabled>
866 <distributionManagement>
868 <id>ecomp-releases</id>
869 <url>https://nexus.onap.org/content/repositories/releases</url>
872 <id>ecomp-snapshots</id>
873 <url>https://nexus.onap.org/content/repositories/snapshots</url>
874 </snapshotRepository>
875 </distributionManagement>
881 <!-- Plugins from ONAP oparent -->
883 <groupId>org.apache.maven.plugins</groupId>
884 <artifactId>maven-deploy-plugin</artifactId>
885 <!-- This version supports the "deployAtEnd" parameter -->
886 <version>2.8</version>
893 <groupId>org.apache.maven.plugins</groupId>
894 <artifactId>maven-site-plugin</artifactId>
895 <version>3.6</version>
898 <groupId>org.apache.maven.wagon</groupId>
899 <artifactId>wagon-webdav-jackrabbit</artifactId>
900 <version>2.10</version>
903 <groupId>org.apache.maven.doxia</groupId>
904 <artifactId>doxia-core</artifactId>
905 <version>1.7</version>
908 <groupId>org.apache.maven.doxia</groupId>
909 <artifactId>doxia-sink-api</artifactId>
910 <version>1.7</version>
913 <groupId>org.apache.maven.doxia</groupId>
914 <artifactId>doxia-logging-api</artifactId>
915 <version>1.7</version>
920 <id>attach-descriptor</id>
922 <goal>attach-descriptor</goal>
928 <artifactId>maven-checkstyle-plugin</artifactId>
929 <version>2.17</version>
932 <groupId>org.onap.oparent</groupId>
933 <artifactId>checkstyle</artifactId>
934 <version>1.1.1</version>
939 <id>check-license</id>
943 <phase>process-sources</phase>
945 <configLocation>onap-checkstyle/check-license.xml</configLocation>
946 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
947 <includeResources>false</includeResources>
948 <includeTestSourceDirectory>true</includeTestSourceDirectory>
949 <includeTestResources>false</includeTestResources>
950 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
953 <failsOnError>false</failsOnError>
954 <consoleOutput>true</consoleOutput>
962 <phase>process-sources</phase>
964 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
965 with minor changes -->
966 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
967 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
968 sources directory -->
969 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
970 <includeResources>true</includeResources>
971 <includeTestSourceDirectory>true</includeTestSourceDirectory>
972 <includeTestResources>true</includeTestResources>
975 <failsOnError>false</failsOnError>
976 <consoleOutput>true</consoleOutput>
982 <groupId>org.jacoco</groupId>
983 <artifactId>jacoco-maven-plugin</artifactId>
984 <version>${jacoco.version}</version>
986 <!-- Note: This exclusion list should match <sonar.exclusions> property
989 <exclude>**/gen/**</exclude>
990 <exclude>**/generated-sources/**</exclude>
991 <exclude>**/yang-gen/**</exclude>
992 <exclude>**/pax/**</exclude>
996 <!-- Prepares the property pointing to the JaCoCo runtime agent which
997 is passed as VM argument when Maven the Surefire plugin is executed. -->
999 <id>pre-unit-test</id>
1001 <goal>prepare-agent</goal>
1004 <!-- Sets the path to the file which contains the execution data. -->
1005 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
1006 <!-- Sets the name of the property containing the settings for JaCoCo
1008 <propertyName>surefireArgLine</propertyName>
1011 <!-- Ensures that the code coverage report for unit tests is created
1012 after unit tests have been run. -->
1014 <id>post-unit-test</id>
1020 <!-- Sets the path to the file which contains the execution data. -->
1021 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
1022 <!-- Sets the output directory for the code coverage report. -->
1023 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
1027 <id>pre-integration-test</id>
1028 <phase>pre-integration-test</phase>
1030 <goal>prepare-agent</goal>
1033 <!-- Sets the path to the file which contains the execution data. -->
1034 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
1035 <!-- Sets the name of the property containing the settings for JaCoCo
1037 <propertyName>failsafeArgLine</propertyName>
1040 <!-- Ensures that the code coverage report for integration tests after
1041 integration tests have been run. -->
1043 <id>post-integration-test</id>
1044 <phase>post-integration-test</phase>
1049 <!-- Sets the path to the file which contains the execution data. -->
1050 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
1051 <!-- Sets the output directory for the code coverage report. -->
1052 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
1058 <groupId>org.apache.maven.plugins</groupId>
1059 <artifactId>maven-surefire-plugin</artifactId>
1060 <version>2.19.1</version>
1062 <!-- Sets the VM argument line used when unit tests are run. -->
1063 <argLine>${surefireArgLine}</argLine>
1064 <!-- Excludes integration tests when unit tests are run. -->
1066 <exclude>**/IT*.java</exclude>
1071 <groupId>org.apache.maven.plugins</groupId>
1072 <artifactId>maven-failsafe-plugin</artifactId>
1073 <version>2.19.1</version>
1075 <!-- Ensures that both integration-test and verify goals of the Failsafe
1076 Maven plugin are executed. -->
1078 <id>integration-tests</id>
1080 <goal>integration-test</goal>
1084 <!-- Sets the VM argument line used when integration tests are run. -->
1085 <argLine>${failsafeArgLine}</argLine>
1091 <groupId>org.apache.maven.plugins</groupId>
1092 <artifactId>maven-compiler-plugin</artifactId>
1093 <version>${maven.compile.plugin.version}</version>
1095 <source>${java.version.source}</source>
1096 <target>${java.version.target}</target>
1100 <groupId>org.sonarsource.scanner.maven</groupId>
1101 <artifactId>sonar-maven-plugin</artifactId>
1102 <version>3.3.0.603</version>
1105 <!-- End of plugins from ONAP oparent -->
1108 <groupId>org.apache.maven.plugins</groupId>
1109 <artifactId>maven-javadoc-plugin</artifactId>
1110 <version>2.10</version>
1112 <additionalDependencies>
1113 <additionalDependency>
1114 <groupId>org.slf4j</groupId>
1115 <artifactId>slf4j-api</artifactId>
1116 <version>${slf4j.version}</version>
1117 </additionalDependency>
1118 <additionalDependency>
1119 <groupId>org.antlr</groupId>
1120 <artifactId>antlr4</artifactId>
1121 <version>${antlr.version}</version>
1122 </additionalDependency>
1123 <additionalDependency>
1124 <groupId>org.antlr</groupId>
1125 <artifactId>antlr4-runtime</artifactId>
1126 <version>${antlr.version}</version>
1127 </additionalDependency>
1129 <additionalDependency>
1130 <groupId>com.sun.jersey</groupId>
1131 <artifactId>jersey-client</artifactId>
1132 <version>${jersey.client.version}</version>
1133 </additionalDependency>
1134 <additionalDependency>
1135 <groupId>com.sun.jersey</groupId>
1136 <artifactId>jersey-core</artifactId>
1137 <version>${jersey.version}</version>
1138 </additionalDependency>
1139 <additionalDependency>
1140 <groupId>org.apache.httpcomponents</groupId>
1141 <artifactId>httpcore-osgi</artifactId>
1142 <version>${apache.httpcomponents.core.version}</version>
1143 </additionalDependency>
1144 <additionalDependency>
1145 <groupId>org.apache.httpcomponents</groupId>
1146 <artifactId>httpclient-osgi</artifactId>
1147 <version>${apache.httpcomponents.client.version}</version>
1148 </additionalDependency>
1149 <additionalDependency>
1150 <groupId>com.fasterxml.jackson.core</groupId>
1151 <artifactId>jackson-databind</artifactId>
1152 <version>${jackson.version}</version>
1153 </additionalDependency>
1154 <additionalDependency>
1155 <groupId>com.fasterxml.jackson.core</groupId>
1156 <artifactId>jackson-annotations</artifactId>
1157 <version>${jackson.version}</version>
1158 </additionalDependency>
1159 <additionalDependency>
1160 <groupId>com.fasterxml.jackson.core</groupId>
1161 <artifactId>jackson-core</artifactId>
1162 <version>${jackson.version}</version>
1163 </additionalDependency>
1164 <additionalDependency>
1165 <groupId>commons-lang</groupId>
1166 <artifactId>commons-lang</artifactId>
1167 <version>${commons.lang.version}</version>
1168 </additionalDependency>
1169 </additionalDependencies>
1176 <goal>aggregate</goal>
1189 <!-- Plugins from ONAP oparent -->
1191 <artifactId>maven-checkstyle-plugin</artifactId>
1194 <groupId>org.codehaus.mojo</groupId>
1195 <artifactId>build-helper-maven-plugin</artifactId>
1196 <version>1.12</version>
1198 <!-- Jacoco / Sonar -->
1200 <groupId>org.jacoco</groupId>
1201 <artifactId>jacoco-maven-plugin</artifactId>
1204 <groupId>org.apache.maven.plugins</groupId>
1205 <artifactId>maven-surefire-plugin</artifactId>
1208 <groupId>org.apache.maven.plugins</groupId>
1209 <artifactId>maven-failsafe-plugin</artifactId>
1212 <!-- End of plugins from ONAP oparent -->
1214 <groupId>org.codehaus.mojo</groupId>
1215 <artifactId>properties-maven-plugin</artifactId>
1216 <version>1.0.0</version>
1220 <goal>set-system-properties</goal>
1225 <name>maven.wagon.http.ssl.allowall</name>
1226 <value>${ssl.allowall}</value>
1229 <name>maven.wagon.http.ssl.insecure</name>
1230 <value>${ssl.insecure}</value>
1238 <groupId>org.sonatype.plugins</groupId>
1239 <artifactId>nexus-staging-maven-plugin</artifactId>
1240 <version>1.6.7</version>
1241 <extensions>true</extensions>
1243 <nexusUrl>${onap.nexus.url}</nexusUrl>
1244 <stagingProfileId>176c31dfe190a</stagingProfileId>
1245 <serverId>ecomp-staging</serverId>
1249 <groupId>org.codehaus.mojo</groupId>
1250 <artifactId>versions-maven-plugin</artifactId>
1251 <version>2.5</version>
1253 <processAllModules>true</processAllModules>
1257 <artifactId>maven-scm-plugin</artifactId>
1258 <version>1.8.1</version>
1260 <tag>${project.artifactId}-${project.version}</tag>