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.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
88 <sonar.projectVersion>${project.version}</sonar.projectVersion>
93 <!-- CCSDK component versions -->
94 <ccsdk.sli.core.version>0.2.1-SNAPSHOT</ccsdk.sli.core.version>
95 <ccsdk.sli.adaptors.version>0.2.1-SNAPSHOT</ccsdk.sli.adaptors.version>
96 <ccsdk.sli.northbound.version>0.2.1-SNAPSHOT</ccsdk.sli.northbound.version>
97 <ccsdk.sli.plugins.version>0.2.1-SNAPSHOT</ccsdk.sli.plugins.version>
98 <ccsdl.distribution.version>0.2.1-SNAPSHOT</ccsdl.distribution.version>
99 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
100 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
101 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
102 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
103 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
106 <!-- Support libraries used by OpenDaylight -->
107 <odl.mdsal.version>1.6.1</odl.mdsal.version>
108 <!-- Used by aaa, vtn -->
109 <commons.codec.version>1.10</commons.codec.version>
110 <!-- Used by netconf, ovsdb -->
111 <commons.lang3.version>3.6</commons.lang3.version>
112 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
113 <commons.lang.version>2.6</commons.lang.version>
114 <!-- Used by neutron; see also controller, vtn -->
115 <commons.net.version>3.6</commons.net.version>
116 <!-- Used by neutron -->
117 <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
119 <felix.dependencymanager.version>4.3.0</felix.dependencymanager.version>
120 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
121 <gson.version>2.7</gson.version>
122 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
123 <guava.version>22.0</guava.version>
124 <!-- Used by lispflowmapping, sxp, vtn/manager -->
125 <hamcrest.version>1.3</hamcrest.version>
126 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
127 integration/distribution, snmp4sdn, toolkit, ttp -->
128 <jackson.version>2.3.2</jackson.version>
129 <!-- Used by snmp4sdn, yangtools -->
130 <javassist.version>3.20.0-GA</javassist.version>
132 <!-- FIXME remove all dependencies for jersey 1.17 after migration
134 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity,
135 defense4all, snmp4sdn, toolkit -->
136 <jersey.version>1.17</jersey.version>
138 <jersey.client.version>1.17</jersey.client.version>
140 <!-- New packages for jersey migration 1.17 to 2.8 -->
141 <!-- appache.geronimo.bundle for DocGen -->
142 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
143 <org.json.version>20131018</org.json.version>
146 <jettison.version>1.3.7</jettison.version>
147 <!-- Used by persistence -->
148 <jsr305.api.version>3.0.0</jsr305.api.version>
149 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
150 is fixed (either in PowerMock or with a new JUnit release) -->
151 <!-- Used everywhere -->
152 <junit.version>4.11</junit.version>
153 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity,
155 <logback.version>1.2.2</logback.version>
156 <!-- Used by nic, sfc, sxp, tsdr -->
157 <mockito.version>1.10.19</mockito.version>
158 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
159 <netty.version>4.1.8.Final</netty.version>
160 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also
161 affinity, toolkit -->
162 <slf4j.version>1.7.21</slf4j.version>
163 <!-- Used in integration/distribution; see also affinity, snmp4sdn,
164 toolkit, tsdr, ttp -->
165 <spring.version>5.0.4.RELEASE</spring.version>
169 <!-- Extra support libraries used by SDN-C -->
170 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
171 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
172 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
173 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
174 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
175 <antlr.version>4.7</antlr.version>
176 <mysql.connector.version>5.1.39</mysql.connector.version>
177 <mariadb.connector.version>2.1.1</mariadb.connector.version>
178 <h2database.version>1.4.186</h2database.version>
180 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
184 <!-- Profiles from ONAP oparent -->
186 <id>generate-json</id>
189 <exists>${swagger-properties}</exists>
192 <name>swagger-sdk.generate-json</name>
198 <groupId>org.codehaus.mojo</groupId>
199 <artifactId>properties-maven-plugin</artifactId>
200 <version>1.0.0</version>
203 <phase>initialize</phase>
205 <goal>read-project-properties</goal>
209 <file>${basedir}/src/main/resources/swagger.properties</file>
216 <groupId>com.github.kongchen</groupId>
217 <artifactId>swagger-maven-plugin</artifactId>
218 <version>3.1.4</version>
222 <locations>${api-rest-package}</locations>
223 <schemes>http,https</schemes>
224 <host>${api-host-ip}:${api-host-port}</host>
225 <basePath>${api-base-path}</basePath>
227 <title>${api-title}</title>
228 <version>${api-version}</version>
229 <description>${api-description}</description>
231 <name>${api-license}</name>
234 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
240 <phase>compile</phase>
242 <goal>generate</goal>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-install-plugin</artifactId>
250 <version>2.3.1</version>
253 <id>install-file-id</id>
254 <phase>install</phase>
256 <goal>install-file</goal>
259 <file>${basedir}/src/main/resources/swagger.json</file>
260 <groupId>${project.groupId}</groupId>
261 <artifactId>${project.artifactId}-swagger-schema</artifactId>
262 <version>${project.version}</version>
263 <packaging>json</packaging>
272 <id>generate-sdk</id>
275 <exists>${swagger-json}</exists>
278 <name>swagger-sdk.generate-java-sdk</name>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-antrun-plugin</artifactId>
286 <version>1.8</version>
289 <phase>initialize</phase>
290 <id>ant-create-script</id>
292 <exportAntProperties>true</exportAntProperties>
296 resource="net/sf/antcontrib/antlib.xml"
297 classpathref="maven.plugin.classpath" />
298 <condition property="is_windows"
300 <os family="windows" />
302 <condition property="isLinux"
307 <equals arg1="${is_windows}"
311 name="swagger.sdk.script.file"
312 value="generated-source-script.bat" />
314 file="${project.build.directory}${file.separator}generated-source-script.bat"
316 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
318 file="${project.build.directory}${file.separator}generated-source-script.bat"
320 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
324 name="swagger.sdk.script.file"
325 value="generated-source-script.sh" />
327 file="${project.build.directory}${file.separator}generated-source-script.sh"
329 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
331 file="${project.build.directory}${file.separator}generated-source-script.sh"
333 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
335 file="${project.build.directory}${file.separator}generated-source-script.sh"
348 <groupId>ant-contrib</groupId>
349 <artifactId>ant-contrib</artifactId>
350 <version>1.0b3</version>
353 <artifactId>ant</artifactId>
354 <groupId>ant</groupId>
361 <groupId>io.swagger</groupId>
362 <artifactId>swagger-codegen-maven-plugin</artifactId>
363 <version>2.2.1</version>
367 <goal>generate</goal>
370 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
371 <output>${project.build.directory}/generated-sources</output>
372 <language>java</language>
374 <dateLibrary>joda</dateLibrary>
376 <library>jersey2</library>
377 <groupId>${project.groupId}</groupId>
378 <artifactId>${project.artifactId}-java-sdk</artifactId>
379 <artifactVersion>${project.version}</artifactVersion>
380 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
381 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
382 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
388 <artifactId>exec-maven-plugin</artifactId>
389 <groupId>org.codehaus.mojo</groupId>
390 <version>1.5.0</version>
393 <id>swagger-generate-sources</id>
394 <phase>generate-sources</phase>
399 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
405 <groupId>org.apache.maven.plugins</groupId>
406 <artifactId>maven-clean-plugin</artifactId>
407 <version>3.0.0</version>
410 <id>clean-generated-files</id>
411 <phase>generate-sources</phase>
418 <directory>${project.build.directory}/generated-sources</directory>
429 <groupId>org.onap.msb.swagger-sdk</groupId>
430 <artifactId>swagger-sdk</artifactId>
431 <version>1.0.0</version>
436 <!-- End of profiles from ONAP oparent -->
441 <exists>src/main/yang</exists>
447 <groupId>org.opendaylight.yangtools</groupId>
448 <artifactId>yang-maven-plugin</artifactId>
449 <version>${yangtools.version}</version>
452 <groupId>org.opendaylight.mdsal</groupId>
453 <artifactId>maven-sal-api-gen-plugin</artifactId>
454 <version>0.11.1</version>
458 <groupId>org.opendaylight.netconf</groupId>
459 <artifactId>sal-rest-docgen-maven</artifactId>
460 <version>${odl.mdsal.version}</version>
467 <goal>generate-sources</goal>
470 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
473 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
474 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
477 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
478 <outputBaseDir>target/swagger</outputBaseDir>
481 <inspectDependencies>true</inspectDependencies>
493 <dependencyManagement>
496 <groupId>org.opendaylight.controller</groupId>
497 <artifactId>mdsal-artifacts</artifactId>
498 <version>${odl.mdsal.version}</version>
500 <scope>import</scope>
503 <groupId>org.opendaylight.mdsal.model</groupId>
504 <artifactId>mdsal-model-artifacts</artifactId>
505 <version>0.11.1</version>
507 <scope>import</scope>
510 <groupId>org.opendaylight.controller</groupId>
511 <artifactId>sal-binding-config</artifactId>
512 <version>${odl.mdsal.version}</version>
516 <groupId>org.opendaylight.controller</groupId>
517 <artifactId>sal-test-model</artifactId>
518 <version>${odl.mdsal.version}</version>
521 <groupId>org.opendaylight.netconf</groupId>
522 <artifactId>sal-rest-connector</artifactId>
523 <version>${odl.mdsal.version}</version>
527 <groupId>org.opendaylight.controller</groupId>
528 <artifactId>sal-binding-broker-impl</artifactId>
529 <version>${odl.mdsal.version}</version>
532 <groupId>org.opendaylight.controller</groupId>
533 <artifactId>sal-binding-broker-impl</artifactId>
534 <version>${odl.mdsal.version}</version>
535 <type>test-jar</type>
536 <classifier>tests</classifier>
540 <groupId>org.onap.ccsdk.sli.core</groupId>
541 <artifactId>sli-common</artifactId>
542 <version>${ccsdk.sli.core.version}</version>
546 <groupId>org.onap.ccsdk.sli.core</groupId>
547 <artifactId>sli-provider</artifactId>
548 <version>${ccsdk.sli.core.version}</version>
551 <groupId>org.onap.ccsdk.sli.core</groupId>
552 <artifactId>ccsdk-sli</artifactId>
553 <version>${ccsdk.sli.core.version}</version>
555 <classifier>features</classifier>
558 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
559 <artifactId>aai-service-provider</artifactId>
560 <version>${sdnctl.aai.service.version}</version>
564 <groupId>org.onap.ccsdk.sli.core</groupId>
565 <artifactId>dblib-provider</artifactId>
566 <version>${sdnctl.dblib.version}</version>
570 <groupId>org.testng</groupId>
571 <artifactId>testng</artifactId>
572 <version>6.11</version>
575 <groupId>org.springframework</groupId>
576 <artifactId>spring-test</artifactId>
577 <version>${spring.version}</version>
580 <groupId>org.springframework</groupId>
581 <artifactId>spring-beans</artifactId>
582 <version>${spring.version}</version>
585 <groupId>org.springframework</groupId>
586 <artifactId>spring-context</artifactId>
587 <version>${spring.version}</version>
591 </dependencyManagement>
597 <artifactId>maven-javadoc-plugin</artifactId>
598 <version>2.10.4</version>
600 <failOnError>false</failOnError>
601 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
603 <groupId>org.umlgraph</groupId>
604 <artifactId>umlgraph</artifactId>
605 <version>5.6</version>
607 <additionalparam>-views</additionalparam>
608 <useStandardDocletOptions>true</useStandardDocletOptions>
609 <excludePackageNames>org.opendaylight.*</excludePackageNames>
610 <additionalDependencies>
611 <additionalDependency>
612 <groupId>org.slf4j</groupId>
613 <artifactId>slf4j-api</artifactId>
614 <version>${slf4j.version}</version>
615 </additionalDependency>
616 <additionalDependency>
617 <groupId>org.antlr</groupId>
618 <artifactId>antlr4</artifactId>
619 <version>${antlr.version}</version>
620 </additionalDependency>
621 <additionalDependency>
622 <groupId>org.antlr</groupId>
623 <artifactId>antlr4-runtime</artifactId>
624 <version>${antlr.version}</version>
625 </additionalDependency>
627 <additionalDependency>
628 <groupId>com.sun.jersey</groupId>
629 <artifactId>jersey-client</artifactId>
630 <version>${jersey.json.version}</version>
631 </additionalDependency>
632 <additionalDependency>
633 <groupId>com.sun.jersey</groupId>
634 <artifactId>jersey-core</artifactId>
635 <version>${jersey.json.version}</version>
636 </additionalDependency>
637 <additionalDependency>
638 <groupId>org.apache.httpcomponents</groupId>
639 <artifactId>httpcore-osgi</artifactId>
640 <version>${apache.httpcomponents.core.version}</version>
641 </additionalDependency>
642 <additionalDependency>
643 <groupId>org.apache.httpcomponents</groupId>
644 <artifactId>httpclient-osgi</artifactId>
645 <version>${apache.httpcomponents.client.version}</version>
646 </additionalDependency>
647 <additionalDependency>
648 <groupId>com.fasterxml.jackson.core</groupId>
649 <artifactId>jackson-databind</artifactId>
650 <version>${fasterxml.jackson.version}</version>
651 </additionalDependency>
652 <additionalDependency>
653 <groupId>com.fasterxml.jackson.core</groupId>
654 <artifactId>jackson-annotations</artifactId>
655 <version>${fasterxml.jackson.version}</version>
656 </additionalDependency>
657 <additionalDependency>
658 <groupId>com.fasterxml.jackson.core</groupId>
659 <artifactId>jackson-core</artifactId>
660 <version>${fasterxml.jackson.version}</version>
661 </additionalDependency>
662 <additionalDependency>
663 <groupId>commons-lang</groupId>
664 <artifactId>commons-lang</artifactId>
665 <version>${commons.lang.version}</version>
666 </additionalDependency>
667 </additionalDependencies>
672 <report>javadoc-no-fork</report>
673 <report>test-javadoc-no-fork</report>
679 <report>aggregate</report>
680 <report>test-aggregate</report>
686 <groupId>org.apache.maven.plugins</groupId>
687 <artifactId>maven-jxr-plugin</artifactId>
688 <version>2.3</version>
693 <report>aggregate</report>
694 <report>test-aggregate</report>
701 <artifactId>maven-surefire-plugin</artifactId>
702 <version>2.17</version>
705 <groupId>org.apache.maven.plugins</groupId>
706 <artifactId>maven-changelog-plugin</artifactId>
707 <version>2.3</version>
716 <report>changelog</report>
717 <report>file-activity</report>
723 <groupId>org.codehaus.mojo</groupId>
724 <artifactId>taglist-maven-plugin</artifactId>
725 <version>2.4</version>
734 <url>${onap.nexus.public-url}</url>
736 <enabled>true</enabled>
739 <enabled>true</enabled>
743 <id>onap-snapshot</id>
744 <url>${onap.nexus.snapshot-url}</url>
746 <enabled>false</enabled>
749 <enabled>true</enabled>
753 <id>opendaylight-mirror</id>
754 <name>opendaylight-mirror</name>
755 <url>${opendaylight.nexus.public-url}</url>
757 <enabled>true</enabled>
758 <updatePolicy>never</updatePolicy>
761 <enabled>false</enabled>
765 <id>opendaylight-snapshot</id>
766 <name>opendaylight-snapshot</name>
767 <url>${opendaylight.nexus.snapshot-url}</url>
769 <enabled>false</enabled>
772 <enabled>true</enabled>
775 <!-- Black Duck plugin dependencies -->
778 <name>JCenter Repository</name>
779 <url>http://jcenter.bintray.com</url>
784 <name>Restlet Repository</name>
785 <url>http://maven.restlet.com</url>
787 </pluginRepositories>
793 <url>https://nexus.onap.org/content/groups/public</url>
795 <enabled>true</enabled>
796 <updatePolicy>never</updatePolicy>
799 <enabled>true</enabled>
800 <updatePolicy>always</updatePolicy>
804 <id>onap-staging</id>
805 <url>https://nexus.onap.org/content/groups/staging</url>
807 <enabled>true</enabled>
808 <updatePolicy>never</updatePolicy>
811 <enabled>true</enabled>
812 <updatePolicy>always</updatePolicy>
816 <id>ecomp-release</id>
817 <name>onap-repository-releases</name>
818 <url>https://nexus.onap.org/content/repositories/releases</url>
820 <enabled>true</enabled>
821 <updatePolicy>never</updatePolicy>
824 <enabled>false</enabled>
828 <id>ecomp-snapshot</id>
829 <name>onap-repository-snapshots</name>
830 <url>https://nexus.onap.org/content/repositories/snapshots</url>
832 <enabled>false</enabled>
835 <enabled>true</enabled>
839 <id>opendaylight-mirror</id>
840 <name>opendaylight-mirror</name>
841 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
843 <enabled>true</enabled>
844 <updatePolicy>never</updatePolicy>
847 <enabled>false</enabled>
851 <id>opendaylight-snapshot</id>
852 <name>opendaylight-snapshot</name>
853 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
855 <enabled>false</enabled>
858 <enabled>true</enabled>
864 <distributionManagement>
866 <id>ecomp-releases</id>
867 <url>http://nexus.onap.org/content/repositories/releases</url>
870 <id>ecomp-snapshots</id>
871 <url>http://nexus.onap.org/content/repositories/snapshots</url>
872 </snapshotRepository>
873 </distributionManagement>
879 <!-- Plugins from ONAP oparent -->
881 <groupId>org.apache.maven.plugins</groupId>
882 <artifactId>maven-deploy-plugin</artifactId>
883 <!-- This version supports the "deployAtEnd" parameter -->
884 <version>2.8</version>
891 <groupId>org.apache.maven.plugins</groupId>
892 <artifactId>maven-site-plugin</artifactId>
893 <version>3.6</version>
896 <groupId>org.apache.maven.wagon</groupId>
897 <artifactId>wagon-webdav-jackrabbit</artifactId>
898 <version>2.10</version>
901 <groupId>org.apache.maven.doxia</groupId>
902 <artifactId>doxia-core</artifactId>
903 <version>1.7</version>
906 <groupId>org.apache.maven.doxia</groupId>
907 <artifactId>doxia-sink-api</artifactId>
908 <version>1.7</version>
911 <groupId>org.apache.maven.doxia</groupId>
912 <artifactId>doxia-logging-api</artifactId>
913 <version>1.7</version>
918 <id>attach-descriptor</id>
920 <goal>attach-descriptor</goal>
926 <artifactId>maven-checkstyle-plugin</artifactId>
927 <version>2.17</version>
930 <groupId>org.onap.oparent</groupId>
931 <artifactId>checkstyle</artifactId>
932 <version>1.1.0-SNAPSHOT</version>
937 <id>check-license</id>
941 <phase>process-sources</phase>
943 <configLocation>onap-checkstyle/check-license.xml</configLocation>
944 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
945 <includeResources>false</includeResources>
946 <includeTestSourceDirectory>true</includeTestSourceDirectory>
947 <includeTestResources>false</includeTestResources>
948 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
951 <failsOnError>false</failsOnError>
952 <consoleOutput>true</consoleOutput>
960 <phase>process-sources</phase>
962 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
963 with minor changes -->
964 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
965 <!-- <sourceDirectory> is needed so that
966 checkstyle ignores the generated sources directory -->
967 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
968 <includeResources>true</includeResources>
969 <includeTestSourceDirectory>true</includeTestSourceDirectory>
970 <includeTestResources>true</includeTestResources>
973 <failsOnError>false</failsOnError>
974 <consoleOutput>true</consoleOutput>
980 <groupId>org.jacoco</groupId>
981 <artifactId>jacoco-maven-plugin</artifactId>
982 <version>${jacoco.version}</version>
984 <!-- Note: This exclusion list should match <sonar.exclusions>
987 <exclude>**/gen/**</exclude>
988 <exclude>**/generated-sources/**</exclude>
989 <exclude>**/yang-gen/**</exclude>
990 <exclude>**/pax/**</exclude>
994 <!-- Prepares the property pointing to the JaCoCo
995 runtime agent which is passed as VM argument when Maven the Surefire plugin
998 <id>pre-unit-test</id>
1000 <goal>prepare-agent</goal>
1003 <!-- Sets the path to the file which contains
1004 the execution data. -->
1005 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
1006 <!-- Sets the name of the property containing
1007 the settings for JaCoCo runtime agent. -->
1008 <propertyName>surefireArgLine</propertyName>
1011 <!-- Ensures that the code coverage report for unit
1012 tests is created after unit tests have been run. -->
1014 <id>post-unit-test</id>
1020 <!-- Sets the path to the file which contains
1021 the execution data. -->
1022 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
1023 <!-- Sets the output directory for the code
1024 coverage report. -->
1025 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
1029 <id>pre-integration-test</id>
1030 <phase>pre-integration-test</phase>
1032 <goal>prepare-agent</goal>
1035 <!-- Sets the path to the file which contains
1036 the execution data. -->
1037 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
1038 <!-- Sets the name of the property containing
1039 the settings for JaCoCo runtime agent. -->
1040 <propertyName>failsafeArgLine</propertyName>
1043 <!-- Ensures that the code coverage report for integration
1044 tests after integration tests have been run. -->
1046 <id>post-integration-test</id>
1047 <phase>post-integration-test</phase>
1052 <!-- Sets the path to the file which contains
1053 the execution data. -->
1054 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
1055 <!-- Sets the output directory for the code
1056 coverage report. -->
1057 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
1063 <groupId>org.apache.maven.plugins</groupId>
1064 <artifactId>maven-surefire-plugin</artifactId>
1065 <version>2.19.1</version>
1067 <!-- Sets the VM argument line used when unit tests
1069 <argLine>${surefireArgLine}</argLine>
1070 <!-- Excludes integration tests when unit tests are
1073 <exclude>**/IT*.java</exclude>
1078 <groupId>org.apache.maven.plugins</groupId>
1079 <artifactId>maven-failsafe-plugin</artifactId>
1080 <version>2.19.1</version>
1082 <!-- Ensures that both integration-test and verify
1083 goals of the Failsafe Maven plugin are executed. -->
1085 <id>integration-tests</id>
1087 <goal>integration-test</goal>
1091 <!-- Sets the VM argument line used when
1092 integration tests are run. -->
1093 <argLine>${failsafeArgLine}</argLine>
1099 <groupId>org.apache.maven.plugins</groupId>
1100 <artifactId>maven-compiler-plugin</artifactId>
1101 <version>${maven.compile.plugin.version}</version>
1103 <source>${java.version.source}</source>
1104 <target>${java.version.target}</target>
1108 <groupId>org.sonarsource.scanner.maven</groupId>
1109 <artifactId>sonar-maven-plugin</artifactId>
1110 <version>3.3.0.603</version>
1113 <!-- End of plugins from ONAP oparent -->
1116 <groupId>org.apache.maven.plugins</groupId>
1117 <artifactId>maven-javadoc-plugin</artifactId>
1118 <version>2.10</version>
1120 <additionalDependencies>
1121 <additionalDependency>
1122 <groupId>org.slf4j</groupId>
1123 <artifactId>slf4j-api</artifactId>
1124 <version>${slf4j.version}</version>
1125 </additionalDependency>
1126 <additionalDependency>
1127 <groupId>org.antlr</groupId>
1128 <artifactId>antlr4</artifactId>
1129 <version>${antlr.version}</version>
1130 </additionalDependency>
1131 <additionalDependency>
1132 <groupId>org.antlr</groupId>
1133 <artifactId>antlr4-runtime</artifactId>
1134 <version>${antlr.version}</version>
1135 </additionalDependency>
1137 <additionalDependency>
1138 <groupId>com.sun.jersey</groupId>
1139 <artifactId>jersey-client</artifactId>
1140 <version>${jersey.client.version}</version>
1141 </additionalDependency>
1142 <additionalDependency>
1143 <groupId>com.sun.jersey</groupId>
1144 <artifactId>jersey-core</artifactId>
1145 <version>${jersey.version}</version>
1146 </additionalDependency>
1147 <additionalDependency>
1148 <groupId>org.apache.httpcomponents</groupId>
1149 <artifactId>httpcore-osgi</artifactId>
1150 <version>${apache.httpcomponents.core.version}</version>
1151 </additionalDependency>
1152 <additionalDependency>
1153 <groupId>org.apache.httpcomponents</groupId>
1154 <artifactId>httpclient-osgi</artifactId>
1155 <version>${apache.httpcomponents.client.version}</version>
1156 </additionalDependency>
1157 <additionalDependency>
1158 <groupId>com.fasterxml.jackson.core</groupId>
1159 <artifactId>jackson-databind</artifactId>
1160 <version>${jackson.version}</version>
1161 </additionalDependency>
1162 <additionalDependency>
1163 <groupId>com.fasterxml.jackson.core</groupId>
1164 <artifactId>jackson-annotations</artifactId>
1165 <version>${jackson.version}</version>
1166 </additionalDependency>
1167 <additionalDependency>
1168 <groupId>com.fasterxml.jackson.core</groupId>
1169 <artifactId>jackson-core</artifactId>
1170 <version>${jackson.version}</version>
1171 </additionalDependency>
1172 <additionalDependency>
1173 <groupId>commons-lang</groupId>
1174 <artifactId>commons-lang</artifactId>
1175 <version>${commons.lang.version}</version>
1176 </additionalDependency>
1177 </additionalDependencies>
1184 <goal>aggregate</goal>
1192 <artifactId>maven-source-plugin</artifactId>
1193 <version>2.1.1</version>
1196 <id>bundle-sources</id>
1197 <phase>package</phase>
1199 <!-- produce source artifact for main project
1201 <goal>jar-no-fork</goal>
1203 <!-- produce source artifact for project
1205 <goal>test-jar-no-fork</goal>
1217 <!-- Plugins from ONAP oparent -->
1219 <artifactId>maven-checkstyle-plugin</artifactId>
1222 <groupId>org.codehaus.mojo</groupId>
1223 <artifactId>build-helper-maven-plugin</artifactId>
1224 <version>1.12</version>
1226 <!-- Jacoco / Sonar -->
1228 <groupId>org.jacoco</groupId>
1229 <artifactId>jacoco-maven-plugin</artifactId>
1232 <groupId>org.apache.maven.plugins</groupId>
1233 <artifactId>maven-surefire-plugin</artifactId>
1236 <groupId>org.apache.maven.plugins</groupId>
1237 <artifactId>maven-failsafe-plugin</artifactId>
1240 <!-- End of plugins from ONAP oparent -->
1242 <groupId>org.codehaus.mojo</groupId>
1243 <artifactId>properties-maven-plugin</artifactId>
1244 <version>1.0.0</version>
1248 <goal>set-system-properties</goal>
1253 <name>maven.wagon.http.ssl.allowall</name>
1254 <value>${ssl.allowall}</value>
1257 <name>maven.wagon.http.ssl.insecure</name>
1258 <value>${ssl.insecure}</value>
1266 <groupId>org.sonatype.plugins</groupId>
1267 <artifactId>nexus-staging-maven-plugin</artifactId>
1268 <version>1.6.7</version>
1269 <extensions>true</extensions>
1271 <nexusUrl>${onap.nexus.url}</nexusUrl>
1272 <stagingProfileId>176c31dfe190a</stagingProfileId>
1273 <serverId>ecomp-staging</serverId>
1277 <groupId>org.codehaus.mojo</groupId>
1278 <artifactId>versions-maven-plugin</artifactId>
1279 <version>2.5</version>
1281 <processAllModules>true</processAllModules>
1285 <artifactId>maven-scm-plugin</artifactId>
1286 <version>1.8.1</version>
1288 <tag>${project.artifactId}-${project.version}</tag>