1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
7 <modelVersion>4.0.0</modelVersion>
8 <packaging>pom</packaging>
9 <groupId>org.onap.ccsdk.parent</groupId>
10 <artifactId>binding-parent</artifactId>
11 <version>1.1.0-SNAPSHOT</version>
14 <groupId>org.opendaylight.mdsal</groupId>
15 <artifactId>binding-parent</artifactId>
16 <version>0.12.1</version>
21 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
22 <url>http://wiki.onap.org</url>
23 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
28 <url>https://jira.onap.org/</url>
33 <!-- properties from oparent -->
34 <maven.compiler.source>1.8</maven.compiler.source>
35 <maven.compiler.target>1.8</maven.compiler.target>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
38 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
39 <!-- sitePath may be overridden in the inheriting POM if desired -->
40 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
41 <jacoco.version>0.7.7.201606060606</jacoco.version>
42 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
43 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
44 <!-- Default Sonar configuration -->
45 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
46 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
48 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
49 <!-- If following file exist, auto-generation of swagger.json will be done -->
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.3.0-SNAPSHOT</ccsdk.sli.core.version>
94 <ccsdk.sli.adaptors.version>0.3.0-SNAPSHOT</ccsdk.sli.adaptors.version>
95 <ccsdk.sli.northbound.version>0.3.0-SNAPSHOT</ccsdk.sli.northbound.version>
96 <ccsdk.sli.plugins.version>0.3.0-SNAPSHOT</ccsdk.sli.plugins.version>
97 <ccsdk.distribution.version>0.3.0-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.7.1</odl.mdsal.version>
107 <odl.mdsal.model.version>0.12.1</odl.mdsal.model.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.7</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.7.1</eclipse.persistence.version>
119 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
120 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
121 <gson.version>2.8.2</gson.version>
122 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
123 <guava.version>23.6</guava.version>
124 <!-- Used by lispflowmapping, sxp, vtn/manager -->
125 <hamcrest.version>1.3.1</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 all
134 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
135 snmp4sdn, toolkit -->
136 <jersey.version>1.19.4</jersey.version>
138 <jersey.client.version>1.19.4</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.8</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, toolkit -->
154 <logback.version>1.2.3</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.22.Final</netty.version>
159 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
161 <slf4j.version>1.7.25</slf4j.version>
162 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
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.1</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.196</h2database.version>
178 <derby.version>10.14.2.0</derby.version>
180 <eelf.version>1.0.0</eelf.version>
181 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
183 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
187 <!-- Profiles from ONAP oparent -->
189 <id>generate-json</id>
192 <exists>${swagger-properties}</exists>
195 <name>swagger-sdk.generate-json</name>
201 <groupId>org.codehaus.mojo</groupId>
202 <artifactId>properties-maven-plugin</artifactId>
203 <version>1.0.0</version>
206 <phase>initialize</phase>
208 <goal>read-project-properties</goal>
212 <file>${basedir}/src/main/resources/swagger.properties</file>
219 <groupId>com.github.kongchen</groupId>
220 <artifactId>swagger-maven-plugin</artifactId>
221 <version>3.1.4</version>
225 <locations>${api-rest-package}</locations>
226 <schemes>http,https</schemes>
227 <host>${api-host-ip}:${api-host-port}</host>
228 <basePath>${api-base-path}</basePath>
230 <title>${api-title}</title>
231 <version>${api-version}</version>
232 <description>${api-description}</description>
234 <name>${api-license}</name>
237 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
243 <phase>compile</phase>
245 <goal>generate</goal>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-install-plugin</artifactId>
253 <version>2.3.1</version>
256 <id>install-file-id</id>
257 <phase>install</phase>
259 <goal>install-file</goal>
262 <file>${basedir}/src/main/resources/swagger.json</file>
263 <groupId>${project.groupId}</groupId>
264 <artifactId>${project.artifactId}-swagger-schema</artifactId>
265 <version>${project.version}</version>
266 <packaging>json</packaging>
275 <id>generate-sdk</id>
278 <exists>${swagger-json}</exists>
281 <name>swagger-sdk.generate-java-sdk</name>
287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-antrun-plugin</artifactId>
289 <version>1.8</version>
292 <phase>initialize</phase>
293 <id>ant-create-script</id>
295 <exportAntProperties>true</exportAntProperties>
298 <taskdef resource="net/sf/antcontrib/antlib.xml"
299 classpathref="maven.plugin.classpath" />
300 <condition property="is_windows" value="true">
301 <os family="windows" />
303 <condition property="isLinux" value="true">
307 <equals arg1="${is_windows}" arg2="true" />
309 <property name="swagger.sdk.script.file"
310 value="generated-source-script.bat" />
312 file="${project.build.directory}${file.separator}generated-source-script.bat"
314 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
316 file="${project.build.directory}${file.separator}generated-source-script.bat"
318 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
321 <property name="swagger.sdk.script.file"
322 value="generated-source-script.sh" />
324 file="${project.build.directory}${file.separator}generated-source-script.sh"
326 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
328 file="${project.build.directory}${file.separator}generated-source-script.sh"
330 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
332 file="${project.build.directory}${file.separator}generated-source-script.sh"
345 <groupId>ant-contrib</groupId>
346 <artifactId>ant-contrib</artifactId>
347 <version>1.0b3</version>
350 <artifactId>ant</artifactId>
351 <groupId>ant</groupId>
358 <groupId>io.swagger</groupId>
359 <artifactId>swagger-codegen-maven-plugin</artifactId>
360 <version>2.2.1</version>
364 <goal>generate</goal>
367 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
368 <output>${project.build.directory}/generated-sources</output>
369 <language>java</language>
371 <dateLibrary>joda</dateLibrary>
373 <library>jersey2</library>
374 <groupId>${project.groupId}</groupId>
375 <artifactId>${project.artifactId}-java-sdk</artifactId>
376 <artifactVersion>${project.version}</artifactVersion>
377 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
378 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
379 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
385 <artifactId>exec-maven-plugin</artifactId>
386 <groupId>org.codehaus.mojo</groupId>
387 <version>1.5.0</version>
390 <id>swagger-generate-sources</id>
391 <phase>generate-sources</phase>
396 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
402 <groupId>org.apache.maven.plugins</groupId>
403 <artifactId>maven-clean-plugin</artifactId>
404 <version>3.0.0</version>
407 <id>clean-generated-files</id>
408 <phase>generate-sources</phase>
415 <directory>${project.build.directory}/generated-sources</directory>
426 <groupId>org.onap.msb.swagger-sdk</groupId>
427 <artifactId>swagger-sdk</artifactId>
428 <version>1.0.0</version>
433 <!-- End of profiles from ONAP oparent -->
438 <exists>src/main/yang</exists>
444 <groupId>org.opendaylight.yangtools</groupId>
445 <artifactId>yang-maven-plugin</artifactId>
448 <groupId>org.opendaylight.mdsal</groupId>
449 <artifactId>maven-sal-api-gen-plugin</artifactId>
450 <version>0.12.1</version>
454 <groupId>org.opendaylight.netconf</groupId>
455 <artifactId>sal-rest-docgen-maven</artifactId>
456 <version>${odl.mdsal.version}</version>
463 <goal>generate-sources</goal>
466 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
469 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
470 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
473 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
474 <outputBaseDir>target/swagger</outputBaseDir>
477 <inspectDependencies>true</inspectDependencies>
489 <dependencyManagement>
492 <groupId>org.opendaylight.controller</groupId>
493 <artifactId>mdsal-artifacts</artifactId>
494 <version>${odl.mdsal.version}</version>
496 <scope>import</scope>
499 <groupId>org.opendaylight.mdsal.model</groupId>
500 <artifactId>mdsal-model-artifacts</artifactId>
501 <version>${odl.mdsal.model.version}</version>
503 <scope>import</scope>
506 <groupId>org.opendaylight.controller</groupId>
507 <artifactId>sal-binding-config</artifactId>
508 <version>${odl.mdsal.version}</version>
512 <groupId>org.opendaylight.controller</groupId>
513 <artifactId>sal-test-model</artifactId>
514 <version>${odl.mdsal.version}</version>
517 <groupId>org.opendaylight.controller</groupId>
518 <artifactId>sal-binding-broker-impl</artifactId>
519 <version>${odl.mdsal.version}</version>
522 <groupId>org.opendaylight.controller</groupId>
523 <artifactId>sal-binding-broker-impl</artifactId>
524 <version>${odl.mdsal.version}</version>
525 <type>test-jar</type>
526 <classifier>tests</classifier>
530 <groupId>org.onap.ccsdk.sli.core</groupId>
531 <artifactId>sli-common</artifactId>
532 <version>${ccsdk.sli.core.version}</version>
536 <groupId>org.onap.ccsdk.sli.core</groupId>
537 <artifactId>sli-provider</artifactId>
538 <version>${ccsdk.sli.core.version}</version>
541 <groupId>org.onap.ccsdk.sli.core</groupId>
542 <artifactId>ccsdk-sli</artifactId>
543 <version>${ccsdk.sli.core.version}</version>
545 <classifier>features</classifier>
548 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
549 <artifactId>aai-service-provider</artifactId>
550 <version>${sdnctl.aai.service.version}</version>
554 <groupId>org.onap.ccsdk.sli.core</groupId>
555 <artifactId>dblib-provider</artifactId>
556 <version>${sdnctl.dblib.version}</version>
560 <groupId>org.testng</groupId>
561 <artifactId>testng</artifactId>
562 <version>6.11</version>
565 <groupId>org.springframework</groupId>
566 <artifactId>spring-test</artifactId>
567 <version>${spring.version}</version>
570 <groupId>org.springframework</groupId>
571 <artifactId>spring-beans</artifactId>
572 <version>${spring.version}</version>
575 <groupId>org.springframework</groupId>
576 <artifactId>spring-context</artifactId>
577 <version>${spring.version}</version>
580 <groupId>com.att.eelf</groupId>
581 <artifactId>eelf-core</artifactId>
582 <version>${eelf.version}</version>
585 <groupId>org.apache.derby</groupId>
586 <artifactId>derby</artifactId>
587 <version>${derby.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-staging</id>
745 <url>${onap.nexus.staging-url}</url>
747 <enabled>true</enabled>
750 <enabled>true</enabled>
754 <id>onap-snapshot</id>
755 <url>${onap.nexus.snapshot-url}</url>
757 <enabled>false</enabled>
760 <enabled>true</enabled>
764 <id>opendaylight-mirror</id>
765 <name>opendaylight-mirror</name>
766 <url>${opendaylight.nexus.public-url}</url>
768 <enabled>true</enabled>
769 <updatePolicy>never</updatePolicy>
772 <enabled>false</enabled>
776 <id>opendaylight-snapshot</id>
777 <name>opendaylight-snapshot</name>
778 <url>${opendaylight.nexus.snapshot-url}</url>
780 <enabled>false</enabled>
783 <enabled>true</enabled>
786 <!-- Black Duck plugin dependencies -->
789 <name>JCenter Repository</name>
790 <url>http://jcenter.bintray.com</url>
795 <name>Restlet Repository</name>
796 <url>http://maven.restlet.com</url>
798 </pluginRepositories>
804 <url>https://nexus.onap.org/content/groups/public</url>
806 <enabled>true</enabled>
807 <updatePolicy>never</updatePolicy>
810 <enabled>true</enabled>
811 <updatePolicy>always</updatePolicy>
815 <id>onap-staging</id>
816 <url>https://nexus.onap.org/content/groups/staging</url>
818 <enabled>true</enabled>
819 <updatePolicy>never</updatePolicy>
822 <enabled>true</enabled>
823 <updatePolicy>always</updatePolicy>
827 <id>ecomp-release</id>
828 <name>onap-repository-releases</name>
829 <url>https://nexus.onap.org/content/repositories/releases</url>
831 <enabled>true</enabled>
832 <updatePolicy>never</updatePolicy>
835 <enabled>false</enabled>
839 <id>ecomp-snapshot</id>
840 <name>onap-repository-snapshots</name>
841 <url>https://nexus.onap.org/content/repositories/snapshots</url>
843 <enabled>false</enabled>
846 <enabled>true</enabled>
850 <id>opendaylight-mirror</id>
851 <name>opendaylight-mirror</name>
852 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
854 <enabled>true</enabled>
855 <updatePolicy>never</updatePolicy>
858 <enabled>false</enabled>
862 <id>opendaylight-snapshot</id>
863 <name>opendaylight-snapshot</name>
864 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
866 <enabled>false</enabled>
869 <enabled>true</enabled>
875 <distributionManagement>
877 <id>ecomp-releases</id>
878 <url>http://nexus.onap.org/content/repositories/releases</url>
881 <id>ecomp-snapshots</id>
882 <url>http://nexus.onap.org/content/repositories/snapshots</url>
883 </snapshotRepository>
884 </distributionManagement>
890 <!-- Plugins from ONAP oparent -->
892 <groupId>org.apache.maven.plugins</groupId>
893 <artifactId>maven-deploy-plugin</artifactId>
894 <!-- This version supports the "deployAtEnd" parameter -->
895 <version>2.8</version>
902 <groupId>org.apache.maven.plugins</groupId>
903 <artifactId>maven-site-plugin</artifactId>
904 <version>3.6</version>
907 <groupId>org.apache.maven.wagon</groupId>
908 <artifactId>wagon-webdav-jackrabbit</artifactId>
909 <version>2.10</version>
912 <groupId>org.apache.maven.doxia</groupId>
913 <artifactId>doxia-core</artifactId>
914 <version>1.7</version>
917 <groupId>org.apache.maven.doxia</groupId>
918 <artifactId>doxia-sink-api</artifactId>
919 <version>1.7</version>
922 <groupId>org.apache.maven.doxia</groupId>
923 <artifactId>doxia-logging-api</artifactId>
924 <version>1.7</version>
929 <id>attach-descriptor</id>
931 <goal>attach-descriptor</goal>
937 <artifactId>maven-checkstyle-plugin</artifactId>
938 <version>2.17</version>
941 <groupId>org.onap.oparent</groupId>
942 <artifactId>checkstyle</artifactId>
943 <version>1.1.1</version>
948 <id>check-license</id>
952 <phase>process-sources</phase>
954 <configLocation>onap-checkstyle/check-license.xml</configLocation>
955 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
956 <includeResources>false</includeResources>
957 <includeTestSourceDirectory>true</includeTestSourceDirectory>
958 <includeTestResources>false</includeTestResources>
959 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
962 <failsOnError>false</failsOnError>
963 <consoleOutput>true</consoleOutput>
971 <phase>process-sources</phase>
973 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
974 with minor changes -->
975 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
976 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
977 sources directory -->
978 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
979 <includeResources>true</includeResources>
980 <includeTestSourceDirectory>true</includeTestSourceDirectory>
981 <includeTestResources>true</includeTestResources>
984 <failsOnError>false</failsOnError>
985 <consoleOutput>true</consoleOutput>
991 <groupId>org.jacoco</groupId>
992 <artifactId>jacoco-maven-plugin</artifactId>
993 <version>${jacoco.version}</version>
995 <!-- Note: This exclusion list should match <sonar.exclusions> property
998 <exclude>**/gen/**</exclude>
999 <exclude>**/generated-sources/**</exclude>
1000 <exclude>**/yang-gen/**</exclude>
1001 <exclude>**/pax/**</exclude>
1005 <!-- Prepares the property pointing to the JaCoCo runtime agent which
1006 is passed as VM argument when Maven the Surefire plugin is executed. -->
1008 <id>pre-unit-test</id>
1010 <goal>prepare-agent</goal>
1013 <!-- Sets the path to the file which contains the execution data. -->
1014 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
1015 <!-- Sets the name of the property containing the settings for JaCoCo
1017 <propertyName>surefireArgLine</propertyName>
1020 <!-- Ensures that the code coverage report for unit tests is created
1021 after unit tests have been run. -->
1023 <id>post-unit-test</id>
1029 <!-- Sets the path to the file which contains the execution data. -->
1030 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
1031 <!-- Sets the output directory for the code 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 the execution data. -->
1043 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
1044 <!-- Sets the name of the property containing the settings for JaCoCo
1046 <propertyName>failsafeArgLine</propertyName>
1049 <!-- Ensures that the code coverage report for integration tests after
1050 integration tests have been run. -->
1052 <id>post-integration-test</id>
1053 <phase>post-integration-test</phase>
1058 <!-- Sets the path to the file which contains the execution data. -->
1059 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
1060 <!-- Sets the output directory for the code coverage report. -->
1061 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
1067 <groupId>org.apache.maven.plugins</groupId>
1068 <artifactId>maven-surefire-plugin</artifactId>
1069 <version>2.19.1</version>
1071 <!-- Sets the VM argument line used when unit tests are run. -->
1072 <argLine>${surefireArgLine}</argLine>
1073 <!-- Excludes integration tests when unit tests are run. -->
1075 <exclude>**/IT*.java</exclude>
1080 <groupId>org.apache.maven.plugins</groupId>
1081 <artifactId>maven-failsafe-plugin</artifactId>
1082 <version>2.19.1</version>
1084 <!-- Ensures that both integration-test and verify goals of the Failsafe
1085 Maven plugin are executed. -->
1087 <id>integration-tests</id>
1089 <goal>integration-test</goal>
1093 <!-- Sets the VM argument line used when 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>
1198 <!-- Plugins from ONAP oparent -->
1200 <artifactId>maven-checkstyle-plugin</artifactId>
1203 <groupId>org.codehaus.mojo</groupId>
1204 <artifactId>build-helper-maven-plugin</artifactId>
1205 <version>1.12</version>
1207 <!-- Jacoco / Sonar -->
1209 <groupId>org.jacoco</groupId>
1210 <artifactId>jacoco-maven-plugin</artifactId>
1213 <groupId>org.apache.maven.plugins</groupId>
1214 <artifactId>maven-surefire-plugin</artifactId>
1217 <groupId>org.apache.maven.plugins</groupId>
1218 <artifactId>maven-failsafe-plugin</artifactId>
1221 <!-- End of plugins from ONAP oparent -->
1223 <groupId>org.codehaus.mojo</groupId>
1224 <artifactId>properties-maven-plugin</artifactId>
1225 <version>1.0.0</version>
1229 <goal>set-system-properties</goal>
1234 <name>maven.wagon.http.ssl.allowall</name>
1235 <value>${ssl.allowall}</value>
1238 <name>maven.wagon.http.ssl.insecure</name>
1239 <value>${ssl.insecure}</value>
1247 <groupId>org.sonatype.plugins</groupId>
1248 <artifactId>nexus-staging-maven-plugin</artifactId>
1249 <version>1.6.7</version>
1250 <extensions>true</extensions>
1252 <nexusUrl>${onap.nexus.url}</nexusUrl>
1253 <stagingProfileId>176c31dfe190a</stagingProfileId>
1254 <serverId>ecomp-staging</serverId>
1258 <groupId>org.codehaus.mojo</groupId>
1259 <artifactId>versions-maven-plugin</artifactId>
1260 <version>2.5</version>
1262 <processAllModules>true</processAllModules>
1266 <artifactId>maven-scm-plugin</artifactId>
1267 <version>1.8.1</version>
1269 <tag>${project.artifactId}-${project.version}</tag>