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 <ccsdl.distribution.version>0.2.1-SNAPSHOT</ccsdl.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 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
183 <!-- Profiles from ONAP oparent -->
185 <id>generate-json</id>
188 <exists>${swagger-properties}</exists>
191 <name>swagger-sdk.generate-json</name>
197 <groupId>org.codehaus.mojo</groupId>
198 <artifactId>properties-maven-plugin</artifactId>
199 <version>1.0.0</version>
202 <phase>initialize</phase>
204 <goal>read-project-properties</goal>
208 <file>${basedir}/src/main/resources/swagger.properties</file>
215 <groupId>com.github.kongchen</groupId>
216 <artifactId>swagger-maven-plugin</artifactId>
217 <version>3.1.4</version>
221 <locations>${api-rest-package}</locations>
222 <schemes>http,https</schemes>
223 <host>${api-host-ip}:${api-host-port}</host>
224 <basePath>${api-base-path}</basePath>
226 <title>${api-title}</title>
227 <version>${api-version}</version>
228 <description>${api-description}</description>
230 <name>${api-license}</name>
233 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
239 <phase>compile</phase>
241 <goal>generate</goal>
247 <groupId>org.apache.maven.plugins</groupId>
248 <artifactId>maven-install-plugin</artifactId>
249 <version>2.3.1</version>
252 <id>install-file-id</id>
253 <phase>install</phase>
255 <goal>install-file</goal>
258 <file>${basedir}/src/main/resources/swagger.json</file>
259 <groupId>${project.groupId}</groupId>
260 <artifactId>${project.artifactId}-swagger-schema</artifactId>
261 <version>${project.version}</version>
262 <packaging>json</packaging>
271 <id>generate-sdk</id>
274 <exists>${swagger-json}</exists>
277 <name>swagger-sdk.generate-java-sdk</name>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-antrun-plugin</artifactId>
285 <version>1.8</version>
288 <phase>initialize</phase>
289 <id>ant-create-script</id>
291 <exportAntProperties>true</exportAntProperties>
295 resource="net/sf/antcontrib/antlib.xml"
296 classpathref="maven.plugin.classpath" />
297 <condition property="is_windows"
299 <os family="windows" />
301 <condition property="isLinux"
306 <equals arg1="${is_windows}"
310 name="swagger.sdk.script.file"
311 value="generated-source-script.bat" />
313 file="${project.build.directory}${file.separator}generated-source-script.bat"
315 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
317 file="${project.build.directory}${file.separator}generated-source-script.bat"
319 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
323 name="swagger.sdk.script.file"
324 value="generated-source-script.sh" />
326 file="${project.build.directory}${file.separator}generated-source-script.sh"
328 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
330 file="${project.build.directory}${file.separator}generated-source-script.sh"
332 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
334 file="${project.build.directory}${file.separator}generated-source-script.sh"
347 <groupId>ant-contrib</groupId>
348 <artifactId>ant-contrib</artifactId>
349 <version>1.0b3</version>
352 <artifactId>ant</artifactId>
353 <groupId>ant</groupId>
360 <groupId>io.swagger</groupId>
361 <artifactId>swagger-codegen-maven-plugin</artifactId>
362 <version>2.2.1</version>
366 <goal>generate</goal>
369 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
370 <output>${project.build.directory}/generated-sources</output>
371 <language>java</language>
373 <dateLibrary>joda</dateLibrary>
375 <library>jersey2</library>
376 <groupId>${project.groupId}</groupId>
377 <artifactId>${project.artifactId}-java-sdk</artifactId>
378 <artifactVersion>${project.version}</artifactVersion>
379 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
380 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
381 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
387 <artifactId>exec-maven-plugin</artifactId>
388 <groupId>org.codehaus.mojo</groupId>
389 <version>1.5.0</version>
392 <id>swagger-generate-sources</id>
393 <phase>generate-sources</phase>
398 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
404 <groupId>org.apache.maven.plugins</groupId>
405 <artifactId>maven-clean-plugin</artifactId>
406 <version>3.0.0</version>
409 <id>clean-generated-files</id>
410 <phase>generate-sources</phase>
417 <directory>${project.build.directory}/generated-sources</directory>
428 <groupId>org.onap.msb.swagger-sdk</groupId>
429 <artifactId>swagger-sdk</artifactId>
430 <version>1.0.0</version>
435 <!-- End of profiles from ONAP oparent -->
440 <exists>src/main/yang</exists>
446 <groupId>org.opendaylight.yangtools</groupId>
447 <artifactId>yang-maven-plugin</artifactId>
448 <version>${yangtools.version}</version>
451 <groupId>org.opendaylight.mdsal</groupId>
452 <artifactId>maven-sal-api-gen-plugin</artifactId>
453 <version>0.11.1</version>
457 <groupId>org.opendaylight.netconf</groupId>
458 <artifactId>sal-rest-docgen-maven</artifactId>
459 <version>${odl.mdsal.version}</version>
466 <goal>generate-sources</goal>
469 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
472 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
473 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
476 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
477 <outputBaseDir>target/swagger</outputBaseDir>
480 <inspectDependencies>true</inspectDependencies>
492 <dependencyManagement>
495 <groupId>org.opendaylight.controller</groupId>
496 <artifactId>mdsal-artifacts</artifactId>
497 <version>${odl.mdsal.version}</version>
499 <scope>import</scope>
502 <groupId>org.opendaylight.mdsal.model</groupId>
503 <artifactId>mdsal-model-artifacts</artifactId>
504 <version>0.11.1</version>
506 <scope>import</scope>
509 <groupId>org.opendaylight.controller</groupId>
510 <artifactId>sal-binding-config</artifactId>
511 <version>${odl.mdsal.version}</version>
515 <groupId>org.opendaylight.controller</groupId>
516 <artifactId>sal-test-model</artifactId>
517 <version>${odl.mdsal.version}</version>
520 <groupId>org.opendaylight.netconf</groupId>
521 <artifactId>sal-rest-connector</artifactId>
522 <version>${odl.mdsal.version}</version>
526 <groupId>org.opendaylight.controller</groupId>
527 <artifactId>sal-binding-broker-impl</artifactId>
528 <version>${odl.mdsal.version}</version>
531 <groupId>org.opendaylight.controller</groupId>
532 <artifactId>sal-binding-broker-impl</artifactId>
533 <version>${odl.mdsal.version}</version>
534 <type>test-jar</type>
535 <classifier>tests</classifier>
539 <groupId>org.onap.ccsdk.sli.core</groupId>
540 <artifactId>sli-common</artifactId>
541 <version>${ccsdk.sli.core.version}</version>
545 <groupId>org.onap.ccsdk.sli.core</groupId>
546 <artifactId>sli-provider</artifactId>
547 <version>${ccsdk.sli.core.version}</version>
550 <groupId>org.onap.ccsdk.sli.core</groupId>
551 <artifactId>ccsdk-sli</artifactId>
552 <version>${ccsdk.sli.core.version}</version>
554 <classifier>features</classifier>
557 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
558 <artifactId>aai-service-provider</artifactId>
559 <version>${sdnctl.aai.service.version}</version>
563 <groupId>org.onap.ccsdk.sli.core</groupId>
564 <artifactId>dblib-provider</artifactId>
565 <version>${sdnctl.dblib.version}</version>
569 <groupId>org.testng</groupId>
570 <artifactId>testng</artifactId>
571 <version>6.11</version>
574 <groupId>org.springframework</groupId>
575 <artifactId>spring-test</artifactId>
576 <version>${spring.version}</version>
579 <groupId>org.springframework</groupId>
580 <artifactId>spring-beans</artifactId>
581 <version>${spring.version}</version>
584 <groupId>org.springframework</groupId>
585 <artifactId>spring-context</artifactId>
586 <version>${spring.version}</version>
590 </dependencyManagement>
596 <artifactId>maven-javadoc-plugin</artifactId>
597 <version>2.10.4</version>
599 <failOnError>false</failOnError>
600 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
602 <groupId>org.umlgraph</groupId>
603 <artifactId>umlgraph</artifactId>
604 <version>5.6</version>
606 <additionalparam>-views</additionalparam>
607 <useStandardDocletOptions>true</useStandardDocletOptions>
608 <excludePackageNames>org.opendaylight.*</excludePackageNames>
609 <additionalDependencies>
610 <additionalDependency>
611 <groupId>org.slf4j</groupId>
612 <artifactId>slf4j-api</artifactId>
613 <version>${slf4j.version}</version>
614 </additionalDependency>
615 <additionalDependency>
616 <groupId>org.antlr</groupId>
617 <artifactId>antlr4</artifactId>
618 <version>${antlr.version}</version>
619 </additionalDependency>
620 <additionalDependency>
621 <groupId>org.antlr</groupId>
622 <artifactId>antlr4-runtime</artifactId>
623 <version>${antlr.version}</version>
624 </additionalDependency>
626 <additionalDependency>
627 <groupId>com.sun.jersey</groupId>
628 <artifactId>jersey-client</artifactId>
629 <version>${jersey.json.version}</version>
630 </additionalDependency>
631 <additionalDependency>
632 <groupId>com.sun.jersey</groupId>
633 <artifactId>jersey-core</artifactId>
634 <version>${jersey.json.version}</version>
635 </additionalDependency>
636 <additionalDependency>
637 <groupId>org.apache.httpcomponents</groupId>
638 <artifactId>httpcore-osgi</artifactId>
639 <version>${apache.httpcomponents.core.version}</version>
640 </additionalDependency>
641 <additionalDependency>
642 <groupId>org.apache.httpcomponents</groupId>
643 <artifactId>httpclient-osgi</artifactId>
644 <version>${apache.httpcomponents.client.version}</version>
645 </additionalDependency>
646 <additionalDependency>
647 <groupId>com.fasterxml.jackson.core</groupId>
648 <artifactId>jackson-databind</artifactId>
649 <version>${fasterxml.jackson.version}</version>
650 </additionalDependency>
651 <additionalDependency>
652 <groupId>com.fasterxml.jackson.core</groupId>
653 <artifactId>jackson-annotations</artifactId>
654 <version>${fasterxml.jackson.version}</version>
655 </additionalDependency>
656 <additionalDependency>
657 <groupId>com.fasterxml.jackson.core</groupId>
658 <artifactId>jackson-core</artifactId>
659 <version>${fasterxml.jackson.version}</version>
660 </additionalDependency>
661 <additionalDependency>
662 <groupId>commons-lang</groupId>
663 <artifactId>commons-lang</artifactId>
664 <version>${commons.lang.version}</version>
665 </additionalDependency>
666 </additionalDependencies>
671 <report>javadoc-no-fork</report>
672 <report>test-javadoc-no-fork</report>
678 <report>aggregate</report>
679 <report>test-aggregate</report>
685 <groupId>org.apache.maven.plugins</groupId>
686 <artifactId>maven-jxr-plugin</artifactId>
687 <version>2.3</version>
692 <report>aggregate</report>
693 <report>test-aggregate</report>
700 <artifactId>maven-surefire-plugin</artifactId>
701 <version>2.17</version>
704 <groupId>org.apache.maven.plugins</groupId>
705 <artifactId>maven-changelog-plugin</artifactId>
706 <version>2.3</version>
715 <report>changelog</report>
716 <report>file-activity</report>
722 <groupId>org.codehaus.mojo</groupId>
723 <artifactId>taglist-maven-plugin</artifactId>
724 <version>2.4</version>
733 <url>${onap.nexus.public-url}</url>
735 <enabled>true</enabled>
738 <enabled>true</enabled>
742 <id>onap-snapshot</id>
743 <url>${onap.nexus.snapshot-url}</url>
745 <enabled>false</enabled>
748 <enabled>true</enabled>
752 <id>opendaylight-mirror</id>
753 <name>opendaylight-mirror</name>
754 <url>${opendaylight.nexus.public-url}</url>
756 <enabled>true</enabled>
757 <updatePolicy>never</updatePolicy>
760 <enabled>false</enabled>
764 <id>opendaylight-snapshot</id>
765 <name>opendaylight-snapshot</name>
766 <url>${opendaylight.nexus.snapshot-url}</url>
768 <enabled>false</enabled>
771 <enabled>true</enabled>
774 <!-- Black Duck plugin dependencies -->
777 <name>JCenter Repository</name>
778 <url>http://jcenter.bintray.com</url>
783 <name>Restlet Repository</name>
784 <url>http://maven.restlet.com</url>
786 </pluginRepositories>
792 <url>https://nexus.onap.org/content/groups/public</url>
794 <enabled>true</enabled>
795 <updatePolicy>never</updatePolicy>
798 <enabled>true</enabled>
799 <updatePolicy>always</updatePolicy>
803 <id>onap-staging</id>
804 <url>https://nexus.onap.org/content/groups/staging</url>
806 <enabled>true</enabled>
807 <updatePolicy>never</updatePolicy>
810 <enabled>true</enabled>
811 <updatePolicy>always</updatePolicy>
815 <id>ecomp-release</id>
816 <name>onap-repository-releases</name>
817 <url>https://nexus.onap.org/content/repositories/releases</url>
819 <enabled>true</enabled>
820 <updatePolicy>never</updatePolicy>
823 <enabled>false</enabled>
827 <id>ecomp-snapshot</id>
828 <name>onap-repository-snapshots</name>
829 <url>https://nexus.onap.org/content/repositories/snapshots</url>
831 <enabled>false</enabled>
834 <enabled>true</enabled>
838 <id>opendaylight-mirror</id>
839 <name>opendaylight-mirror</name>
840 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
842 <enabled>true</enabled>
843 <updatePolicy>never</updatePolicy>
846 <enabled>false</enabled>
850 <id>opendaylight-snapshot</id>
851 <name>opendaylight-snapshot</name>
852 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
854 <enabled>false</enabled>
857 <enabled>true</enabled>
863 <distributionManagement>
865 <id>ecomp-releases</id>
866 <url>http://nexus.onap.org/content/repositories/releases</url>
869 <id>ecomp-snapshots</id>
870 <url>http://nexus.onap.org/content/repositories/snapshots</url>
871 </snapshotRepository>
872 </distributionManagement>
878 <!-- Plugins from ONAP oparent -->
880 <groupId>org.apache.maven.plugins</groupId>
881 <artifactId>maven-deploy-plugin</artifactId>
882 <!-- This version supports the "deployAtEnd" parameter -->
883 <version>2.8</version>
890 <groupId>org.apache.maven.plugins</groupId>
891 <artifactId>maven-site-plugin</artifactId>
892 <version>3.6</version>
895 <groupId>org.apache.maven.wagon</groupId>
896 <artifactId>wagon-webdav-jackrabbit</artifactId>
897 <version>2.10</version>
900 <groupId>org.apache.maven.doxia</groupId>
901 <artifactId>doxia-core</artifactId>
902 <version>1.7</version>
905 <groupId>org.apache.maven.doxia</groupId>
906 <artifactId>doxia-sink-api</artifactId>
907 <version>1.7</version>
910 <groupId>org.apache.maven.doxia</groupId>
911 <artifactId>doxia-logging-api</artifactId>
912 <version>1.7</version>
917 <id>attach-descriptor</id>
919 <goal>attach-descriptor</goal>
925 <artifactId>maven-checkstyle-plugin</artifactId>
926 <version>2.17</version>
929 <groupId>org.onap.oparent</groupId>
930 <artifactId>checkstyle</artifactId>
931 <version>1.1.0-SNAPSHOT</version>
936 <id>check-license</id>
940 <phase>process-sources</phase>
942 <configLocation>onap-checkstyle/check-license.xml</configLocation>
943 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
944 <includeResources>false</includeResources>
945 <includeTestSourceDirectory>true</includeTestSourceDirectory>
946 <includeTestResources>false</includeTestResources>
947 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
950 <failsOnError>false</failsOnError>
951 <consoleOutput>true</consoleOutput>
959 <phase>process-sources</phase>
961 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
962 with minor changes -->
963 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
964 <!-- <sourceDirectory> is needed so that
965 checkstyle ignores the generated sources directory -->
966 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
967 <includeResources>true</includeResources>
968 <includeTestSourceDirectory>true</includeTestSourceDirectory>
969 <includeTestResources>true</includeTestResources>
972 <failsOnError>false</failsOnError>
973 <consoleOutput>true</consoleOutput>
979 <groupId>org.jacoco</groupId>
980 <artifactId>jacoco-maven-plugin</artifactId>
981 <version>${jacoco.version}</version>
983 <!-- Note: This exclusion list should match <sonar.exclusions>
986 <exclude>**/gen/**</exclude>
987 <exclude>**/generated-sources/**</exclude>
988 <exclude>**/yang-gen/**</exclude>
989 <exclude>**/pax/**</exclude>
993 <!-- Prepares the property pointing to the JaCoCo
994 runtime agent which is passed as VM argument when Maven the Surefire plugin
997 <id>pre-unit-test</id>
999 <goal>prepare-agent</goal>
1002 <!-- Sets the path to the file which contains
1003 the execution data. -->
1004 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
1005 <!-- Sets the name of the property containing
1006 the settings for JaCoCo runtime agent. -->
1007 <propertyName>surefireArgLine</propertyName>
1010 <!-- Ensures that the code coverage report for unit
1011 tests is created after unit tests have been run. -->
1013 <id>post-unit-test</id>
1019 <!-- Sets the path to the file which contains
1020 the execution data. -->
1021 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
1022 <!-- Sets the output directory for the code
1023 coverage report. -->
1024 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
1028 <id>pre-integration-test</id>
1029 <phase>pre-integration-test</phase>
1031 <goal>prepare-agent</goal>
1034 <!-- Sets the path to the file which contains
1035 the execution data. -->
1036 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
1037 <!-- Sets the name of the property containing
1038 the settings for JaCoCo runtime agent. -->
1039 <propertyName>failsafeArgLine</propertyName>
1042 <!-- Ensures that the code coverage report for integration
1043 tests after integration tests have been run. -->
1045 <id>post-integration-test</id>
1046 <phase>post-integration-test</phase>
1051 <!-- Sets the path to the file which contains
1052 the execution data. -->
1053 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
1054 <!-- Sets the output directory for the code
1055 coverage report. -->
1056 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
1062 <groupId>org.apache.maven.plugins</groupId>
1063 <artifactId>maven-surefire-plugin</artifactId>
1064 <version>2.19.1</version>
1066 <!-- Sets the VM argument line used when unit tests
1068 <argLine>${surefireArgLine}</argLine>
1069 <!-- Excludes integration tests when unit tests are
1072 <exclude>**/IT*.java</exclude>
1077 <groupId>org.apache.maven.plugins</groupId>
1078 <artifactId>maven-failsafe-plugin</artifactId>
1079 <version>2.19.1</version>
1081 <!-- Ensures that both integration-test and verify
1082 goals of the Failsafe Maven plugin are executed. -->
1084 <id>integration-tests</id>
1086 <goal>integration-test</goal>
1090 <!-- Sets the VM argument line used when
1091 integration tests are run. -->
1092 <argLine>${failsafeArgLine}</argLine>
1098 <groupId>org.apache.maven.plugins</groupId>
1099 <artifactId>maven-compiler-plugin</artifactId>
1100 <version>${maven.compile.plugin.version}</version>
1102 <source>${java.version.source}</source>
1103 <target>${java.version.target}</target>
1107 <groupId>org.sonarsource.scanner.maven</groupId>
1108 <artifactId>sonar-maven-plugin</artifactId>
1109 <version>3.3.0.603</version>
1112 <!-- End of plugins from ONAP oparent -->
1115 <groupId>org.apache.maven.plugins</groupId>
1116 <artifactId>maven-javadoc-plugin</artifactId>
1117 <version>2.10</version>
1119 <additionalDependencies>
1120 <additionalDependency>
1121 <groupId>org.slf4j</groupId>
1122 <artifactId>slf4j-api</artifactId>
1123 <version>${slf4j.version}</version>
1124 </additionalDependency>
1125 <additionalDependency>
1126 <groupId>org.antlr</groupId>
1127 <artifactId>antlr4</artifactId>
1128 <version>${antlr.version}</version>
1129 </additionalDependency>
1130 <additionalDependency>
1131 <groupId>org.antlr</groupId>
1132 <artifactId>antlr4-runtime</artifactId>
1133 <version>${antlr.version}</version>
1134 </additionalDependency>
1136 <additionalDependency>
1137 <groupId>com.sun.jersey</groupId>
1138 <artifactId>jersey-client</artifactId>
1139 <version>${jersey.client.version}</version>
1140 </additionalDependency>
1141 <additionalDependency>
1142 <groupId>com.sun.jersey</groupId>
1143 <artifactId>jersey-core</artifactId>
1144 <version>${jersey.version}</version>
1145 </additionalDependency>
1146 <additionalDependency>
1147 <groupId>org.apache.httpcomponents</groupId>
1148 <artifactId>httpcore-osgi</artifactId>
1149 <version>${apache.httpcomponents.core.version}</version>
1150 </additionalDependency>
1151 <additionalDependency>
1152 <groupId>org.apache.httpcomponents</groupId>
1153 <artifactId>httpclient-osgi</artifactId>
1154 <version>${apache.httpcomponents.client.version}</version>
1155 </additionalDependency>
1156 <additionalDependency>
1157 <groupId>com.fasterxml.jackson.core</groupId>
1158 <artifactId>jackson-databind</artifactId>
1159 <version>${jackson.version}</version>
1160 </additionalDependency>
1161 <additionalDependency>
1162 <groupId>com.fasterxml.jackson.core</groupId>
1163 <artifactId>jackson-annotations</artifactId>
1164 <version>${jackson.version}</version>
1165 </additionalDependency>
1166 <additionalDependency>
1167 <groupId>com.fasterxml.jackson.core</groupId>
1168 <artifactId>jackson-core</artifactId>
1169 <version>${jackson.version}</version>
1170 </additionalDependency>
1171 <additionalDependency>
1172 <groupId>commons-lang</groupId>
1173 <artifactId>commons-lang</artifactId>
1174 <version>${commons.lang.version}</version>
1175 </additionalDependency>
1176 </additionalDependencies>
1183 <goal>aggregate</goal>
1191 <artifactId>maven-source-plugin</artifactId>
1192 <version>2.1.1</version>
1195 <id>bundle-sources</id>
1196 <phase>package</phase>
1198 <!-- produce source artifact for main project
1200 <goal>jar-no-fork</goal>
1202 <!-- produce source artifact for project
1204 <goal>test-jar-no-fork</goal>
1216 <!-- Plugins from ONAP oparent -->
1218 <artifactId>maven-checkstyle-plugin</artifactId>
1221 <groupId>org.codehaus.mojo</groupId>
1222 <artifactId>build-helper-maven-plugin</artifactId>
1223 <version>1.12</version>
1225 <!-- Jacoco / Sonar -->
1227 <groupId>org.jacoco</groupId>
1228 <artifactId>jacoco-maven-plugin</artifactId>
1231 <groupId>org.apache.maven.plugins</groupId>
1232 <artifactId>maven-surefire-plugin</artifactId>
1235 <groupId>org.apache.maven.plugins</groupId>
1236 <artifactId>maven-failsafe-plugin</artifactId>
1239 <!-- End of plugins from ONAP oparent -->
1241 <groupId>org.codehaus.mojo</groupId>
1242 <artifactId>properties-maven-plugin</artifactId>
1243 <version>1.0.0</version>
1247 <goal>set-system-properties</goal>
1252 <name>maven.wagon.http.ssl.allowall</name>
1253 <value>${ssl.allowall}</value>
1256 <name>maven.wagon.http.ssl.insecure</name>
1257 <value>${ssl.insecure}</value>
1265 <groupId>org.sonatype.plugins</groupId>
1266 <artifactId>nexus-staging-maven-plugin</artifactId>
1267 <version>1.6.7</version>
1268 <extensions>true</extensions>
1270 <nexusUrl>${onap.nexus.url}</nexusUrl>
1271 <stagingProfileId>176c31dfe190a</stagingProfileId>
1272 <serverId>ecomp-staging</serverId>
1276 <groupId>org.codehaus.mojo</groupId>
1277 <artifactId>versions-maven-plugin</artifactId>
1278 <version>2.5</version>
1280 <processAllModules>true</processAllModules>
1284 <artifactId>maven-scm-plugin</artifactId>
1285 <version>1.8.1</version>
1287 <tag>${project.artifactId}-${project.version}</tag>