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>binding-parent</artifactId>
9 <version>1.1.1-SNAPSHOT</version>
12 <groupId>org.opendaylight.mdsal</groupId>
13 <artifactId>binding-parent</artifactId>
14 <version>0.12.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.1-SNAPSHOT</ccsdk.sli.core.version>
92 <ccsdk.sli.adaptors.version>0.3.1-SNAPSHOT</ccsdk.sli.adaptors.version>
93 <ccsdk.sli.northbound.version>0.3.1-SNAPSHOT</ccsdk.sli.northbound.version>
94 <ccsdk.sli.plugins.version>0.3.1-SNAPSHOT</ccsdk.sli.plugins.version>
95 <ccsdk.distribution.version>0.3.1-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>
103 <!-- Support libraries used by OpenDaylight -->
104 <odl.mdsal.version>1.7.3</odl.mdsal.version>
105 <odl.mdsal.model.version>0.12.3</odl.mdsal.model.version>
106 <!-- Used by aaa, vtn -->
107 <commons.codec.version>1.10</commons.codec.version>
108 <!-- Used by netconf, ovsdb -->
109 <commons.lang3.version>3.7</commons.lang3.version>
110 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
111 <commons.lang.version>2.6</commons.lang.version>
112 <!-- Used by neutron; see also controller, vtn -->
113 <commons.net.version>3.6</commons.net.version>
114 <!-- Used by neutron -->
115 <eclipse.persistence.version>2.7.1</eclipse.persistence.version>
117 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
118 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
119 <gson.version>2.8.2</gson.version>
120 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
121 <guava.version>23.6</guava.version>
122 <!-- Used by lispflowmapping, sxp, vtn/manager -->
123 <hamcrest.version>1.3.1</hamcrest.version>
124 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
125 integration/distribution, snmp4sdn, toolkit, ttp -->
126 <jackson.version>2.3.2</jackson.version>
127 <!-- Used by snmp4sdn, yangtools -->
128 <javassist.version>3.20.0-GA</javassist.version>
130 <!-- FIXME remove all dependencies for jersey 1.17 after migration all
132 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
133 snmp4sdn, toolkit -->
134 <jersey.version>1.19.4</jersey.version>
136 <jersey.client.version>1.19.4</jersey.client.version>
138 <!-- New packages for jersey migration 1.17 to 2.8 -->
139 <!-- appache.geronimo.bundle for DocGen -->
140 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
141 <org.json.version>20131018</org.json.version>
144 <jettison.version>1.3.8</jettison.version>
145 <!-- Used by persistence -->
146 <jsr305.api.version>3.0.0</jsr305.api.version>
147 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
148 is fixed (either in PowerMock or with a new JUnit release) -->
149 <!-- Used everywhere -->
150 <junit.version>4.11</junit.version>
151 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
152 <logback.version>1.2.3</logback.version>
153 <!-- Used by nic, sfc, sxp, tsdr -->
154 <mockito.version>1.10.19</mockito.version>
155 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
156 <netty.version>4.1.22.Final</netty.version>
157 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
159 <slf4j.version>1.7.25</slf4j.version>
160 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
162 <spring.version>3.2.17.RELEASE</spring.version>
166 <!-- Extra support libraries used by SDN-C -->
167 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
168 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
169 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
170 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
171 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
172 <antlr.version>4.7.1</antlr.version>
173 <mysql.connector.version>5.1.39</mysql.connector.version>
174 <mariadb.connector.version>2.1.1</mariadb.connector.version>
175 <h2database.version>1.4.196</h2database.version>
176 <derby.version>10.14.2.0</derby.version>
178 <eelf.version>1.0.0</eelf.version>
179 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
181 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
183 <glassfish.version>2.27</glassfish.version>
187 <!-- Profiles from ONAP oparent -->
189 <id>generate-json</id>
192 <exists>${swagger-properties}</exists>
195 <name>swagger-sdk.generate-json</name>
201 <groupId>org.codehaus.mojo</groupId>
202 <artifactId>properties-maven-plugin</artifactId>
203 <version>1.0.0</version>
206 <phase>initialize</phase>
208 <goal>read-project-properties</goal>
212 <file>${basedir}/src/main/resources/swagger.properties</file>
219 <groupId>com.github.kongchen</groupId>
220 <artifactId>swagger-maven-plugin</artifactId>
221 <version>3.1.4</version>
225 <locations>${api-rest-package}</locations>
226 <schemes>http,https</schemes>
227 <host>${api-host-ip}:${api-host-port}</host>
228 <basePath>${api-base-path}</basePath>
230 <title>${api-title}</title>
231 <version>${api-version}</version>
232 <description>${api-description}</description>
234 <name>${api-license}</name>
237 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
243 <phase>compile</phase>
245 <goal>generate</goal>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-install-plugin</artifactId>
253 <version>2.3.1</version>
256 <id>install-file-id</id>
257 <phase>install</phase>
259 <goal>install-file</goal>
262 <file>${basedir}/src/main/resources/swagger.json</file>
263 <groupId>${project.groupId}</groupId>
264 <artifactId>${project.artifactId}-swagger-schema</artifactId>
265 <version>${project.version}</version>
266 <packaging>json</packaging>
275 <id>generate-sdk</id>
278 <exists>${swagger-json}</exists>
281 <name>swagger-sdk.generate-java-sdk</name>
287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-antrun-plugin</artifactId>
289 <version>1.8</version>
292 <phase>initialize</phase>
293 <id>ant-create-script</id>
295 <exportAntProperties>true</exportAntProperties>
298 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
299 <condition property="is_windows" value="true">
300 <os family="windows"/>
302 <condition property="isLinux" value="true">
306 <equals arg1="${is_windows}" arg2="true"/>
308 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
309 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
310 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
313 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
314 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
315 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
316 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
328 <groupId>ant-contrib</groupId>
329 <artifactId>ant-contrib</artifactId>
330 <version>1.0b3</version>
333 <artifactId>ant</artifactId>
334 <groupId>ant</groupId>
341 <groupId>io.swagger</groupId>
342 <artifactId>swagger-codegen-maven-plugin</artifactId>
343 <version>2.2.1</version>
347 <goal>generate</goal>
350 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
351 <output>${project.build.directory}/generated-sources</output>
352 <language>java</language>
354 <dateLibrary>joda</dateLibrary>
356 <library>jersey2</library>
357 <groupId>${project.groupId}</groupId>
358 <artifactId>${project.artifactId}-java-sdk</artifactId>
359 <artifactVersion>${project.version}</artifactVersion>
360 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
361 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
362 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
368 <artifactId>exec-maven-plugin</artifactId>
369 <groupId>org.codehaus.mojo</groupId>
370 <version>1.5.0</version>
373 <id>swagger-generate-sources</id>
374 <phase>generate-sources</phase>
379 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-clean-plugin</artifactId>
387 <version>3.0.0</version>
390 <id>clean-generated-files</id>
391 <phase>generate-sources</phase>
398 <directory>${project.build.directory}/generated-sources</directory>
409 <groupId>org.onap.msb.swagger-sdk</groupId>
410 <artifactId>swagger-sdk</artifactId>
411 <version>1.0.0</version>
416 <!-- End of profiles from ONAP oparent -->
421 <exists>src/main/yang</exists>
427 <groupId>org.opendaylight.yangtools</groupId>
428 <artifactId>yang-maven-plugin</artifactId>
431 <groupId>org.opendaylight.mdsal</groupId>
432 <artifactId>maven-sal-api-gen-plugin</artifactId>
433 <version>0.12.1</version>
437 <groupId>org.opendaylight.netconf</groupId>
438 <artifactId>sal-rest-docgen-maven</artifactId>
439 <version>${odl.mdsal.version}</version>
446 <goal>generate-sources</goal>
449 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
452 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
453 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
456 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
457 <outputBaseDir>target/swagger</outputBaseDir>
460 <inspectDependencies>true</inspectDependencies>
472 <dependencyManagement>
475 <groupId>org.opendaylight.controller</groupId>
476 <artifactId>mdsal-artifacts</artifactId>
477 <version>${odl.mdsal.version}</version>
479 <scope>import</scope>
482 <groupId>org.opendaylight.mdsal.model</groupId>
483 <artifactId>mdsal-model-artifacts</artifactId>
484 <version>${odl.mdsal.model.version}</version>
486 <scope>import</scope>
489 <groupId>org.opendaylight.controller</groupId>
490 <artifactId>sal-binding-config</artifactId>
491 <version>${odl.mdsal.version}</version>
495 <groupId>org.opendaylight.controller</groupId>
496 <artifactId>sal-test-model</artifactId>
497 <version>${odl.mdsal.version}</version>
500 <groupId>org.opendaylight.controller</groupId>
501 <artifactId>sal-binding-broker-impl</artifactId>
502 <version>${odl.mdsal.version}</version>
505 <groupId>org.opendaylight.controller</groupId>
506 <artifactId>sal-binding-broker-impl</artifactId>
507 <version>${odl.mdsal.version}</version>
508 <type>test-jar</type>
509 <classifier>tests</classifier>
513 <groupId>org.onap.ccsdk.sli.core</groupId>
514 <artifactId>sli-common</artifactId>
515 <version>${ccsdk.sli.core.version}</version>
519 <groupId>org.onap.ccsdk.sli.core</groupId>
520 <artifactId>sli-provider</artifactId>
521 <version>${ccsdk.sli.core.version}</version>
524 <groupId>org.onap.ccsdk.sli.core</groupId>
525 <artifactId>ccsdk-sli</artifactId>
526 <version>${ccsdk.sli.core.version}</version>
528 <classifier>features</classifier>
531 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
532 <artifactId>aai-service-provider</artifactId>
533 <version>${sdnctl.aai.service.version}</version>
537 <groupId>org.onap.ccsdk.sli.core</groupId>
538 <artifactId>dblib-provider</artifactId>
539 <version>${sdnctl.dblib.version}</version>
543 <groupId>org.testng</groupId>
544 <artifactId>testng</artifactId>
545 <version>6.11</version>
548 <groupId>org.springframework</groupId>
549 <artifactId>spring-test</artifactId>
550 <version>${spring.version}</version>
553 <groupId>org.springframework</groupId>
554 <artifactId>spring-beans</artifactId>
555 <version>${spring.version}</version>
558 <groupId>org.springframework</groupId>
559 <artifactId>spring-context</artifactId>
560 <version>${spring.version}</version>
563 <groupId>com.att.eelf</groupId>
564 <artifactId>eelf-core</artifactId>
565 <version>${eelf.version}</version>
568 <groupId>org.apache.derby</groupId>
569 <artifactId>derby</artifactId>
570 <version>${derby.version}</version>
575 </dependencyManagement>
581 <artifactId>maven-javadoc-plugin</artifactId>
582 <version>2.10.4</version>
584 <failOnError>false</failOnError>
585 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
587 <groupId>org.umlgraph</groupId>
588 <artifactId>umlgraph</artifactId>
589 <version>5.6</version>
591 <additionalparam>-views</additionalparam>
592 <useStandardDocletOptions>true</useStandardDocletOptions>
593 <excludePackageNames>org.opendaylight.*</excludePackageNames>
594 <additionalDependencies>
595 <additionalDependency>
596 <groupId>org.slf4j</groupId>
597 <artifactId>slf4j-api</artifactId>
598 <version>${slf4j.version}</version>
599 </additionalDependency>
600 <additionalDependency>
601 <groupId>org.antlr</groupId>
602 <artifactId>antlr4</artifactId>
603 <version>${antlr.version}</version>
604 </additionalDependency>
605 <additionalDependency>
606 <groupId>org.antlr</groupId>
607 <artifactId>antlr4-runtime</artifactId>
608 <version>${antlr.version}</version>
609 </additionalDependency>
611 <additionalDependency>
612 <groupId>com.sun.jersey</groupId>
613 <artifactId>jersey-client</artifactId>
614 <version>${jersey.json.version}</version>
615 </additionalDependency>
616 <additionalDependency>
617 <groupId>com.sun.jersey</groupId>
618 <artifactId>jersey-core</artifactId>
619 <version>${jersey.json.version}</version>
620 </additionalDependency>
621 <additionalDependency>
622 <groupId>org.apache.httpcomponents</groupId>
623 <artifactId>httpcore-osgi</artifactId>
624 <version>${apache.httpcomponents.core.version}</version>
625 </additionalDependency>
626 <additionalDependency>
627 <groupId>org.apache.httpcomponents</groupId>
628 <artifactId>httpclient-osgi</artifactId>
629 <version>${apache.httpcomponents.client.version}</version>
630 </additionalDependency>
631 <additionalDependency>
632 <groupId>com.fasterxml.jackson.core</groupId>
633 <artifactId>jackson-databind</artifactId>
634 <version>${fasterxml.jackson.version}</version>
635 </additionalDependency>
636 <additionalDependency>
637 <groupId>com.fasterxml.jackson.core</groupId>
638 <artifactId>jackson-annotations</artifactId>
639 <version>${fasterxml.jackson.version}</version>
640 </additionalDependency>
641 <additionalDependency>
642 <groupId>com.fasterxml.jackson.core</groupId>
643 <artifactId>jackson-core</artifactId>
644 <version>${fasterxml.jackson.version}</version>
645 </additionalDependency>
646 <additionalDependency>
647 <groupId>commons-lang</groupId>
648 <artifactId>commons-lang</artifactId>
649 <version>${commons.lang.version}</version>
650 </additionalDependency>
651 </additionalDependencies>
656 <report>javadoc-no-fork</report>
657 <report>test-javadoc-no-fork</report>
663 <report>aggregate</report>
664 <report>test-aggregate</report>
670 <groupId>org.apache.maven.plugins</groupId>
671 <artifactId>maven-jxr-plugin</artifactId>
672 <version>2.3</version>
677 <report>aggregate</report>
678 <report>test-aggregate</report>
685 <artifactId>maven-surefire-plugin</artifactId>
686 <version>2.17</version>
689 <groupId>org.apache.maven.plugins</groupId>
690 <artifactId>maven-changelog-plugin</artifactId>
691 <version>2.3</version>
700 <report>changelog</report>
701 <report>file-activity</report>
707 <groupId>org.codehaus.mojo</groupId>
708 <artifactId>taglist-maven-plugin</artifactId>
709 <version>2.4</version>
718 <url>${onap.nexus.public-url}</url>
720 <enabled>true</enabled>
723 <enabled>true</enabled>
727 <id>onap-staging</id>
728 <url>${onap.nexus.staging-url}</url>
730 <enabled>true</enabled>
733 <enabled>true</enabled>
737 <id>onap-snapshot</id>
738 <url>${onap.nexus.snapshot-url}</url>
740 <enabled>false</enabled>
743 <enabled>true</enabled>
747 <id>opendaylight-mirror</id>
748 <name>opendaylight-mirror</name>
749 <url>${opendaylight.nexus.public-url}</url>
751 <enabled>true</enabled>
752 <updatePolicy>never</updatePolicy>
755 <enabled>false</enabled>
759 <id>opendaylight-snapshot</id>
760 <name>opendaylight-snapshot</name>
761 <url>${opendaylight.nexus.snapshot-url}</url>
763 <enabled>false</enabled>
766 <enabled>true</enabled>
769 <!-- Black Duck plugin dependencies -->
772 <name>JCenter Repository</name>
773 <url>http://jcenter.bintray.com</url>
778 <name>Restlet Repository</name>
779 <url>http://maven.restlet.com</url>
781 </pluginRepositories>
787 <url>https://nexus.onap.org/content/groups/public</url>
789 <enabled>true</enabled>
790 <updatePolicy>never</updatePolicy>
793 <enabled>true</enabled>
794 <updatePolicy>always</updatePolicy>
798 <id>onap-staging</id>
799 <url>https://nexus.onap.org/content/groups/staging</url>
801 <enabled>true</enabled>
802 <updatePolicy>never</updatePolicy>
805 <enabled>true</enabled>
806 <updatePolicy>always</updatePolicy>
810 <id>ecomp-release</id>
811 <name>onap-repository-releases</name>
812 <url>https://nexus.onap.org/content/repositories/releases</url>
814 <enabled>true</enabled>
815 <updatePolicy>never</updatePolicy>
818 <enabled>false</enabled>
822 <id>ecomp-snapshot</id>
823 <name>onap-repository-snapshots</name>
824 <url>https://nexus.onap.org/content/repositories/snapshots</url>
826 <enabled>false</enabled>
829 <enabled>true</enabled>
833 <id>opendaylight-mirror</id>
834 <name>opendaylight-mirror</name>
835 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
837 <enabled>true</enabled>
838 <updatePolicy>never</updatePolicy>
841 <enabled>false</enabled>
845 <id>opendaylight-snapshot</id>
846 <name>opendaylight-snapshot</name>
847 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
849 <enabled>false</enabled>
852 <enabled>true</enabled>
858 <distributionManagement>
860 <id>ecomp-releases</id>
861 <url>https://nexus.onap.org/content/repositories/releases</url>
864 <id>ecomp-snapshots</id>
865 <url>https://nexus.onap.org/content/repositories/snapshots</url>
866 </snapshotRepository>
867 </distributionManagement>
873 <!-- Plugins from ONAP oparent -->
875 <groupId>org.apache.maven.plugins</groupId>
876 <artifactId>maven-deploy-plugin</artifactId>
877 <!-- This version supports the "deployAtEnd" parameter -->
878 <version>2.8</version>
885 <groupId>org.apache.maven.plugins</groupId>
886 <artifactId>maven-site-plugin</artifactId>
887 <version>3.6</version>
890 <groupId>org.apache.maven.wagon</groupId>
891 <artifactId>wagon-webdav-jackrabbit</artifactId>
892 <version>2.10</version>
895 <groupId>org.apache.maven.doxia</groupId>
896 <artifactId>doxia-core</artifactId>
897 <version>1.7</version>
900 <groupId>org.apache.maven.doxia</groupId>
901 <artifactId>doxia-sink-api</artifactId>
902 <version>1.7</version>
905 <groupId>org.apache.maven.doxia</groupId>
906 <artifactId>doxia-logging-api</artifactId>
907 <version>1.7</version>
912 <id>attach-descriptor</id>
914 <goal>attach-descriptor</goal>
920 <artifactId>maven-checkstyle-plugin</artifactId>
921 <version>2.17</version>
924 <groupId>org.onap.oparent</groupId>
925 <artifactId>checkstyle</artifactId>
926 <version>1.1.1</version>
931 <id>check-license</id>
935 <phase>process-sources</phase>
937 <configLocation>onap-checkstyle/check-license.xml</configLocation>
938 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
939 <includeResources>false</includeResources>
940 <includeTestSourceDirectory>true</includeTestSourceDirectory>
941 <includeTestResources>false</includeTestResources>
942 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
945 <failsOnError>false</failsOnError>
946 <consoleOutput>true</consoleOutput>
954 <phase>process-sources</phase>
956 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
957 with minor changes -->
958 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
959 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
960 sources directory -->
961 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
962 <includeResources>true</includeResources>
963 <includeTestSourceDirectory>true</includeTestSourceDirectory>
964 <includeTestResources>true</includeTestResources>
967 <failsOnError>false</failsOnError>
968 <consoleOutput>true</consoleOutput>
974 <groupId>org.jacoco</groupId>
975 <artifactId>jacoco-maven-plugin</artifactId>
976 <version>${jacoco.version}</version>
978 <!-- Note: This exclusion list should match <sonar.exclusions> property
981 <exclude>**/gen/**</exclude>
982 <exclude>**/generated-sources/**</exclude>
983 <exclude>**/yang-gen/**</exclude>
984 <exclude>**/pax/**</exclude>
988 <!-- Prepares the property pointing to the JaCoCo runtime agent which
989 is passed as VM argument when Maven the Surefire plugin is executed. -->
991 <id>pre-unit-test</id>
993 <goal>prepare-agent</goal>
996 <!-- Sets the path to the file which contains the execution data. -->
997 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
998 <!-- Sets the name of the property containing the settings for JaCoCo
1000 <propertyName>surefireArgLine</propertyName>
1003 <!-- Ensures that the code coverage report for unit tests is created
1004 after unit tests have been run. -->
1006 <id>post-unit-test</id>
1012 <!-- Sets the path to the file which contains the execution data. -->
1013 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
1014 <!-- Sets the output directory for the code coverage report. -->
1015 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
1019 <id>pre-integration-test</id>
1020 <phase>pre-integration-test</phase>
1022 <goal>prepare-agent</goal>
1025 <!-- Sets the path to the file which contains the execution data. -->
1026 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
1027 <!-- Sets the name of the property containing the settings for JaCoCo
1029 <propertyName>failsafeArgLine</propertyName>
1032 <!-- Ensures that the code coverage report for integration tests after
1033 integration tests have been run. -->
1035 <id>post-integration-test</id>
1036 <phase>post-integration-test</phase>
1041 <!-- Sets the path to the file which contains the execution data. -->
1042 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
1043 <!-- Sets the output directory for the code coverage report. -->
1044 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
1050 <groupId>org.apache.maven.plugins</groupId>
1051 <artifactId>maven-surefire-plugin</artifactId>
1052 <version>2.19.1</version>
1054 <!-- Sets the VM argument line used when unit tests are run. -->
1055 <argLine>${surefireArgLine}</argLine>
1056 <!-- Excludes integration tests when unit tests are run. -->
1058 <exclude>**/IT*.java</exclude>
1063 <groupId>org.apache.maven.plugins</groupId>
1064 <artifactId>maven-failsafe-plugin</artifactId>
1065 <version>2.19.1</version>
1067 <!-- Ensures that both integration-test and verify goals of the Failsafe
1068 Maven plugin are executed. -->
1070 <id>integration-tests</id>
1072 <goal>integration-test</goal>
1076 <!-- Sets the VM argument line used when integration tests are run. -->
1077 <argLine>${failsafeArgLine}</argLine>
1083 <groupId>org.apache.maven.plugins</groupId>
1084 <artifactId>maven-compiler-plugin</artifactId>
1085 <version>${maven.compile.plugin.version}</version>
1087 <source>${java.version.source}</source>
1088 <target>${java.version.target}</target>
1092 <groupId>org.sonarsource.scanner.maven</groupId>
1093 <artifactId>sonar-maven-plugin</artifactId>
1094 <version>3.3.0.603</version>
1097 <!-- End of plugins from ONAP oparent -->
1100 <groupId>org.apache.maven.plugins</groupId>
1101 <artifactId>maven-javadoc-plugin</artifactId>
1102 <version>2.10</version>
1104 <additionalDependencies>
1105 <additionalDependency>
1106 <groupId>org.slf4j</groupId>
1107 <artifactId>slf4j-api</artifactId>
1108 <version>${slf4j.version}</version>
1109 </additionalDependency>
1110 <additionalDependency>
1111 <groupId>org.antlr</groupId>
1112 <artifactId>antlr4</artifactId>
1113 <version>${antlr.version}</version>
1114 </additionalDependency>
1115 <additionalDependency>
1116 <groupId>org.antlr</groupId>
1117 <artifactId>antlr4-runtime</artifactId>
1118 <version>${antlr.version}</version>
1119 </additionalDependency>
1121 <additionalDependency>
1122 <groupId>com.sun.jersey</groupId>
1123 <artifactId>jersey-client</artifactId>
1124 <version>${jersey.client.version}</version>
1125 </additionalDependency>
1126 <additionalDependency>
1127 <groupId>com.sun.jersey</groupId>
1128 <artifactId>jersey-core</artifactId>
1129 <version>${jersey.version}</version>
1130 </additionalDependency>
1131 <additionalDependency>
1132 <groupId>org.apache.httpcomponents</groupId>
1133 <artifactId>httpcore-osgi</artifactId>
1134 <version>${apache.httpcomponents.core.version}</version>
1135 </additionalDependency>
1136 <additionalDependency>
1137 <groupId>org.apache.httpcomponents</groupId>
1138 <artifactId>httpclient-osgi</artifactId>
1139 <version>${apache.httpcomponents.client.version}</version>
1140 </additionalDependency>
1141 <additionalDependency>
1142 <groupId>com.fasterxml.jackson.core</groupId>
1143 <artifactId>jackson-databind</artifactId>
1144 <version>${jackson.version}</version>
1145 </additionalDependency>
1146 <additionalDependency>
1147 <groupId>com.fasterxml.jackson.core</groupId>
1148 <artifactId>jackson-annotations</artifactId>
1149 <version>${jackson.version}</version>
1150 </additionalDependency>
1151 <additionalDependency>
1152 <groupId>com.fasterxml.jackson.core</groupId>
1153 <artifactId>jackson-core</artifactId>
1154 <version>${jackson.version}</version>
1155 </additionalDependency>
1156 <additionalDependency>
1157 <groupId>commons-lang</groupId>
1158 <artifactId>commons-lang</artifactId>
1159 <version>${commons.lang.version}</version>
1160 </additionalDependency>
1161 </additionalDependencies>
1168 <goal>aggregate</goal>
1181 <!-- Plugins from ONAP oparent -->
1183 <artifactId>maven-checkstyle-plugin</artifactId>
1186 <groupId>org.codehaus.mojo</groupId>
1187 <artifactId>build-helper-maven-plugin</artifactId>
1188 <version>1.12</version>
1190 <!-- Jacoco / Sonar -->
1192 <groupId>org.jacoco</groupId>
1193 <artifactId>jacoco-maven-plugin</artifactId>
1196 <groupId>org.apache.maven.plugins</groupId>
1197 <artifactId>maven-surefire-plugin</artifactId>
1200 <groupId>org.apache.maven.plugins</groupId>
1201 <artifactId>maven-failsafe-plugin</artifactId>
1204 <!-- End of plugins from ONAP oparent -->
1206 <groupId>org.codehaus.mojo</groupId>
1207 <artifactId>properties-maven-plugin</artifactId>
1208 <version>1.0.0</version>
1212 <goal>set-system-properties</goal>
1217 <name>maven.wagon.http.ssl.allowall</name>
1218 <value>${ssl.allowall}</value>
1221 <name>maven.wagon.http.ssl.insecure</name>
1222 <value>${ssl.insecure}</value>
1230 <groupId>org.sonatype.plugins</groupId>
1231 <artifactId>nexus-staging-maven-plugin</artifactId>
1232 <version>1.6.7</version>
1233 <extensions>true</extensions>
1235 <nexusUrl>${onap.nexus.url}</nexusUrl>
1236 <stagingProfileId>176c31dfe190a</stagingProfileId>
1237 <serverId>ecomp-staging</serverId>
1241 <groupId>org.codehaus.mojo</groupId>
1242 <artifactId>versions-maven-plugin</artifactId>
1243 <version>2.5</version>
1245 <processAllModules>true</processAllModules>
1249 <artifactId>maven-scm-plugin</artifactId>
1250 <version>1.8.1</version>
1252 <tag>${project.artifactId}-${project.version}</tag>