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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6 <packaging>pom</packaging>
7 <groupId>org.onap.ccsdk.parent</groupId>
8 <artifactId>odlparent</artifactId>
9 <version>1.1.4-SNAPSHOT</version>
12 <groupId>org.opendaylight.odlparent</groupId>
13 <artifactId>odlparent</artifactId>
14 <version>3.1.3</version>
19 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
20 <url>http://wiki.onap.org</url>
21 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
26 <url>https://jira.onap.org/</url>
31 <!-- properties from oparent -->
32 <maven.compiler.source>1.8</maven.compiler.source>
33 <maven.compiler.target>1.8</maven.compiler.target>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
36 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
37 <!-- sitePath may be overridden in the inheriting POM if desired -->
38 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
39 <jacoco.version>0.7.7.201606060606</jacoco.version>
40 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
41 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
42 <!-- Default Sonar configuration -->
43 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
44 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
46 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
47 <!-- If following file exist, auto-generation of swagger.json will be done -->
48 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
49 <!-- If following file exist, auto-generation of sdk will be done -->
50 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
51 <!-- end of properties from oparent -->
53 <!-- ONAP repositories -->
54 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
55 <onap.nexus.port>443</onap.nexus.port>
56 <onap.nexus.protocol>https</onap.nexus.protocol>
57 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
58 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
59 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
60 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
61 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
62 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
65 <!-- OpenDaylight repositories -->
66 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
67 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
70 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
71 <java.version.source>1.8</java.version.source>
72 <java.version.target>1.8</java.version.target>
73 <bundle.plugin.version>2.5.0</bundle.plugin.version>
74 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
75 <features.file>features.xml</features.file>
76 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
77 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
78 <checkstyle.skip>true</checkstyle.skip>
81 <sonar.language>java</sonar.language>
82 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
83 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
84 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
85 <sonar.projectVersion>${project.version}</sonar.projectVersion>
90 <!-- CCSDK component versions -->
91 <ccsdk.sli.core.version>0.3.3</ccsdk.sli.core.version>
92 <ccsdk.sli.adaptors.version>0.3.3</ccsdk.sli.adaptors.version>
93 <ccsdk.sli.northbound.version>0.3.3</ccsdk.sli.northbound.version>
94 <ccsdk.sli.plugins.version>0.3.3</ccsdk.sli.plugins.version>
95 <ccsdk.distribution.version>0.3.3</ccsdk.distribution.version>
96 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
97 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
98 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
99 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
100 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
104 <!-- Support libraries used by OpenDaylight -->
105 <odl.mdsal.version>1.7.3</odl.mdsal.version>
106 <odl.mdsal.model.version>0.12.3</odl.mdsal.model.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.7</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.7.1</eclipse.persistence.version>
118 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
119 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
120 <gson.version>2.8.2</gson.version>
121 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
122 <guava.version>23.6</guava.version>
123 <!-- Used by lispflowmapping, sxp, vtn/manager -->
124 <hamcrest.version>1.3.1</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 all
133 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
134 snmp4sdn, toolkit -->
135 <jersey.version>1.19.4</jersey.version>
137 <jersey.client.version>1.19.4</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.8</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, toolkit -->
153 <logback.version>1.2.3</logback.version>
154 <!-- Used by nic, sfc, sxp, tsdr -->
155 <mockito.version>1.10.19</mockito.version>
156 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
157 <netty.version>4.1.22.Final</netty.version>
158 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
160 <slf4j.version>1.7.25</slf4j.version>
161 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
163 <spring.version>3.2.17.RELEASE</spring.version>
167 <!-- Extra support libraries used by SDN-C -->
168 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
169 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
170 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
171 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
172 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
173 <antlr.version>4.7.1</antlr.version>
174 <mysql.connector.version>5.1.39</mysql.connector.version>
175 <mariadb.connector.version>2.1.1</mariadb.connector.version>
176 <h2database.version>1.4.196</h2database.version>
177 <derby.version>10.14.2.0</derby.version>
179 <eelf.version>1.0.0</eelf.version>
180 <eelf.maven.plugin.version>1.0.0</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>
297 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
298 <condition property="is_windows" value="true">
299 <os family="windows"/>
301 <condition property="isLinux" value="true">
305 <equals arg1="${is_windows}" arg2="true"/>
307 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
308 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
309 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
312 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
313 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
314 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
315 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
327 <groupId>ant-contrib</groupId>
328 <artifactId>ant-contrib</artifactId>
329 <version>1.0b3</version>
332 <artifactId>ant</artifactId>
333 <groupId>ant</groupId>
340 <groupId>io.swagger</groupId>
341 <artifactId>swagger-codegen-maven-plugin</artifactId>
342 <version>2.2.1</version>
346 <goal>generate</goal>
349 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
350 <output>${project.build.directory}/generated-sources</output>
351 <language>java</language>
353 <dateLibrary>joda</dateLibrary>
355 <library>jersey2</library>
356 <groupId>${project.groupId}</groupId>
357 <artifactId>${project.artifactId}-java-sdk</artifactId>
358 <artifactVersion>${project.version}</artifactVersion>
359 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
360 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
361 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
367 <artifactId>exec-maven-plugin</artifactId>
368 <groupId>org.codehaus.mojo</groupId>
369 <version>1.5.0</version>
372 <id>swagger-generate-sources</id>
373 <phase>generate-sources</phase>
378 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
384 <groupId>org.apache.maven.plugins</groupId>
385 <artifactId>maven-clean-plugin</artifactId>
386 <version>3.0.0</version>
389 <id>clean-generated-files</id>
390 <phase>generate-sources</phase>
397 <directory>${project.build.directory}/generated-sources</directory>
408 <groupId>org.onap.msb.swagger-sdk</groupId>
409 <artifactId>swagger-sdk</artifactId>
410 <version>1.0.0</version>
415 <!-- End of profiles from ONAP oparent -->
417 <id>nexus-staging</id>
420 <name>!altDeploymentRepository</name>
426 <groupId>org.sonatype.plugins</groupId>
427 <artifactId>nexus-staging-maven-plugin</artifactId>
428 <version>1.6.7</version>
429 <extensions>true</extensions>
431 <nexusUrl>https://nexus.onap.org</nexusUrl>
432 <stagingProfileId>176c31dfe190a</stagingProfileId>
433 <serverId>ecomp-staging</serverId>
442 <dependencyManagement>
445 <groupId>org.opendaylight.controller</groupId>
446 <artifactId>mdsal-artifacts</artifactId>
447 <version>${odl.mdsal.version}</version>
449 <scope>import</scope>
452 <groupId>org.opendaylight.mdsal.model</groupId>
453 <artifactId>mdsal-model-artifacts</artifactId>
454 <version>${odl.mdsal.model.version}</version>
456 <scope>import</scope>
459 <groupId>org.onap.sdnc.core</groupId>
460 <artifactId>sli-common</artifactId>
461 <version>${sdnctl.sli.version}</version>
465 <groupId>org.onap.sdnc.core</groupId>
466 <artifactId>sli-provider</artifactId>
467 <version>${sdnctl.sli.version}</version>
471 <groupId>org.onap.sdnc.core</groupId>
472 <artifactId>aai-service-provider</artifactId>
473 <version>${sdnctl.aai.service.version}</version>
477 <groupId>org.onap.sdnc.core</groupId>
478 <artifactId>dblib-provider</artifactId>
479 <version>${sdnctl.dblib.version}</version>
482 <groupId>com.att.eelf</groupId>
483 <artifactId>eelf-core</artifactId>
484 <version>${eelf.version}</version>
487 <groupId>org.apache.derby</groupId>
488 <artifactId>derby</artifactId>
489 <version>${derby.version}</version>
494 </dependencyManagement>
500 <artifactId>maven-javadoc-plugin</artifactId>
501 <version>2.10.4</version>
503 <failOnError>false</failOnError>
504 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
506 <groupId>org.umlgraph</groupId>
507 <artifactId>umlgraph</artifactId>
508 <version>5.6</version>
510 <additionalparam>-views</additionalparam>
511 <useStandardDocletOptions>true</useStandardDocletOptions>
512 <excludePackageNames>org.opendaylight.*</excludePackageNames>
513 <additionalDependencies>
514 <additionalDependency>
515 <groupId>org.slf4j</groupId>
516 <artifactId>slf4j-api</artifactId>
517 <version>${slf4j.version}</version>
518 </additionalDependency>
519 <additionalDependency>
520 <groupId>org.antlr</groupId>
521 <artifactId>antlr4</artifactId>
522 <version>${antlr.version}</version>
523 </additionalDependency>
524 <additionalDependency>
525 <groupId>org.antlr</groupId>
526 <artifactId>antlr4-runtime</artifactId>
527 <version>${antlr.version}</version>
528 </additionalDependency>
530 <additionalDependency>
531 <groupId>com.sun.jersey</groupId>
532 <artifactId>jersey-client</artifactId>
533 <version>${jersey.json.version}</version>
534 </additionalDependency>
535 <additionalDependency>
536 <groupId>com.sun.jersey</groupId>
537 <artifactId>jersey-core</artifactId>
538 <version>${jersey.json.version}</version>
539 </additionalDependency>
540 <additionalDependency>
541 <groupId>org.apache.httpcomponents</groupId>
542 <artifactId>httpcore-osgi</artifactId>
543 <version>${apache.httpcomponents.core.version}</version>
544 </additionalDependency>
545 <additionalDependency>
546 <groupId>org.apache.httpcomponents</groupId>
547 <artifactId>httpclient-osgi</artifactId>
548 <version>${apache.httpcomponents.client.version}</version>
549 </additionalDependency>
550 <additionalDependency>
551 <groupId>com.fasterxml.jackson.core</groupId>
552 <artifactId>jackson-databind</artifactId>
553 <version>${fasterxml.jackson.version}</version>
554 </additionalDependency>
555 <additionalDependency>
556 <groupId>com.fasterxml.jackson.core</groupId>
557 <artifactId>jackson-annotations</artifactId>
558 <version>${fasterxml.jackson.version}</version>
559 </additionalDependency>
560 <additionalDependency>
561 <groupId>com.fasterxml.jackson.core</groupId>
562 <artifactId>jackson-core</artifactId>
563 <version>${fasterxml.jackson.version}</version>
564 </additionalDependency>
565 <additionalDependency>
566 <groupId>commons-lang</groupId>
567 <artifactId>commons-lang</artifactId>
568 <version>${commons.lang.version}</version>
569 </additionalDependency>
570 </additionalDependencies>
575 <report>javadoc-no-fork</report>
576 <report>test-javadoc-no-fork</report>
582 <report>aggregate</report>
583 <report>test-aggregate</report>
589 <groupId>org.apache.maven.plugins</groupId>
590 <artifactId>maven-jxr-plugin</artifactId>
591 <version>2.3</version>
596 <report>aggregate</report>
597 <report>test-aggregate</report>
604 <artifactId>maven-surefire-plugin</artifactId>
605 <version>2.17</version>
608 <groupId>org.apache.maven.plugins</groupId>
609 <artifactId>maven-changelog-plugin</artifactId>
610 <version>2.3</version>
619 <report>changelog</report>
620 <report>file-activity</report>
626 <groupId>org.codehaus.mojo</groupId>
627 <artifactId>taglist-maven-plugin</artifactId>
628 <version>2.4</version>
637 <url>${onap.nexus.public-url}</url>
639 <enabled>true</enabled>
642 <enabled>true</enabled>
646 <id>onap-staging</id>
647 <url>${onap.nexus.staging-url}</url>
649 <enabled>true</enabled>
652 <enabled>true</enabled>
656 <id>onap-snapshot</id>
657 <url>${onap.nexus.snapshot-url}</url>
659 <enabled>false</enabled>
662 <enabled>true</enabled>
666 <id>opendaylight-mirror</id>
667 <name>opendaylight-mirror</name>
668 <url>${opendaylight.nexus.public-url}</url>
670 <enabled>true</enabled>
671 <updatePolicy>never</updatePolicy>
674 <enabled>false</enabled>
678 <id>opendaylight-snapshot</id>
679 <name>opendaylight-snapshot</name>
680 <url>${opendaylight.nexus.snapshot-url}</url>
682 <enabled>false</enabled>
685 <enabled>true</enabled>
688 <!-- Black Duck plugin dependencies -->
691 <name>JCenter Repository</name>
692 <url>http://jcenter.bintray.com</url>
697 <name>Restlet Repository</name>
698 <url>http://maven.restlet.com</url>
700 </pluginRepositories>
706 <url>https://nexus.onap.org/content/groups/public</url>
708 <enabled>true</enabled>
709 <updatePolicy>never</updatePolicy>
712 <enabled>true</enabled>
713 <updatePolicy>always</updatePolicy>
717 <id>onap-staging</id>
718 <url>https://nexus.onap.org/content/groups/staging</url>
720 <enabled>true</enabled>
721 <updatePolicy>never</updatePolicy>
724 <enabled>true</enabled>
725 <updatePolicy>always</updatePolicy>
729 <id>ecomp-release</id>
730 <name>onap-repository-releases</name>
731 <url>https://nexus.onap.org/content/repositories/releases</url>
733 <enabled>true</enabled>
734 <updatePolicy>never</updatePolicy>
737 <enabled>false</enabled>
741 <id>ecomp-snapshot</id>
742 <name>onap-repository-snapshots</name>
743 <url>https://nexus.onap.org/content/repositories/snapshots</url>
745 <enabled>false</enabled>
748 <enabled>true</enabled>
752 <id>opendaylight-mirror</id>
753 <name>opendaylight-mirror</name>
754 <url>https://nexus.opendaylight.org/content/repositories/public/</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>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
768 <enabled>false</enabled>
771 <enabled>true</enabled>
777 <distributionManagement>
779 <id>ecomp-releases</id>
780 <url>https://nexus.onap.org/content/repositories/releases</url>
783 <id>ecomp-snapshots</id>
784 <url>https://nexus.onap.org/content/repositories/snapshots</url>
785 </snapshotRepository>
786 </distributionManagement>
792 <!-- Plugins from ONAP oparent -->
794 <groupId>org.apache.maven.plugins</groupId>
795 <artifactId>maven-deploy-plugin</artifactId>
796 <!-- This version supports the "deployAtEnd" parameter -->
797 <version>2.8</version>
804 <groupId>org.apache.maven.plugins</groupId>
805 <artifactId>maven-site-plugin</artifactId>
806 <version>3.6</version>
809 <groupId>org.apache.maven.wagon</groupId>
810 <artifactId>wagon-webdav-jackrabbit</artifactId>
811 <version>2.10</version>
814 <groupId>org.apache.maven.doxia</groupId>
815 <artifactId>doxia-core</artifactId>
816 <version>1.7</version>
819 <groupId>org.apache.maven.doxia</groupId>
820 <artifactId>doxia-sink-api</artifactId>
821 <version>1.7</version>
824 <groupId>org.apache.maven.doxia</groupId>
825 <artifactId>doxia-logging-api</artifactId>
826 <version>1.7</version>
831 <id>attach-descriptor</id>
833 <goal>attach-descriptor</goal>
839 <artifactId>maven-checkstyle-plugin</artifactId>
840 <version>2.17</version>
843 <groupId>org.onap.oparent</groupId>
844 <artifactId>checkstyle</artifactId>
845 <version>1.1.1</version>
850 <id>check-license</id>
854 <phase>process-sources</phase>
856 <configLocation>onap-checkstyle/check-license.xml</configLocation>
857 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
858 <includeResources>false</includeResources>
859 <includeTestSourceDirectory>true</includeTestSourceDirectory>
860 <includeTestResources>false</includeTestResources>
861 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
864 <failsOnError>false</failsOnError>
865 <consoleOutput>true</consoleOutput>
873 <phase>process-sources</phase>
875 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
876 with minor changes -->
877 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
878 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
879 sources directory -->
880 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
881 <includeResources>true</includeResources>
882 <includeTestSourceDirectory>true</includeTestSourceDirectory>
883 <includeTestResources>true</includeTestResources>
886 <failsOnError>false</failsOnError>
887 <consoleOutput>true</consoleOutput>
893 <groupId>org.jacoco</groupId>
894 <artifactId>jacoco-maven-plugin</artifactId>
895 <version>${jacoco.version}</version>
897 <!-- Note: This exclusion list should match <sonar.exclusions> property
900 <exclude>**/gen/**</exclude>
901 <exclude>**/generated-sources/**</exclude>
902 <exclude>**/yang-gen/**</exclude>
903 <exclude>**/pax/**</exclude>
907 <!-- Prepares the property pointing to the JaCoCo runtime agent which
908 is passed as VM argument when Maven the Surefire plugin is executed. -->
910 <id>pre-unit-test</id>
912 <goal>prepare-agent</goal>
915 <!-- Sets the path to the file which contains the execution data. -->
916 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
917 <!-- Sets the name of the property containing the settings for JaCoCo
919 <propertyName>surefireArgLine</propertyName>
922 <!-- Ensures that the code coverage report for unit tests is created
923 after unit tests have been run. -->
925 <id>post-unit-test</id>
931 <!-- Sets the path to the file which contains the execution data. -->
932 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
933 <!-- Sets the output directory for the code coverage report. -->
934 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
938 <id>pre-integration-test</id>
939 <phase>pre-integration-test</phase>
941 <goal>prepare-agent</goal>
944 <!-- Sets the path to the file which contains the execution data. -->
945 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
946 <!-- Sets the name of the property containing the settings for JaCoCo
948 <propertyName>failsafeArgLine</propertyName>
951 <!-- Ensures that the code coverage report for integration tests after
952 integration tests have been run. -->
954 <id>post-integration-test</id>
955 <phase>post-integration-test</phase>
960 <!-- Sets the path to the file which contains the execution data. -->
961 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
962 <!-- Sets the output directory for the code coverage report. -->
963 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
969 <groupId>org.apache.maven.plugins</groupId>
970 <artifactId>maven-surefire-plugin</artifactId>
971 <version>2.19.1</version>
973 <!-- Sets the VM argument line used when unit tests are run. -->
974 <argLine>${surefireArgLine}</argLine>
975 <!-- Excludes integration tests when unit tests are run. -->
977 <exclude>**/IT*.java</exclude>
982 <groupId>org.apache.maven.plugins</groupId>
983 <artifactId>maven-failsafe-plugin</artifactId>
984 <version>2.19.1</version>
986 <!-- Ensures that both integration-test and verify goals of the Failsafe
987 Maven plugin are executed. -->
989 <id>integration-tests</id>
991 <goal>integration-test</goal>
995 <!-- Sets the VM argument line used when integration tests are run. -->
996 <argLine>${failsafeArgLine}</argLine>
1002 <groupId>org.apache.maven.plugins</groupId>
1003 <artifactId>maven-compiler-plugin</artifactId>
1004 <version>${maven.compile.plugin.version}</version>
1006 <source>${java.version.source}</source>
1007 <target>${java.version.target}</target>
1011 <groupId>org.sonarsource.scanner.maven</groupId>
1012 <artifactId>sonar-maven-plugin</artifactId>
1013 <version>3.3.0.603</version>
1016 <!-- End of plugins from ONAP oparent -->
1019 <groupId>org.apache.maven.plugins</groupId>
1020 <artifactId>maven-javadoc-plugin</artifactId>
1021 <version>2.10</version>
1023 <additionalDependencies>
1024 <additionalDependency>
1025 <groupId>org.slf4j</groupId>
1026 <artifactId>slf4j-api</artifactId>
1027 <version>${slf4j.version}</version>
1028 </additionalDependency>
1029 <additionalDependency>
1030 <groupId>org.antlr</groupId>
1031 <artifactId>antlr4</artifactId>
1032 <version>${antlr.version}</version>
1033 </additionalDependency>
1034 <additionalDependency>
1035 <groupId>org.antlr</groupId>
1036 <artifactId>antlr4-runtime</artifactId>
1037 <version>${antlr.version}</version>
1038 </additionalDependency>
1040 <additionalDependency>
1041 <groupId>com.sun.jersey</groupId>
1042 <artifactId>jersey-client</artifactId>
1043 <version>${jersey.client.version}</version>
1044 </additionalDependency>
1045 <additionalDependency>
1046 <groupId>com.sun.jersey</groupId>
1047 <artifactId>jersey-core</artifactId>
1048 <version>${jersey.version}</version>
1049 </additionalDependency>
1050 <additionalDependency>
1051 <groupId>org.apache.httpcomponents</groupId>
1052 <artifactId>httpcore-osgi</artifactId>
1053 <version>${apache.httpcomponents.core.version}</version>
1054 </additionalDependency>
1055 <additionalDependency>
1056 <groupId>org.apache.httpcomponents</groupId>
1057 <artifactId>httpclient-osgi</artifactId>
1058 <version>${apache.httpcomponents.client.version}</version>
1059 </additionalDependency>
1060 <additionalDependency>
1061 <groupId>com.fasterxml.jackson.core</groupId>
1062 <artifactId>jackson-databind</artifactId>
1063 <version>${jackson.version}</version>
1064 </additionalDependency>
1065 <additionalDependency>
1066 <groupId>com.fasterxml.jackson.core</groupId>
1067 <artifactId>jackson-annotations</artifactId>
1068 <version>${jackson.version}</version>
1069 </additionalDependency>
1070 <additionalDependency>
1071 <groupId>com.fasterxml.jackson.core</groupId>
1072 <artifactId>jackson-core</artifactId>
1073 <version>${jackson.version}</version>
1074 </additionalDependency>
1075 <additionalDependency>
1076 <groupId>commons-lang</groupId>
1077 <artifactId>commons-lang</artifactId>
1078 <version>${commons.lang.version}</version>
1079 </additionalDependency>
1080 </additionalDependencies>
1087 <goal>aggregate</goal>
1100 <!-- Plugins from ONAP oparent -->
1102 <artifactId>maven-checkstyle-plugin</artifactId>
1105 <groupId>org.codehaus.mojo</groupId>
1106 <artifactId>build-helper-maven-plugin</artifactId>
1107 <version>1.12</version>
1109 <!-- Jacoco / Sonar -->
1111 <groupId>org.jacoco</groupId>
1112 <artifactId>jacoco-maven-plugin</artifactId>
1115 <groupId>org.apache.maven.plugins</groupId>
1116 <artifactId>maven-surefire-plugin</artifactId>
1119 <groupId>org.apache.maven.plugins</groupId>
1120 <artifactId>maven-failsafe-plugin</artifactId>
1123 <!-- End of plugins from ONAP oparent -->
1125 <groupId>org.codehaus.mojo</groupId>
1126 <artifactId>properties-maven-plugin</artifactId>
1127 <version>1.0.0</version>
1131 <goal>set-system-properties</goal>
1136 <name>maven.wagon.http.ssl.allowall</name>
1137 <value>${ssl.allowall}</value>
1140 <name>maven.wagon.http.ssl.insecure</name>
1141 <value>${ssl.insecure}</value>
1149 <groupId>org.codehaus.mojo</groupId>
1150 <artifactId>versions-maven-plugin</artifactId>
1151 <version>2.5</version>
1153 <processAllModules>true</processAllModules>
1157 <artifactId>maven-scm-plugin</artifactId>
1158 <version>1.8.1</version>
1160 <tag>${project.artifactId}-${project.version}</tag>