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.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
45 <!-- Note: This list should match jacoco-maven-plugin's exclusion
47 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
48 <!-- If following file exist, auto-generation of swagger.json will
50 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
51 <!-- If following file exist, auto-generation of sdk will be done -->
52 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
53 <!--- end of properties from oparent -->
55 <!-- ONAP repositories -->
56 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
57 <onap.nexus.port>443</onap.nexus.port>
58 <onap.nexus.protocol>https</onap.nexus.protocol>
59 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
60 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
61 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
62 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
63 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
64 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
67 <!-- OpenDaylight repositories -->
68 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
69 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
72 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
73 <java.version.source>1.8</java.version.source>
74 <java.version.target>1.8</java.version.target>
75 <bundle.plugin.version>2.5.0</bundle.plugin.version>
76 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
77 <features.file>features.xml</features.file>
78 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
79 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
80 <checkstyle.skip>true</checkstyle.skip>
83 <sonar.language>java</sonar.language>
84 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
85 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
86 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
87 <sonar.projectVersion>${project.version}</sonar.projectVersion>
92 <!-- CCSDK component versions -->
93 <ccsdk.sli.core.version>0.2.1-SNAPSHOT</ccsdk.sli.core.version>
94 <ccsdk.sli.adaptors.version>0.2.1-SNAPSHOT</ccsdk.sli.adaptors.version>
95 <ccsdk.sli.northbound.version>0.2.1-SNAPSHOT</ccsdk.sli.northbound.version>
96 <ccsdk.sli.plugins.version>0.2.1-SNAPSHOT</ccsdk.sli.plugins.version>
97 <ccsdk.distribution.version>0.2.1-SNAPSHOT</ccsdk.distribution.version>
98 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
99 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
100 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
101 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
102 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
105 <!-- Support libraries used by OpenDaylight -->
106 <odl.mdsal.version>1.6.1</odl.mdsal.version>
107 <!-- Used by aaa, vtn -->
108 <commons.codec.version>1.10</commons.codec.version>
109 <!-- Used by netconf, ovsdb -->
110 <commons.lang3.version>3.6</commons.lang3.version>
111 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
112 <commons.lang.version>2.6</commons.lang.version>
113 <!-- Used by neutron; see also controller, vtn -->
114 <commons.net.version>3.6</commons.net.version>
115 <!-- Used by neutron -->
116 <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
118 <felix.dependencymanager.version>4.3.0</felix.dependencymanager.version>
119 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
120 <gson.version>2.7</gson.version>
121 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
122 <guava.version>22.0</guava.version>
123 <!-- Used by lispflowmapping, sxp, vtn/manager -->
124 <hamcrest.version>1.3</hamcrest.version>
125 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
126 integration/distribution, snmp4sdn, toolkit, ttp -->
127 <jackson.version>2.3.2</jackson.version>
128 <!-- Used by snmp4sdn, yangtools -->
129 <javassist.version>3.20.0-GA</javassist.version>
131 <!-- FIXME remove all dependencies for jersey 1.17 after migration
133 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity,
134 defense4all, snmp4sdn, toolkit -->
135 <jersey.version>1.17</jersey.version>
137 <jersey.client.version>1.17</jersey.client.version>
139 <!-- New packages for jersey migration 1.17 to 2.8 -->
140 <!-- appache.geronimo.bundle for DocGen -->
141 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
142 <org.json.version>20131018</org.json.version>
145 <jettison.version>1.3.7</jettison.version>
146 <!-- Used by persistence -->
147 <jsr305.api.version>3.0.0</jsr305.api.version>
148 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
149 is fixed (either in PowerMock or with a new JUnit release) -->
150 <!-- Used everywhere -->
151 <junit.version>4.11</junit.version>
152 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity,
154 <logback.version>1.2.2</logback.version>
155 <!-- Used by nic, sfc, sxp, tsdr -->
156 <mockito.version>1.10.19</mockito.version>
157 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
158 <netty.version>4.1.8.Final</netty.version>
159 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also
160 affinity, toolkit -->
161 <slf4j.version>1.7.21</slf4j.version>
162 <!-- Used in integration/distribution; see also affinity, snmp4sdn,
163 toolkit, tsdr, ttp -->
164 <spring.version>3.2.17.RELEASE</spring.version>
168 <!-- Extra support libraries used by SDN-C -->
169 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
170 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
171 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
172 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
173 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
174 <antlr.version>4.7</antlr.version>
175 <mysql.connector.version>5.1.39</mysql.connector.version>
176 <mariadb.connector.version>2.1.1</mariadb.connector.version>
177 <h2database.version>1.4.186</h2database.version>
179 <eelf.version>0.0.1</eelf.version>
180 <eelf.maven.plugin.version>0.0.1</eelf.maven.plugin.version>
182 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
186 <!-- Profiles from ONAP oparent -->
188 <id>generate-json</id>
191 <exists>${swagger-properties}</exists>
194 <name>swagger-sdk.generate-json</name>
200 <groupId>org.codehaus.mojo</groupId>
201 <artifactId>properties-maven-plugin</artifactId>
202 <version>1.0.0</version>
205 <phase>initialize</phase>
207 <goal>read-project-properties</goal>
211 <file>${basedir}/src/main/resources/swagger.properties</file>
218 <groupId>com.github.kongchen</groupId>
219 <artifactId>swagger-maven-plugin</artifactId>
220 <version>3.1.4</version>
224 <locations>${api-rest-package}</locations>
225 <schemes>http,https</schemes>
226 <host>${api-host-ip}:${api-host-port}</host>
227 <basePath>${api-base-path}</basePath>
229 <title>${api-title}</title>
230 <version>${api-version}</version>
231 <description>${api-description}</description>
233 <name>${api-license}</name>
236 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
242 <phase>compile</phase>
244 <goal>generate</goal>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-install-plugin</artifactId>
252 <version>2.3.1</version>
255 <id>install-file-id</id>
256 <phase>install</phase>
258 <goal>install-file</goal>
261 <file>${basedir}/src/main/resources/swagger.json</file>
262 <groupId>${project.groupId}</groupId>
263 <artifactId>${project.artifactId}-swagger-schema</artifactId>
264 <version>${project.version}</version>
265 <packaging>json</packaging>
274 <id>generate-sdk</id>
277 <exists>${swagger-json}</exists>
280 <name>swagger-sdk.generate-java-sdk</name>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-antrun-plugin</artifactId>
288 <version>1.8</version>
291 <phase>initialize</phase>
292 <id>ant-create-script</id>
294 <exportAntProperties>true</exportAntProperties>
298 resource="net/sf/antcontrib/antlib.xml"
299 classpathref="maven.plugin.classpath" />
300 <condition property="is_windows"
302 <os family="windows" />
304 <condition property="isLinux"
309 <equals arg1="${is_windows}"
313 name="swagger.sdk.script.file"
314 value="generated-source-script.bat" />
316 file="${project.build.directory}${file.separator}generated-source-script.bat"
318 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
320 file="${project.build.directory}${file.separator}generated-source-script.bat"
322 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
326 name="swagger.sdk.script.file"
327 value="generated-source-script.sh" />
329 file="${project.build.directory}${file.separator}generated-source-script.sh"
331 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
333 file="${project.build.directory}${file.separator}generated-source-script.sh"
335 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
337 file="${project.build.directory}${file.separator}generated-source-script.sh"
350 <groupId>ant-contrib</groupId>
351 <artifactId>ant-contrib</artifactId>
352 <version>1.0b3</version>
355 <artifactId>ant</artifactId>
356 <groupId>ant</groupId>
363 <groupId>io.swagger</groupId>
364 <artifactId>swagger-codegen-maven-plugin</artifactId>
365 <version>2.2.1</version>
369 <goal>generate</goal>
372 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
373 <output>${project.build.directory}/generated-sources</output>
374 <language>java</language>
376 <dateLibrary>joda</dateLibrary>
378 <library>jersey2</library>
379 <groupId>${project.groupId}</groupId>
380 <artifactId>${project.artifactId}-java-sdk</artifactId>
381 <artifactVersion>${project.version}</artifactVersion>
382 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
383 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
384 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
390 <artifactId>exec-maven-plugin</artifactId>
391 <groupId>org.codehaus.mojo</groupId>
392 <version>1.5.0</version>
395 <id>swagger-generate-sources</id>
396 <phase>generate-sources</phase>
401 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-clean-plugin</artifactId>
409 <version>3.0.0</version>
412 <id>clean-generated-files</id>
413 <phase>generate-sources</phase>
420 <directory>${project.build.directory}/generated-sources</directory>
431 <groupId>org.onap.msb.swagger-sdk</groupId>
432 <artifactId>swagger-sdk</artifactId>
433 <version>1.0.0</version>
438 <!-- End of profiles from ONAP oparent -->
443 <exists>src/main/yang</exists>
449 <groupId>org.opendaylight.yangtools</groupId>
450 <artifactId>yang-maven-plugin</artifactId>
451 <version>${yangtools.version}</version>
454 <groupId>org.opendaylight.mdsal</groupId>
455 <artifactId>maven-sal-api-gen-plugin</artifactId>
456 <version>0.11.1</version>
460 <groupId>org.opendaylight.netconf</groupId>
461 <artifactId>sal-rest-docgen-maven</artifactId>
462 <version>${odl.mdsal.version}</version>
469 <goal>generate-sources</goal>
472 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
475 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
476 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
479 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
480 <outputBaseDir>target/swagger</outputBaseDir>
483 <inspectDependencies>true</inspectDependencies>
495 <dependencyManagement>
498 <groupId>org.opendaylight.controller</groupId>
499 <artifactId>mdsal-artifacts</artifactId>
500 <version>${odl.mdsal.version}</version>
502 <scope>import</scope>
505 <groupId>org.opendaylight.mdsal.model</groupId>
506 <artifactId>mdsal-model-artifacts</artifactId>
507 <version>0.11.1</version>
509 <scope>import</scope>
512 <groupId>org.opendaylight.controller</groupId>
513 <artifactId>sal-binding-config</artifactId>
514 <version>${odl.mdsal.version}</version>
518 <groupId>org.opendaylight.controller</groupId>
519 <artifactId>sal-test-model</artifactId>
520 <version>${odl.mdsal.version}</version>
523 <groupId>org.opendaylight.netconf</groupId>
524 <artifactId>sal-rest-connector</artifactId>
525 <version>${odl.mdsal.version}</version>
529 <groupId>org.opendaylight.controller</groupId>
530 <artifactId>sal-binding-broker-impl</artifactId>
531 <version>${odl.mdsal.version}</version>
534 <groupId>org.opendaylight.controller</groupId>
535 <artifactId>sal-binding-broker-impl</artifactId>
536 <version>${odl.mdsal.version}</version>
537 <type>test-jar</type>
538 <classifier>tests</classifier>
542 <groupId>org.onap.ccsdk.sli.core</groupId>
543 <artifactId>sli-common</artifactId>
544 <version>${ccsdk.sli.core.version}</version>
548 <groupId>org.onap.ccsdk.sli.core</groupId>
549 <artifactId>sli-provider</artifactId>
550 <version>${ccsdk.sli.core.version}</version>
553 <groupId>org.onap.ccsdk.sli.core</groupId>
554 <artifactId>ccsdk-sli</artifactId>
555 <version>${ccsdk.sli.core.version}</version>
557 <classifier>features</classifier>
560 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
561 <artifactId>aai-service-provider</artifactId>
562 <version>${sdnctl.aai.service.version}</version>
566 <groupId>org.onap.ccsdk.sli.core</groupId>
567 <artifactId>dblib-provider</artifactId>
568 <version>${sdnctl.dblib.version}</version>
572 <groupId>org.testng</groupId>
573 <artifactId>testng</artifactId>
574 <version>6.11</version>
577 <groupId>org.springframework</groupId>
578 <artifactId>spring-test</artifactId>
579 <version>${spring.version}</version>
582 <groupId>org.springframework</groupId>
583 <artifactId>spring-beans</artifactId>
584 <version>${spring.version}</version>
587 <groupId>org.springframework</groupId>
588 <artifactId>spring-context</artifactId>
589 <version>${spring.version}</version>
592 <groupId>com.att.eelf</groupId>
593 <artifactId>eelf-core</artifactId>
594 <version>${eelf.version}</version>
598 </dependencyManagement>
604 <artifactId>maven-javadoc-plugin</artifactId>
605 <version>2.10.4</version>
607 <failOnError>false</failOnError>
608 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
610 <groupId>org.umlgraph</groupId>
611 <artifactId>umlgraph</artifactId>
612 <version>5.6</version>
614 <additionalparam>-views</additionalparam>
615 <useStandardDocletOptions>true</useStandardDocletOptions>
616 <excludePackageNames>org.opendaylight.*</excludePackageNames>
617 <additionalDependencies>
618 <additionalDependency>
619 <groupId>org.slf4j</groupId>
620 <artifactId>slf4j-api</artifactId>
621 <version>${slf4j.version}</version>
622 </additionalDependency>
623 <additionalDependency>
624 <groupId>org.antlr</groupId>
625 <artifactId>antlr4</artifactId>
626 <version>${antlr.version}</version>
627 </additionalDependency>
628 <additionalDependency>
629 <groupId>org.antlr</groupId>
630 <artifactId>antlr4-runtime</artifactId>
631 <version>${antlr.version}</version>
632 </additionalDependency>
634 <additionalDependency>
635 <groupId>com.sun.jersey</groupId>
636 <artifactId>jersey-client</artifactId>
637 <version>${jersey.json.version}</version>
638 </additionalDependency>
639 <additionalDependency>
640 <groupId>com.sun.jersey</groupId>
641 <artifactId>jersey-core</artifactId>
642 <version>${jersey.json.version}</version>
643 </additionalDependency>
644 <additionalDependency>
645 <groupId>org.apache.httpcomponents</groupId>
646 <artifactId>httpcore-osgi</artifactId>
647 <version>${apache.httpcomponents.core.version}</version>
648 </additionalDependency>
649 <additionalDependency>
650 <groupId>org.apache.httpcomponents</groupId>
651 <artifactId>httpclient-osgi</artifactId>
652 <version>${apache.httpcomponents.client.version}</version>
653 </additionalDependency>
654 <additionalDependency>
655 <groupId>com.fasterxml.jackson.core</groupId>
656 <artifactId>jackson-databind</artifactId>
657 <version>${fasterxml.jackson.version}</version>
658 </additionalDependency>
659 <additionalDependency>
660 <groupId>com.fasterxml.jackson.core</groupId>
661 <artifactId>jackson-annotations</artifactId>
662 <version>${fasterxml.jackson.version}</version>
663 </additionalDependency>
664 <additionalDependency>
665 <groupId>com.fasterxml.jackson.core</groupId>
666 <artifactId>jackson-core</artifactId>
667 <version>${fasterxml.jackson.version}</version>
668 </additionalDependency>
669 <additionalDependency>
670 <groupId>commons-lang</groupId>
671 <artifactId>commons-lang</artifactId>
672 <version>${commons.lang.version}</version>
673 </additionalDependency>
674 </additionalDependencies>
679 <report>javadoc-no-fork</report>
680 <report>test-javadoc-no-fork</report>
686 <report>aggregate</report>
687 <report>test-aggregate</report>
693 <groupId>org.apache.maven.plugins</groupId>
694 <artifactId>maven-jxr-plugin</artifactId>
695 <version>2.3</version>
700 <report>aggregate</report>
701 <report>test-aggregate</report>
708 <artifactId>maven-surefire-plugin</artifactId>
709 <version>2.17</version>
712 <groupId>org.apache.maven.plugins</groupId>
713 <artifactId>maven-changelog-plugin</artifactId>
714 <version>2.3</version>
723 <report>changelog</report>
724 <report>file-activity</report>
730 <groupId>org.codehaus.mojo</groupId>
731 <artifactId>taglist-maven-plugin</artifactId>
732 <version>2.4</version>
741 <url>${onap.nexus.public-url}</url>
743 <enabled>true</enabled>
746 <enabled>true</enabled>
750 <id>onap-snapshot</id>
751 <url>${onap.nexus.snapshot-url}</url>
753 <enabled>false</enabled>
756 <enabled>true</enabled>
760 <id>opendaylight-mirror</id>
761 <name>opendaylight-mirror</name>
762 <url>${opendaylight.nexus.public-url}</url>
764 <enabled>true</enabled>
765 <updatePolicy>never</updatePolicy>
768 <enabled>false</enabled>
772 <id>opendaylight-snapshot</id>
773 <name>opendaylight-snapshot</name>
774 <url>${opendaylight.nexus.snapshot-url}</url>
776 <enabled>false</enabled>
779 <enabled>true</enabled>
782 <!-- Black Duck plugin dependencies -->
785 <name>JCenter Repository</name>
786 <url>http://jcenter.bintray.com</url>
791 <name>Restlet Repository</name>
792 <url>http://maven.restlet.com</url>
794 </pluginRepositories>
800 <url>https://nexus.onap.org/content/groups/public</url>
802 <enabled>true</enabled>
803 <updatePolicy>never</updatePolicy>
806 <enabled>true</enabled>
807 <updatePolicy>always</updatePolicy>
811 <id>onap-staging</id>
812 <url>https://nexus.onap.org/content/groups/staging</url>
814 <enabled>true</enabled>
815 <updatePolicy>never</updatePolicy>
818 <enabled>true</enabled>
819 <updatePolicy>always</updatePolicy>
823 <id>ecomp-release</id>
824 <name>onap-repository-releases</name>
825 <url>https://nexus.onap.org/content/repositories/releases</url>
827 <enabled>true</enabled>
828 <updatePolicy>never</updatePolicy>
831 <enabled>false</enabled>
835 <id>ecomp-snapshot</id>
836 <name>onap-repository-snapshots</name>
837 <url>https://nexus.onap.org/content/repositories/snapshots</url>
839 <enabled>false</enabled>
842 <enabled>true</enabled>
846 <id>opendaylight-mirror</id>
847 <name>opendaylight-mirror</name>
848 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
850 <enabled>true</enabled>
851 <updatePolicy>never</updatePolicy>
854 <enabled>false</enabled>
858 <id>opendaylight-snapshot</id>
859 <name>opendaylight-snapshot</name>
860 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
862 <enabled>false</enabled>
865 <enabled>true</enabled>
871 <distributionManagement>
873 <id>ecomp-releases</id>
874 <url>http://nexus.onap.org/content/repositories/releases</url>
877 <id>ecomp-snapshots</id>
878 <url>http://nexus.onap.org/content/repositories/snapshots</url>
879 </snapshotRepository>
880 </distributionManagement>
886 <!-- Plugins from ONAP oparent -->
888 <groupId>org.apache.maven.plugins</groupId>
889 <artifactId>maven-deploy-plugin</artifactId>
890 <!-- This version supports the "deployAtEnd" parameter -->
891 <version>2.8</version>
898 <groupId>org.apache.maven.plugins</groupId>
899 <artifactId>maven-site-plugin</artifactId>
900 <version>3.6</version>
903 <groupId>org.apache.maven.wagon</groupId>
904 <artifactId>wagon-webdav-jackrabbit</artifactId>
905 <version>2.10</version>
908 <groupId>org.apache.maven.doxia</groupId>
909 <artifactId>doxia-core</artifactId>
910 <version>1.7</version>
913 <groupId>org.apache.maven.doxia</groupId>
914 <artifactId>doxia-sink-api</artifactId>
915 <version>1.7</version>
918 <groupId>org.apache.maven.doxia</groupId>
919 <artifactId>doxia-logging-api</artifactId>
920 <version>1.7</version>
925 <id>attach-descriptor</id>
927 <goal>attach-descriptor</goal>
933 <artifactId>maven-checkstyle-plugin</artifactId>
934 <version>2.17</version>
937 <groupId>org.onap.oparent</groupId>
938 <artifactId>checkstyle</artifactId>
939 <version>1.1.0-SNAPSHOT</version>
944 <id>check-license</id>
948 <phase>process-sources</phase>
950 <configLocation>onap-checkstyle/check-license.xml</configLocation>
951 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
952 <includeResources>false</includeResources>
953 <includeTestSourceDirectory>true</includeTestSourceDirectory>
954 <includeTestResources>false</includeTestResources>
955 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
958 <failsOnError>false</failsOnError>
959 <consoleOutput>true</consoleOutput>
967 <phase>process-sources</phase>
969 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
970 with minor changes -->
971 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
972 <!-- <sourceDirectory> is needed so that
973 checkstyle ignores the generated sources directory -->
974 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
975 <includeResources>true</includeResources>
976 <includeTestSourceDirectory>true</includeTestSourceDirectory>
977 <includeTestResources>true</includeTestResources>
980 <failsOnError>false</failsOnError>
981 <consoleOutput>true</consoleOutput>
987 <groupId>org.jacoco</groupId>
988 <artifactId>jacoco-maven-plugin</artifactId>
989 <version>${jacoco.version}</version>
991 <!-- Note: This exclusion list should match <sonar.exclusions>
994 <exclude>**/gen/**</exclude>
995 <exclude>**/generated-sources/**</exclude>
996 <exclude>**/yang-gen/**</exclude>
997 <exclude>**/pax/**</exclude>
1001 <!-- Prepares the property pointing to the JaCoCo
1002 runtime agent which is passed as VM argument when Maven the Surefire plugin
1005 <id>pre-unit-test</id>
1007 <goal>prepare-agent</goal>
1010 <!-- Sets the path to the file which contains
1011 the execution data. -->
1012 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
1013 <!-- Sets the name of the property containing
1014 the settings for JaCoCo runtime agent. -->
1015 <propertyName>surefireArgLine</propertyName>
1018 <!-- Ensures that the code coverage report for unit
1019 tests is created after unit tests have been run. -->
1021 <id>post-unit-test</id>
1027 <!-- Sets the path to the file which contains
1028 the execution data. -->
1029 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
1030 <!-- Sets the output directory for the code
1031 coverage report. -->
1032 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
1036 <id>pre-integration-test</id>
1037 <phase>pre-integration-test</phase>
1039 <goal>prepare-agent</goal>
1042 <!-- Sets the path to the file which contains
1043 the execution data. -->
1044 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
1045 <!-- Sets the name of the property containing
1046 the settings for JaCoCo runtime agent. -->
1047 <propertyName>failsafeArgLine</propertyName>
1050 <!-- Ensures that the code coverage report for integration
1051 tests after integration tests have been run. -->
1053 <id>post-integration-test</id>
1054 <phase>post-integration-test</phase>
1059 <!-- Sets the path to the file which contains
1060 the execution data. -->
1061 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
1062 <!-- Sets the output directory for the code
1063 coverage report. -->
1064 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
1070 <groupId>org.apache.maven.plugins</groupId>
1071 <artifactId>maven-surefire-plugin</artifactId>
1072 <version>2.19.1</version>
1074 <!-- Sets the VM argument line used when unit tests
1076 <argLine>${surefireArgLine}</argLine>
1077 <!-- Excludes integration tests when unit tests are
1080 <exclude>**/IT*.java</exclude>
1085 <groupId>org.apache.maven.plugins</groupId>
1086 <artifactId>maven-failsafe-plugin</artifactId>
1087 <version>2.19.1</version>
1089 <!-- Ensures that both integration-test and verify
1090 goals of the Failsafe Maven plugin are executed. -->
1092 <id>integration-tests</id>
1094 <goal>integration-test</goal>
1098 <!-- Sets the VM argument line used when
1099 integration tests are run. -->
1100 <argLine>${failsafeArgLine}</argLine>
1106 <groupId>org.apache.maven.plugins</groupId>
1107 <artifactId>maven-compiler-plugin</artifactId>
1108 <version>${maven.compile.plugin.version}</version>
1110 <source>${java.version.source}</source>
1111 <target>${java.version.target}</target>
1115 <groupId>org.sonarsource.scanner.maven</groupId>
1116 <artifactId>sonar-maven-plugin</artifactId>
1117 <version>3.3.0.603</version>
1120 <!-- End of plugins from ONAP oparent -->
1123 <groupId>org.apache.maven.plugins</groupId>
1124 <artifactId>maven-javadoc-plugin</artifactId>
1125 <version>2.10</version>
1127 <additionalDependencies>
1128 <additionalDependency>
1129 <groupId>org.slf4j</groupId>
1130 <artifactId>slf4j-api</artifactId>
1131 <version>${slf4j.version}</version>
1132 </additionalDependency>
1133 <additionalDependency>
1134 <groupId>org.antlr</groupId>
1135 <artifactId>antlr4</artifactId>
1136 <version>${antlr.version}</version>
1137 </additionalDependency>
1138 <additionalDependency>
1139 <groupId>org.antlr</groupId>
1140 <artifactId>antlr4-runtime</artifactId>
1141 <version>${antlr.version}</version>
1142 </additionalDependency>
1144 <additionalDependency>
1145 <groupId>com.sun.jersey</groupId>
1146 <artifactId>jersey-client</artifactId>
1147 <version>${jersey.client.version}</version>
1148 </additionalDependency>
1149 <additionalDependency>
1150 <groupId>com.sun.jersey</groupId>
1151 <artifactId>jersey-core</artifactId>
1152 <version>${jersey.version}</version>
1153 </additionalDependency>
1154 <additionalDependency>
1155 <groupId>org.apache.httpcomponents</groupId>
1156 <artifactId>httpcore-osgi</artifactId>
1157 <version>${apache.httpcomponents.core.version}</version>
1158 </additionalDependency>
1159 <additionalDependency>
1160 <groupId>org.apache.httpcomponents</groupId>
1161 <artifactId>httpclient-osgi</artifactId>
1162 <version>${apache.httpcomponents.client.version}</version>
1163 </additionalDependency>
1164 <additionalDependency>
1165 <groupId>com.fasterxml.jackson.core</groupId>
1166 <artifactId>jackson-databind</artifactId>
1167 <version>${jackson.version}</version>
1168 </additionalDependency>
1169 <additionalDependency>
1170 <groupId>com.fasterxml.jackson.core</groupId>
1171 <artifactId>jackson-annotations</artifactId>
1172 <version>${jackson.version}</version>
1173 </additionalDependency>
1174 <additionalDependency>
1175 <groupId>com.fasterxml.jackson.core</groupId>
1176 <artifactId>jackson-core</artifactId>
1177 <version>${jackson.version}</version>
1178 </additionalDependency>
1179 <additionalDependency>
1180 <groupId>commons-lang</groupId>
1181 <artifactId>commons-lang</artifactId>
1182 <version>${commons.lang.version}</version>
1183 </additionalDependency>
1184 </additionalDependencies>
1191 <goal>aggregate</goal>
1199 <artifactId>maven-source-plugin</artifactId>
1200 <version>2.1.1</version>
1203 <id>bundle-sources</id>
1204 <phase>package</phase>
1206 <!-- produce source artifact for main project
1208 <goal>jar-no-fork</goal>
1210 <!-- produce source artifact for project
1212 <goal>test-jar-no-fork</goal>
1224 <!-- Plugins from ONAP oparent -->
1226 <artifactId>maven-checkstyle-plugin</artifactId>
1229 <groupId>org.codehaus.mojo</groupId>
1230 <artifactId>build-helper-maven-plugin</artifactId>
1231 <version>1.12</version>
1233 <!-- Jacoco / Sonar -->
1235 <groupId>org.jacoco</groupId>
1236 <artifactId>jacoco-maven-plugin</artifactId>
1239 <groupId>org.apache.maven.plugins</groupId>
1240 <artifactId>maven-surefire-plugin</artifactId>
1243 <groupId>org.apache.maven.plugins</groupId>
1244 <artifactId>maven-failsafe-plugin</artifactId>
1247 <!-- End of plugins from ONAP oparent -->
1249 <groupId>org.codehaus.mojo</groupId>
1250 <artifactId>properties-maven-plugin</artifactId>
1251 <version>1.0.0</version>
1255 <goal>set-system-properties</goal>
1260 <name>maven.wagon.http.ssl.allowall</name>
1261 <value>${ssl.allowall}</value>
1264 <name>maven.wagon.http.ssl.insecure</name>
1265 <value>${ssl.insecure}</value>
1273 <groupId>org.sonatype.plugins</groupId>
1274 <artifactId>nexus-staging-maven-plugin</artifactId>
1275 <version>1.6.7</version>
1276 <extensions>true</extensions>
1278 <nexusUrl>${onap.nexus.url}</nexusUrl>
1279 <stagingProfileId>176c31dfe190a</stagingProfileId>
1280 <serverId>ecomp-staging</serverId>
1284 <groupId>org.codehaus.mojo</groupId>
1285 <artifactId>versions-maven-plugin</artifactId>
1286 <version>2.5</version>
1288 <processAllModules>true</processAllModules>
1292 <artifactId>maven-scm-plugin</artifactId>
1293 <version>1.8.1</version>
1295 <tag>${project.artifactId}-${project.version}</tag>