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"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
6 <modelVersion>4.0.0</modelVersion>
7 <packaging>pom</packaging>
8 <groupId>org.onap.ccsdk.parent</groupId>
9 <artifactId>binding-parent</artifactId>
10 <version>1.0.1-SNAPSHOT</version>
13 <groupId>org.opendaylight.mdsal</groupId>
14 <artifactId>binding-parent</artifactId>
15 <version>0.11.1</version>
20 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
21 <url>http://wiki.onap.org</url>
22 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
27 <url>https://jira.onap.org/</url>
32 <!--- properties from oparent -->
33 <maven.compiler.source>1.8</maven.compiler.source>
34 <maven.compiler.target>1.8</maven.compiler.target>
35 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
37 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
38 <!-- sitePath may be overridden in the inheriting POM if desired -->
39 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
40 <jacoco.version>0.7.7.201606060606</jacoco.version>
41 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
42 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
43 <!-- Default Sonar configuration -->
44 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
45 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
46 <!-- Note: This list should match jacoco-maven-plugin's exclusion
48 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
49 <!-- If following file exist, auto-generation of swagger.json will
51 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
52 <!-- If following file exist, auto-generation of sdk will be done -->
53 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
54 <!--- end of properties from oparent -->
56 <!-- ONAP repositories -->
57 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
58 <onap.nexus.port>443</onap.nexus.port>
59 <onap.nexus.protocol>https</onap.nexus.protocol>
60 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
61 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
62 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
63 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
64 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
65 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
68 <!-- OpenDaylight repositories -->
69 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
70 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
73 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
74 <java.version.source>1.8</java.version.source>
75 <java.version.target>1.8</java.version.target>
76 <bundle.plugin.version>2.5.0</bundle.plugin.version>
77 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
78 <features.file>features.xml</features.file>
79 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
80 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
81 <checkstyle.skip>true</checkstyle.skip>
84 <sonar.language>java</sonar.language>
85 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
86 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
87 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
88 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
89 <sonar.projectVersion>${project.version}</sonar.projectVersion>
94 <!-- CCSDK component versions -->
95 <ccsdk.sli.core.version>0.2.1-SNAPSHOT</ccsdk.sli.core.version>
96 <ccsdk.sli.adaptors.version>0.2.1-SNAPSHOT</ccsdk.sli.adaptors.version>
97 <ccsdk.sli.northbound.version>0.2.1-SNAPSHOT</ccsdk.sli.northbound.version>
98 <ccsdk.sli.plugins.version>0.2.1-SNAPSHOT</ccsdk.sli.plugins.version>
99 <ccsdl.distribution.version>0.2.1-SNAPSHOT</ccsdl.distribution.version>
100 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
101 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
102 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
103 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
104 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
107 <!-- Support libraries used by OpenDaylight -->
108 <odl.mdsal.version>1.6.1</odl.mdsal.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.6</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.6.2</eclipse.persistence.version>
120 <felix.dependencymanager.version>4.3.0</felix.dependencymanager.version>
121 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
122 <gson.version>2.7</gson.version>
123 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
124 <guava.version>22.0</guava.version>
125 <!-- Used by lispflowmapping, sxp, vtn/manager -->
126 <hamcrest.version>1.3</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
135 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity,
136 defense4all, snmp4sdn, toolkit -->
137 <jersey.version>1.17</jersey.version>
139 <jersey.client.version>1.17</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.7</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,
156 <logback.version>1.2.2</logback.version>
157 <!-- Used by nic, sfc, sxp, tsdr -->
158 <mockito.version>1.10.19</mockito.version>
159 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
160 <netty.version>4.1.8.Final</netty.version>
161 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also
162 affinity, toolkit -->
163 <slf4j.version>1.7.21</slf4j.version>
164 <!-- Used in integration/distribution; see also affinity, snmp4sdn,
165 toolkit, tsdr, ttp -->
166 <spring.version>5.0.4.RELEASE</spring.version>
170 <!-- Extra support libraries used by SDN-C -->
171 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
172 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
173 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
174 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
175 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
176 <antlr.version>4.7</antlr.version>
177 <mysql.connector.version>5.1.39</mysql.connector.version>
178 <mariadb.connector.version>2.1.1</mariadb.connector.version>
179 <h2database.version>1.4.186</h2database.version>
181 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
185 <!-- Profiles from ONAP oparent -->
187 <id>generate-json</id>
190 <exists>${swagger-properties}</exists>
193 <name>swagger-sdk.generate-json</name>
199 <groupId>org.codehaus.mojo</groupId>
200 <artifactId>properties-maven-plugin</artifactId>
201 <version>1.0.0</version>
204 <phase>initialize</phase>
206 <goal>read-project-properties</goal>
210 <file>${basedir}/src/main/resources/swagger.properties</file>
217 <groupId>com.github.kongchen</groupId>
218 <artifactId>swagger-maven-plugin</artifactId>
219 <version>3.1.4</version>
223 <locations>${api-rest-package}</locations>
224 <schemes>http,https</schemes>
225 <host>${api-host-ip}:${api-host-port}</host>
226 <basePath>${api-base-path}</basePath>
228 <title>${api-title}</title>
229 <version>${api-version}</version>
230 <description>${api-description}</description>
232 <name>${api-license}</name>
235 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
241 <phase>compile</phase>
243 <goal>generate</goal>
249 <groupId>org.apache.maven.plugins</groupId>
250 <artifactId>maven-install-plugin</artifactId>
251 <version>2.3.1</version>
254 <id>install-file-id</id>
255 <phase>install</phase>
257 <goal>install-file</goal>
260 <file>${basedir}/src/main/resources/swagger.json</file>
261 <groupId>${project.groupId}</groupId>
262 <artifactId>${project.artifactId}-swagger-schema</artifactId>
263 <version>${project.version}</version>
264 <packaging>json</packaging>
273 <id>generate-sdk</id>
276 <exists>${swagger-json}</exists>
279 <name>swagger-sdk.generate-java-sdk</name>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-antrun-plugin</artifactId>
287 <version>1.8</version>
290 <phase>initialize</phase>
291 <id>ant-create-script</id>
293 <exportAntProperties>true</exportAntProperties>
297 resource="net/sf/antcontrib/antlib.xml"
298 classpathref="maven.plugin.classpath" />
299 <condition property="is_windows"
301 <os family="windows" />
303 <condition property="isLinux"
308 <equals arg1="${is_windows}"
312 name="swagger.sdk.script.file"
313 value="generated-source-script.bat" />
315 file="${project.build.directory}${file.separator}generated-source-script.bat"
317 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
319 file="${project.build.directory}${file.separator}generated-source-script.bat"
321 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
325 name="swagger.sdk.script.file"
326 value="generated-source-script.sh" />
328 file="${project.build.directory}${file.separator}generated-source-script.sh"
330 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
332 file="${project.build.directory}${file.separator}generated-source-script.sh"
334 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
336 file="${project.build.directory}${file.separator}generated-source-script.sh"
349 <groupId>ant-contrib</groupId>
350 <artifactId>ant-contrib</artifactId>
351 <version>1.0b3</version>
354 <artifactId>ant</artifactId>
355 <groupId>ant</groupId>
362 <groupId>io.swagger</groupId>
363 <artifactId>swagger-codegen-maven-plugin</artifactId>
364 <version>2.2.1</version>
368 <goal>generate</goal>
371 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
372 <output>${project.build.directory}/generated-sources</output>
373 <language>java</language>
375 <dateLibrary>joda</dateLibrary>
377 <library>jersey2</library>
378 <groupId>${project.groupId}</groupId>
379 <artifactId>${project.artifactId}-java-sdk</artifactId>
380 <artifactVersion>${project.version}</artifactVersion>
381 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
382 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
383 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
389 <artifactId>exec-maven-plugin</artifactId>
390 <groupId>org.codehaus.mojo</groupId>
391 <version>1.5.0</version>
394 <id>swagger-generate-sources</id>
395 <phase>generate-sources</phase>
400 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
406 <groupId>org.apache.maven.plugins</groupId>
407 <artifactId>maven-clean-plugin</artifactId>
408 <version>3.0.0</version>
411 <id>clean-generated-files</id>
412 <phase>generate-sources</phase>
419 <directory>${project.build.directory}/generated-sources</directory>
430 <groupId>org.onap.msb.swagger-sdk</groupId>
431 <artifactId>swagger-sdk</artifactId>
432 <version>1.0.0</version>
437 <!-- End of profiles from ONAP oparent -->
442 <exists>src/main/yang</exists>
448 <groupId>org.opendaylight.yangtools</groupId>
449 <artifactId>yang-maven-plugin</artifactId>
450 <version>${yangtools.version}</version>
453 <groupId>org.opendaylight.mdsal</groupId>
454 <artifactId>maven-sal-api-gen-plugin</artifactId>
455 <version>0.11.1</version>
459 <groupId>org.opendaylight.netconf</groupId>
460 <artifactId>sal-rest-docgen-maven</artifactId>
461 <version>${odl.mdsal.version}</version>
468 <goal>generate-sources</goal>
471 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
474 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
475 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
478 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
479 <outputBaseDir>target/swagger</outputBaseDir>
482 <inspectDependencies>true</inspectDependencies>
494 <dependencyManagement>
497 <groupId>org.opendaylight.controller</groupId>
498 <artifactId>mdsal-artifacts</artifactId>
499 <version>${odl.mdsal.version}</version>
501 <scope>import</scope>
504 <groupId>org.opendaylight.mdsal.model</groupId>
505 <artifactId>mdsal-model-artifacts</artifactId>
506 <version>0.11.1</version>
508 <scope>import</scope>
511 <groupId>org.opendaylight.controller</groupId>
512 <artifactId>sal-binding-config</artifactId>
513 <version>${odl.mdsal.version}</version>
517 <groupId>org.opendaylight.controller</groupId>
518 <artifactId>sal-test-model</artifactId>
519 <version>${odl.mdsal.version}</version>
522 <groupId>org.opendaylight.netconf</groupId>
523 <artifactId>sal-rest-connector</artifactId>
524 <version>${odl.mdsal.version}</version>
528 <groupId>org.opendaylight.controller</groupId>
529 <artifactId>sal-binding-broker-impl</artifactId>
530 <version>${odl.mdsal.version}</version>
533 <groupId>org.opendaylight.controller</groupId>
534 <artifactId>sal-binding-broker-impl</artifactId>
535 <version>${odl.mdsal.version}</version>
536 <type>test-jar</type>
537 <classifier>tests</classifier>
541 <groupId>org.onap.ccsdk.sli.core</groupId>
542 <artifactId>sli-common</artifactId>
543 <version>${ccsdk.sli.core.version}</version>
547 <groupId>org.onap.ccsdk.sli.core</groupId>
548 <artifactId>sli-provider</artifactId>
549 <version>${ccsdk.sli.core.version}</version>
552 <groupId>org.onap.ccsdk.sli.core</groupId>
553 <artifactId>ccsdk-sli</artifactId>
554 <version>${ccsdk.sli.core.version}</version>
556 <classifier>features</classifier>
559 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
560 <artifactId>aai-service-provider</artifactId>
561 <version>${sdnctl.aai.service.version}</version>
565 <groupId>org.onap.ccsdk.sli.core</groupId>
566 <artifactId>dblib-provider</artifactId>
567 <version>${sdnctl.dblib.version}</version>
571 <groupId>org.testng</groupId>
572 <artifactId>testng</artifactId>
573 <version>6.11</version>
576 <groupId>org.springframework</groupId>
577 <artifactId>spring-test</artifactId>
578 <version>${spring.version}</version>
581 <groupId>org.springframework</groupId>
582 <artifactId>spring-beans</artifactId>
583 <version>${spring.version}</version>
586 <groupId>org.springframework</groupId>
587 <artifactId>spring-context</artifactId>
588 <version>${spring.version}</version>
592 </dependencyManagement>
598 <artifactId>maven-javadoc-plugin</artifactId>
599 <version>2.10.4</version>
601 <failOnError>false</failOnError>
602 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
604 <groupId>org.umlgraph</groupId>
605 <artifactId>umlgraph</artifactId>
606 <version>5.6</version>
608 <additionalparam>-views</additionalparam>
609 <useStandardDocletOptions>true</useStandardDocletOptions>
610 <excludePackageNames>org.opendaylight.*</excludePackageNames>
611 <additionalDependencies>
612 <additionalDependency>
613 <groupId>org.slf4j</groupId>
614 <artifactId>slf4j-api</artifactId>
615 <version>${slf4j.version}</version>
616 </additionalDependency>
617 <additionalDependency>
618 <groupId>org.antlr</groupId>
619 <artifactId>antlr4</artifactId>
620 <version>${antlr.version}</version>
621 </additionalDependency>
622 <additionalDependency>
623 <groupId>org.antlr</groupId>
624 <artifactId>antlr4-runtime</artifactId>
625 <version>${antlr.version}</version>
626 </additionalDependency>
628 <additionalDependency>
629 <groupId>com.sun.jersey</groupId>
630 <artifactId>jersey-client</artifactId>
631 <version>${jersey.json.version}</version>
632 </additionalDependency>
633 <additionalDependency>
634 <groupId>com.sun.jersey</groupId>
635 <artifactId>jersey-core</artifactId>
636 <version>${jersey.json.version}</version>
637 </additionalDependency>
638 <additionalDependency>
639 <groupId>org.apache.httpcomponents</groupId>
640 <artifactId>httpcore-osgi</artifactId>
641 <version>${apache.httpcomponents.core.version}</version>
642 </additionalDependency>
643 <additionalDependency>
644 <groupId>org.apache.httpcomponents</groupId>
645 <artifactId>httpclient-osgi</artifactId>
646 <version>${apache.httpcomponents.client.version}</version>
647 </additionalDependency>
648 <additionalDependency>
649 <groupId>com.fasterxml.jackson.core</groupId>
650 <artifactId>jackson-databind</artifactId>
651 <version>${fasterxml.jackson.version}</version>
652 </additionalDependency>
653 <additionalDependency>
654 <groupId>com.fasterxml.jackson.core</groupId>
655 <artifactId>jackson-annotations</artifactId>
656 <version>${fasterxml.jackson.version}</version>
657 </additionalDependency>
658 <additionalDependency>
659 <groupId>com.fasterxml.jackson.core</groupId>
660 <artifactId>jackson-core</artifactId>
661 <version>${fasterxml.jackson.version}</version>
662 </additionalDependency>
663 <additionalDependency>
664 <groupId>commons-lang</groupId>
665 <artifactId>commons-lang</artifactId>
666 <version>${commons.lang.version}</version>
667 </additionalDependency>
668 </additionalDependencies>
673 <report>javadoc-no-fork</report>
674 <report>test-javadoc-no-fork</report>
680 <report>aggregate</report>
681 <report>test-aggregate</report>
687 <groupId>org.apache.maven.plugins</groupId>
688 <artifactId>maven-jxr-plugin</artifactId>
689 <version>2.3</version>
694 <report>aggregate</report>
695 <report>test-aggregate</report>
702 <artifactId>maven-surefire-plugin</artifactId>
703 <version>2.17</version>
706 <groupId>org.apache.maven.plugins</groupId>
707 <artifactId>maven-changelog-plugin</artifactId>
708 <version>2.3</version>
717 <report>changelog</report>
718 <report>file-activity</report>
724 <groupId>org.codehaus.mojo</groupId>
725 <artifactId>taglist-maven-plugin</artifactId>
726 <version>2.4</version>
735 <url>${onap.nexus.public-url}</url>
737 <enabled>true</enabled>
740 <enabled>true</enabled>
744 <id>onap-snapshot</id>
745 <url>${onap.nexus.snapshot-url}</url>
747 <enabled>false</enabled>
750 <enabled>true</enabled>
754 <id>opendaylight-mirror</id>
755 <name>opendaylight-mirror</name>
756 <url>${opendaylight.nexus.public-url}</url>
758 <enabled>true</enabled>
759 <updatePolicy>never</updatePolicy>
762 <enabled>false</enabled>
766 <id>opendaylight-snapshot</id>
767 <name>opendaylight-snapshot</name>
768 <url>${opendaylight.nexus.snapshot-url}</url>
770 <enabled>false</enabled>
773 <enabled>true</enabled>
776 <!-- Black Duck plugin dependencies -->
779 <name>JCenter Repository</name>
780 <url>http://jcenter.bintray.com</url>
785 <name>Restlet Repository</name>
786 <url>http://maven.restlet.com</url>
788 </pluginRepositories>
794 <url>https://nexus.onap.org/content/groups/public</url>
796 <enabled>true</enabled>
797 <updatePolicy>never</updatePolicy>
800 <enabled>true</enabled>
801 <updatePolicy>always</updatePolicy>
805 <id>onap-staging</id>
806 <url>https://nexus.onap.org/content/groups/staging</url>
808 <enabled>true</enabled>
809 <updatePolicy>never</updatePolicy>
812 <enabled>true</enabled>
813 <updatePolicy>always</updatePolicy>
817 <id>ecomp-release</id>
818 <name>onap-repository-releases</name>
819 <url>https://nexus.onap.org/content/repositories/releases</url>
821 <enabled>true</enabled>
822 <updatePolicy>never</updatePolicy>
825 <enabled>false</enabled>
829 <id>ecomp-snapshot</id>
830 <name>onap-repository-snapshots</name>
831 <url>https://nexus.onap.org/content/repositories/snapshots</url>
833 <enabled>false</enabled>
836 <enabled>true</enabled>
840 <id>opendaylight-mirror</id>
841 <name>opendaylight-mirror</name>
842 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
844 <enabled>true</enabled>
845 <updatePolicy>never</updatePolicy>
848 <enabled>false</enabled>
852 <id>opendaylight-snapshot</id>
853 <name>opendaylight-snapshot</name>
854 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
856 <enabled>false</enabled>
859 <enabled>true</enabled>
865 <distributionManagement>
867 <id>ecomp-releases</id>
868 <url>http://nexus.onap.org/content/repositories/releases</url>
871 <id>ecomp-snapshots</id>
872 <url>http://nexus.onap.org/content/repositories/snapshots</url>
873 </snapshotRepository>
874 </distributionManagement>
880 <!-- Plugins from ONAP oparent -->
882 <groupId>org.apache.maven.plugins</groupId>
883 <artifactId>maven-deploy-plugin</artifactId>
884 <!-- This version supports the "deployAtEnd" parameter -->
885 <version>2.8</version>
892 <groupId>org.apache.maven.plugins</groupId>
893 <artifactId>maven-site-plugin</artifactId>
894 <version>3.6</version>
897 <groupId>org.apache.maven.wagon</groupId>
898 <artifactId>wagon-webdav-jackrabbit</artifactId>
899 <version>2.10</version>
902 <groupId>org.apache.maven.doxia</groupId>
903 <artifactId>doxia-core</artifactId>
904 <version>1.7</version>
907 <groupId>org.apache.maven.doxia</groupId>
908 <artifactId>doxia-sink-api</artifactId>
909 <version>1.7</version>
912 <groupId>org.apache.maven.doxia</groupId>
913 <artifactId>doxia-logging-api</artifactId>
914 <version>1.7</version>
919 <id>attach-descriptor</id>
921 <goal>attach-descriptor</goal>
927 <artifactId>maven-checkstyle-plugin</artifactId>
928 <version>2.17</version>
931 <groupId>org.onap.oparent</groupId>
932 <artifactId>checkstyle</artifactId>
933 <version>1.1.0-SNAPSHOT</version>
938 <id>check-license</id>
942 <phase>process-sources</phase>
944 <configLocation>onap-checkstyle/check-license.xml</configLocation>
945 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
946 <includeResources>false</includeResources>
947 <includeTestSourceDirectory>true</includeTestSourceDirectory>
948 <includeTestResources>false</includeTestResources>
949 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
952 <failsOnError>false</failsOnError>
953 <consoleOutput>true</consoleOutput>
961 <phase>process-sources</phase>
963 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
964 with minor changes -->
965 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
966 <!-- <sourceDirectory> is needed so that
967 checkstyle ignores the generated sources directory -->
968 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
969 <includeResources>true</includeResources>
970 <includeTestSourceDirectory>true</includeTestSourceDirectory>
971 <includeTestResources>true</includeTestResources>
974 <failsOnError>false</failsOnError>
975 <consoleOutput>true</consoleOutput>
981 <groupId>org.jacoco</groupId>
982 <artifactId>jacoco-maven-plugin</artifactId>
983 <version>${jacoco.version}</version>
985 <!-- Note: This exclusion list should match <sonar.exclusions>
988 <exclude>**/gen/**</exclude>
989 <exclude>**/generated-sources/**</exclude>
990 <exclude>**/yang-gen/**</exclude>
991 <exclude>**/pax/**</exclude>
995 <!-- Prepares the property pointing to the JaCoCo
996 runtime agent which is passed as VM argument when Maven the Surefire plugin
999 <id>pre-unit-test</id>
1001 <goal>prepare-agent</goal>
1004 <!-- Sets the path to the file which contains
1005 the execution data. -->
1006 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
1007 <!-- Sets the name of the property containing
1008 the settings for JaCoCo runtime agent. -->
1009 <propertyName>surefireArgLine</propertyName>
1012 <!-- Ensures that the code coverage report for unit
1013 tests is created after unit tests have been run. -->
1015 <id>post-unit-test</id>
1021 <!-- Sets the path to the file which contains
1022 the execution data. -->
1023 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
1024 <!-- Sets the output directory for the code
1025 coverage report. -->
1026 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
1030 <id>pre-integration-test</id>
1031 <phase>pre-integration-test</phase>
1033 <goal>prepare-agent</goal>
1036 <!-- Sets the path to the file which contains
1037 the execution data. -->
1038 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
1039 <!-- Sets the name of the property containing
1040 the settings for JaCoCo runtime agent. -->
1041 <propertyName>failsafeArgLine</propertyName>
1044 <!-- Ensures that the code coverage report for integration
1045 tests after integration tests have been run. -->
1047 <id>post-integration-test</id>
1048 <phase>post-integration-test</phase>
1053 <!-- Sets the path to the file which contains
1054 the execution data. -->
1055 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
1056 <!-- Sets the output directory for the code
1057 coverage report. -->
1058 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
1064 <groupId>org.apache.maven.plugins</groupId>
1065 <artifactId>maven-surefire-plugin</artifactId>
1066 <version>2.19.1</version>
1068 <!-- Sets the VM argument line used when unit tests
1070 <argLine>${surefireArgLine}</argLine>
1071 <!-- Excludes integration tests when unit tests are
1074 <exclude>**/IT*.java</exclude>
1079 <groupId>org.apache.maven.plugins</groupId>
1080 <artifactId>maven-failsafe-plugin</artifactId>
1081 <version>2.19.1</version>
1083 <!-- Ensures that both integration-test and verify
1084 goals of the Failsafe Maven plugin are executed. -->
1086 <id>integration-tests</id>
1088 <goal>integration-test</goal>
1092 <!-- Sets the VM argument line used when
1093 integration tests are run. -->
1094 <argLine>${failsafeArgLine}</argLine>
1100 <groupId>org.apache.maven.plugins</groupId>
1101 <artifactId>maven-compiler-plugin</artifactId>
1102 <version>${maven.compile.plugin.version}</version>
1104 <source>${java.version.source}</source>
1105 <target>${java.version.target}</target>
1109 <groupId>org.sonarsource.scanner.maven</groupId>
1110 <artifactId>sonar-maven-plugin</artifactId>
1111 <version>3.3.0.603</version>
1114 <!-- End of plugins from ONAP oparent -->
1117 <groupId>org.apache.maven.plugins</groupId>
1118 <artifactId>maven-javadoc-plugin</artifactId>
1119 <version>2.10</version>
1121 <additionalDependencies>
1122 <additionalDependency>
1123 <groupId>org.slf4j</groupId>
1124 <artifactId>slf4j-api</artifactId>
1125 <version>${slf4j.version}</version>
1126 </additionalDependency>
1127 <additionalDependency>
1128 <groupId>org.antlr</groupId>
1129 <artifactId>antlr4</artifactId>
1130 <version>${antlr.version}</version>
1131 </additionalDependency>
1132 <additionalDependency>
1133 <groupId>org.antlr</groupId>
1134 <artifactId>antlr4-runtime</artifactId>
1135 <version>${antlr.version}</version>
1136 </additionalDependency>
1138 <additionalDependency>
1139 <groupId>com.sun.jersey</groupId>
1140 <artifactId>jersey-client</artifactId>
1141 <version>${jersey.client.version}</version>
1142 </additionalDependency>
1143 <additionalDependency>
1144 <groupId>com.sun.jersey</groupId>
1145 <artifactId>jersey-core</artifactId>
1146 <version>${jersey.version}</version>
1147 </additionalDependency>
1148 <additionalDependency>
1149 <groupId>org.apache.httpcomponents</groupId>
1150 <artifactId>httpcore-osgi</artifactId>
1151 <version>${apache.httpcomponents.core.version}</version>
1152 </additionalDependency>
1153 <additionalDependency>
1154 <groupId>org.apache.httpcomponents</groupId>
1155 <artifactId>httpclient-osgi</artifactId>
1156 <version>${apache.httpcomponents.client.version}</version>
1157 </additionalDependency>
1158 <additionalDependency>
1159 <groupId>com.fasterxml.jackson.core</groupId>
1160 <artifactId>jackson-databind</artifactId>
1161 <version>${jackson.version}</version>
1162 </additionalDependency>
1163 <additionalDependency>
1164 <groupId>com.fasterxml.jackson.core</groupId>
1165 <artifactId>jackson-annotations</artifactId>
1166 <version>${jackson.version}</version>
1167 </additionalDependency>
1168 <additionalDependency>
1169 <groupId>com.fasterxml.jackson.core</groupId>
1170 <artifactId>jackson-core</artifactId>
1171 <version>${jackson.version}</version>
1172 </additionalDependency>
1173 <additionalDependency>
1174 <groupId>commons-lang</groupId>
1175 <artifactId>commons-lang</artifactId>
1176 <version>${commons.lang.version}</version>
1177 </additionalDependency>
1178 </additionalDependencies>
1185 <goal>aggregate</goal>
1193 <artifactId>maven-source-plugin</artifactId>
1194 <version>2.1.1</version>
1197 <id>bundle-sources</id>
1198 <phase>package</phase>
1200 <!-- produce source artifact for main project
1202 <goal>jar-no-fork</goal>
1204 <!-- produce source artifact for project
1206 <goal>test-jar-no-fork</goal>
1218 <!-- Plugins from ONAP oparent -->
1220 <artifactId>maven-checkstyle-plugin</artifactId>
1223 <groupId>org.codehaus.mojo</groupId>
1224 <artifactId>build-helper-maven-plugin</artifactId>
1225 <version>1.12</version>
1227 <!-- Jacoco / Sonar -->
1229 <groupId>org.jacoco</groupId>
1230 <artifactId>jacoco-maven-plugin</artifactId>
1233 <groupId>org.apache.maven.plugins</groupId>
1234 <artifactId>maven-surefire-plugin</artifactId>
1237 <groupId>org.apache.maven.plugins</groupId>
1238 <artifactId>maven-failsafe-plugin</artifactId>
1241 <!-- End of plugins from ONAP oparent -->
1243 <groupId>org.codehaus.mojo</groupId>
1244 <artifactId>properties-maven-plugin</artifactId>
1245 <version>1.0.0</version>
1249 <goal>set-system-properties</goal>
1254 <name>maven.wagon.http.ssl.allowall</name>
1255 <value>${ssl.allowall}</value>
1258 <name>maven.wagon.http.ssl.insecure</name>
1259 <value>${ssl.insecure}</value>
1267 <groupId>org.sonatype.plugins</groupId>
1268 <artifactId>nexus-staging-maven-plugin</artifactId>
1269 <version>1.6.7</version>
1270 <extensions>true</extensions>
1272 <nexusUrl>${onap.nexus.url}</nexusUrl>
1273 <stagingProfileId>176c31dfe190a</stagingProfileId>
1274 <serverId>ecomp-staging</serverId>
1278 <groupId>org.codehaus.mojo</groupId>
1279 <artifactId>versions-maven-plugin</artifactId>
1280 <version>2.5</version>
1282 <processAllModules>true</processAllModules>
1286 <artifactId>maven-scm-plugin</artifactId>
1287 <version>1.8.1</version>
1289 <tag>${project.artifactId}-${project.version}</tag>