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>bundle-parent</artifactId>
10 <version>1.0.1-SNAPSHOT</version>
13 <groupId>org.opendaylight.odlparent</groupId>
14 <artifactId>bundle-parent</artifactId>
15 <version>2.0.4</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</ccsdk.sli.core.version>
94 <ccsdk.sli.adaptors.version>0.2.1</ccsdk.sli.adaptors.version>
95 <ccsdk.sli.northbound.version>0.2.1</ccsdk.sli.northbound.version>
96 <ccsdk.sli.plugins.version>0.2.1</ccsdk.sli.plugins.version>
97 <ccsdk.distribution.version>0.2.1</ccsdk.distribution.version>
98 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
99 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
100 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
101 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
102 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
105 <!-- Support libraries used by OpenDaylight -->
106 <odl.mdsal.version>1.6.1</odl.mdsal.version>
107 <!-- Used by aaa, vtn -->
108 <commons.codec.version>1.10</commons.codec.version>
109 <!-- Used by netconf, ovsdb -->
110 <commons.lang3.version>3.6</commons.lang3.version>
111 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
112 <commons.lang.version>2.6</commons.lang.version>
113 <!-- Used by neutron; see also controller, vtn -->
114 <commons.net.version>3.6</commons.net.version>
115 <!-- Used by neutron -->
116 <eclipse.persistence.version>2.6.2</eclipse.persistence.version>
118 <felix.dependencymanager.version>4.3.0</felix.dependencymanager.version>
119 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
120 <gson.version>2.7</gson.version>
121 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
122 <guava.version>22.0</guava.version>
123 <!-- Used by lispflowmapping, sxp, vtn/manager -->
124 <hamcrest.version>1.3</hamcrest.version>
125 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
126 integration/distribution, snmp4sdn, toolkit, ttp -->
127 <jackson.version>2.3.2</jackson.version>
128 <!-- Used by snmp4sdn, yangtools -->
129 <javassist.version>3.20.0-GA</javassist.version>
131 <!-- FIXME remove all dependencies for jersey 1.17 after migration
133 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity,
134 defense4all, snmp4sdn, toolkit -->
135 <jersey.version>1.17</jersey.version>
137 <jersey.client.version>1.17</jersey.client.version>
139 <!-- New packages for jersey migration 1.17 to 2.8 -->
140 <!-- appache.geronimo.bundle for DocGen -->
141 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
142 <org.json.version>20131018</org.json.version>
145 <jettison.version>1.3.7</jettison.version>
146 <!-- Used by persistence -->
147 <jsr305.api.version>3.0.0</jsr305.api.version>
148 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
149 is fixed (either in PowerMock or with a new JUnit release) -->
150 <!-- Used everywhere -->
151 <junit.version>4.11</junit.version>
152 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity,
154 <logback.version>1.2.2</logback.version>
155 <!-- Used by nic, sfc, sxp, tsdr -->
156 <mockito.version>1.10.19</mockito.version>
157 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
158 <netty.version>4.1.8.Final</netty.version>
159 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also
160 affinity, toolkit -->
161 <slf4j.version>1.7.21</slf4j.version>
162 <!-- Used in integration/distribution; see also affinity, snmp4sdn,
163 toolkit, tsdr, ttp -->
164 <spring.version>3.2.17.RELEASE</spring.version>
168 <!-- Extra support libraries used by SDN-C -->
169 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
170 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
171 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
172 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
173 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
174 <antlr.version>4.7</antlr.version>
175 <mysql.connector.version>5.1.39</mysql.connector.version>
176 <mariadb.connector.version>2.1.1</mariadb.connector.version>
177 <h2database.version>1.4.186</h2database.version>
179 <eelf.version>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>
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>
299 resource="net/sf/antcontrib/antlib.xml"
300 classpathref="maven.plugin.classpath" />
301 <condition property="is_windows"
303 <os family="windows" />
305 <condition property="isLinux"
310 <equals arg1="${is_windows}"
314 name="swagger.sdk.script.file"
315 value="generated-source-script.bat" />
317 file="${project.build.directory}${file.separator}generated-source-script.bat"
319 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
321 file="${project.build.directory}${file.separator}generated-source-script.bat"
323 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
327 name="swagger.sdk.script.file"
328 value="generated-source-script.sh" />
330 file="${project.build.directory}${file.separator}generated-source-script.sh"
332 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
334 file="${project.build.directory}${file.separator}generated-source-script.sh"
336 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
338 file="${project.build.directory}${file.separator}generated-source-script.sh"
351 <groupId>ant-contrib</groupId>
352 <artifactId>ant-contrib</artifactId>
353 <version>1.0b3</version>
356 <artifactId>ant</artifactId>
357 <groupId>ant</groupId>
364 <groupId>io.swagger</groupId>
365 <artifactId>swagger-codegen-maven-plugin</artifactId>
366 <version>2.2.1</version>
370 <goal>generate</goal>
373 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
374 <output>${project.build.directory}/generated-sources</output>
375 <language>java</language>
377 <dateLibrary>joda</dateLibrary>
379 <library>jersey2</library>
380 <groupId>${project.groupId}</groupId>
381 <artifactId>${project.artifactId}-java-sdk</artifactId>
382 <artifactVersion>${project.version}</artifactVersion>
383 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
384 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
385 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
391 <artifactId>exec-maven-plugin</artifactId>
392 <groupId>org.codehaus.mojo</groupId>
393 <version>1.5.0</version>
396 <id>swagger-generate-sources</id>
397 <phase>generate-sources</phase>
402 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
408 <groupId>org.apache.maven.plugins</groupId>
409 <artifactId>maven-clean-plugin</artifactId>
410 <version>3.0.0</version>
413 <id>clean-generated-files</id>
414 <phase>generate-sources</phase>
421 <directory>${project.build.directory}/generated-sources</directory>
432 <groupId>org.onap.msb.swagger-sdk</groupId>
433 <artifactId>swagger-sdk</artifactId>
434 <version>1.0.0</version>
439 <!-- End of profiles from ONAP oparent -->
444 <dependencyManagement>
447 <groupId>org.onap.sdnc.core</groupId>
448 <artifactId>sli-common</artifactId>
449 <version>${sdnctl.sli.version}</version>
453 <groupId>org.onap.sdnc.core</groupId>
454 <artifactId>sli-provider</artifactId>
455 <version>${sdnctl.sli.version}</version>
459 <groupId>org.onap.sdnc.core</groupId>
460 <artifactId>aai-service-provider</artifactId>
461 <version>${sdnctl.aai.service.version}</version>
465 <groupId>org.onap.sdnc.core</groupId>
466 <artifactId>dblib-provider</artifactId>
467 <version>${sdnctl.dblib.version}</version>
470 <groupId>com.att.eelf</groupId>
471 <artifactId>eelf-core</artifactId>
472 <version>${eelf.version}</version>
476 </dependencyManagement>
482 <artifactId>maven-javadoc-plugin</artifactId>
483 <version>2.10.4</version>
485 <failOnError>false</failOnError>
486 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
488 <groupId>org.umlgraph</groupId>
489 <artifactId>umlgraph</artifactId>
490 <version>5.6</version>
492 <additionalparam>-views</additionalparam>
493 <useStandardDocletOptions>true</useStandardDocletOptions>
494 <excludePackageNames>org.opendaylight.*</excludePackageNames>
495 <additionalDependencies>
496 <additionalDependency>
497 <groupId>org.slf4j</groupId>
498 <artifactId>slf4j-api</artifactId>
499 <version>${slf4j.version}</version>
500 </additionalDependency>
501 <additionalDependency>
502 <groupId>org.antlr</groupId>
503 <artifactId>antlr4</artifactId>
504 <version>${antlr.version}</version>
505 </additionalDependency>
506 <additionalDependency>
507 <groupId>org.antlr</groupId>
508 <artifactId>antlr4-runtime</artifactId>
509 <version>${antlr.version}</version>
510 </additionalDependency>
512 <additionalDependency>
513 <groupId>com.sun.jersey</groupId>
514 <artifactId>jersey-client</artifactId>
515 <version>${jersey.json.version}</version>
516 </additionalDependency>
517 <additionalDependency>
518 <groupId>com.sun.jersey</groupId>
519 <artifactId>jersey-core</artifactId>
520 <version>${jersey.json.version}</version>
521 </additionalDependency>
522 <additionalDependency>
523 <groupId>org.apache.httpcomponents</groupId>
524 <artifactId>httpcore-osgi</artifactId>
525 <version>${apache.httpcomponents.core.version}</version>
526 </additionalDependency>
527 <additionalDependency>
528 <groupId>org.apache.httpcomponents</groupId>
529 <artifactId>httpclient-osgi</artifactId>
530 <version>${apache.httpcomponents.client.version}</version>
531 </additionalDependency>
532 <additionalDependency>
533 <groupId>com.fasterxml.jackson.core</groupId>
534 <artifactId>jackson-databind</artifactId>
535 <version>${fasterxml.jackson.version}</version>
536 </additionalDependency>
537 <additionalDependency>
538 <groupId>com.fasterxml.jackson.core</groupId>
539 <artifactId>jackson-annotations</artifactId>
540 <version>${fasterxml.jackson.version}</version>
541 </additionalDependency>
542 <additionalDependency>
543 <groupId>com.fasterxml.jackson.core</groupId>
544 <artifactId>jackson-core</artifactId>
545 <version>${fasterxml.jackson.version}</version>
546 </additionalDependency>
547 <additionalDependency>
548 <groupId>commons-lang</groupId>
549 <artifactId>commons-lang</artifactId>
550 <version>${commons.lang.version}</version>
551 </additionalDependency>
552 </additionalDependencies>
557 <report>javadoc-no-fork</report>
558 <report>test-javadoc-no-fork</report>
564 <report>aggregate</report>
565 <report>test-aggregate</report>
571 <groupId>org.apache.maven.plugins</groupId>
572 <artifactId>maven-jxr-plugin</artifactId>
573 <version>2.3</version>
578 <report>aggregate</report>
579 <report>test-aggregate</report>
586 <artifactId>maven-surefire-plugin</artifactId>
587 <version>2.17</version>
590 <groupId>org.apache.maven.plugins</groupId>
591 <artifactId>maven-changelog-plugin</artifactId>
592 <version>2.3</version>
601 <report>changelog</report>
602 <report>file-activity</report>
608 <groupId>org.codehaus.mojo</groupId>
609 <artifactId>taglist-maven-plugin</artifactId>
610 <version>2.4</version>
619 <url>${onap.nexus.public-url}</url>
621 <enabled>true</enabled>
624 <enabled>true</enabled>
628 <id>onap-staging</id>
629 <url>${onap.nexus.staging-url}</url>
631 <enabled>true</enabled>
634 <enabled>true</enabled>
638 <id>onap-snapshot</id>
639 <url>${onap.nexus.snapshot-url}</url>
641 <enabled>false</enabled>
644 <enabled>true</enabled>
648 <id>opendaylight-mirror</id>
649 <name>opendaylight-mirror</name>
650 <url>${opendaylight.nexus.public-url}</url>
652 <enabled>true</enabled>
653 <updatePolicy>never</updatePolicy>
656 <enabled>false</enabled>
660 <id>opendaylight-snapshot</id>
661 <name>opendaylight-snapshot</name>
662 <url>${opendaylight.nexus.snapshot-url}</url>
664 <enabled>false</enabled>
667 <enabled>true</enabled>
670 <!-- Black Duck plugin dependencies -->
673 <name>JCenter Repository</name>
674 <url>http://jcenter.bintray.com</url>
679 <name>Restlet Repository</name>
680 <url>http://maven.restlet.com</url>
682 </pluginRepositories>
688 <url>https://nexus.onap.org/content/groups/public</url>
690 <enabled>true</enabled>
691 <updatePolicy>never</updatePolicy>
694 <enabled>true</enabled>
695 <updatePolicy>always</updatePolicy>
699 <id>onap-staging</id>
700 <url>https://nexus.onap.org/content/groups/staging</url>
702 <enabled>true</enabled>
703 <updatePolicy>never</updatePolicy>
706 <enabled>true</enabled>
707 <updatePolicy>always</updatePolicy>
711 <id>ecomp-release</id>
712 <name>onap-repository-releases</name>
713 <url>https://nexus.onap.org/content/repositories/releases</url>
715 <enabled>true</enabled>
716 <updatePolicy>never</updatePolicy>
719 <enabled>false</enabled>
723 <id>ecomp-snapshot</id>
724 <name>onap-repository-snapshots</name>
725 <url>https://nexus.onap.org/content/repositories/snapshots</url>
727 <enabled>false</enabled>
730 <enabled>true</enabled>
734 <id>opendaylight-mirror</id>
735 <name>opendaylight-mirror</name>
736 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
738 <enabled>true</enabled>
739 <updatePolicy>never</updatePolicy>
742 <enabled>false</enabled>
746 <id>opendaylight-snapshot</id>
747 <name>opendaylight-snapshot</name>
748 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
750 <enabled>false</enabled>
753 <enabled>true</enabled>
759 <distributionManagement>
761 <id>ecomp-releases</id>
762 <url>http://nexus.onap.org/content/repositories/releases</url>
765 <id>ecomp-snapshots</id>
766 <url>http://nexus.onap.org/content/repositories/snapshots</url>
767 </snapshotRepository>
768 </distributionManagement>
774 <!-- Plugins from ONAP oparent -->
776 <groupId>org.apache.maven.plugins</groupId>
777 <artifactId>maven-deploy-plugin</artifactId>
778 <!-- This version supports the "deployAtEnd" parameter -->
779 <version>2.8</version>
786 <groupId>org.apache.maven.plugins</groupId>
787 <artifactId>maven-site-plugin</artifactId>
788 <version>3.6</version>
791 <groupId>org.apache.maven.wagon</groupId>
792 <artifactId>wagon-webdav-jackrabbit</artifactId>
793 <version>2.10</version>
796 <groupId>org.apache.maven.doxia</groupId>
797 <artifactId>doxia-core</artifactId>
798 <version>1.7</version>
801 <groupId>org.apache.maven.doxia</groupId>
802 <artifactId>doxia-sink-api</artifactId>
803 <version>1.7</version>
806 <groupId>org.apache.maven.doxia</groupId>
807 <artifactId>doxia-logging-api</artifactId>
808 <version>1.7</version>
813 <id>attach-descriptor</id>
815 <goal>attach-descriptor</goal>
821 <artifactId>maven-checkstyle-plugin</artifactId>
822 <version>2.17</version>
825 <groupId>org.onap.oparent</groupId>
826 <artifactId>checkstyle</artifactId>
827 <version>1.1.1</version>
832 <id>check-license</id>
836 <phase>process-sources</phase>
838 <configLocation>onap-checkstyle/check-license.xml</configLocation>
839 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
840 <includeResources>false</includeResources>
841 <includeTestSourceDirectory>true</includeTestSourceDirectory>
842 <includeTestResources>false</includeTestResources>
843 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
846 <failsOnError>false</failsOnError>
847 <consoleOutput>true</consoleOutput>
855 <phase>process-sources</phase>
857 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
858 with minor changes -->
859 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
860 <!-- <sourceDirectory> is needed so that
861 checkstyle ignores the generated sources directory -->
862 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
863 <includeResources>true</includeResources>
864 <includeTestSourceDirectory>true</includeTestSourceDirectory>
865 <includeTestResources>true</includeTestResources>
868 <failsOnError>false</failsOnError>
869 <consoleOutput>true</consoleOutput>
875 <groupId>org.jacoco</groupId>
876 <artifactId>jacoco-maven-plugin</artifactId>
877 <version>${jacoco.version}</version>
879 <!-- Note: This exclusion list should match <sonar.exclusions>
882 <exclude>**/gen/**</exclude>
883 <exclude>**/generated-sources/**</exclude>
884 <exclude>**/yang-gen/**</exclude>
885 <exclude>**/pax/**</exclude>
889 <!-- Prepares the property pointing to the JaCoCo
890 runtime agent which is passed as VM argument when Maven the Surefire plugin
893 <id>pre-unit-test</id>
895 <goal>prepare-agent</goal>
898 <!-- Sets the path to the file which contains
899 the execution data. -->
900 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
901 <!-- Sets the name of the property containing
902 the settings for JaCoCo runtime agent. -->
903 <propertyName>surefireArgLine</propertyName>
906 <!-- Ensures that the code coverage report for unit
907 tests is created after unit tests have been run. -->
909 <id>post-unit-test</id>
915 <!-- Sets the path to the file which contains
916 the execution data. -->
917 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
918 <!-- Sets the output directory for the code
920 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
924 <id>pre-integration-test</id>
925 <phase>pre-integration-test</phase>
927 <goal>prepare-agent</goal>
930 <!-- Sets the path to the file which contains
931 the execution data. -->
932 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
933 <!-- Sets the name of the property containing
934 the settings for JaCoCo runtime agent. -->
935 <propertyName>failsafeArgLine</propertyName>
938 <!-- Ensures that the code coverage report for integration
939 tests after integration tests have been run. -->
941 <id>post-integration-test</id>
942 <phase>post-integration-test</phase>
947 <!-- Sets the path to the file which contains
948 the execution data. -->
949 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
950 <!-- Sets the output directory for the code
952 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
958 <groupId>org.apache.maven.plugins</groupId>
959 <artifactId>maven-surefire-plugin</artifactId>
960 <version>2.19.1</version>
962 <!-- Sets the VM argument line used when unit tests
964 <argLine>${surefireArgLine}</argLine>
965 <!-- Excludes integration tests when unit tests are
968 <exclude>**/IT*.java</exclude>
973 <groupId>org.apache.maven.plugins</groupId>
974 <artifactId>maven-failsafe-plugin</artifactId>
975 <version>2.19.1</version>
977 <!-- Ensures that both integration-test and verify
978 goals of the Failsafe Maven plugin are executed. -->
980 <id>integration-tests</id>
982 <goal>integration-test</goal>
986 <!-- Sets the VM argument line used when
987 integration tests are run. -->
988 <argLine>${failsafeArgLine}</argLine>
994 <groupId>org.apache.maven.plugins</groupId>
995 <artifactId>maven-compiler-plugin</artifactId>
996 <version>${maven.compile.plugin.version}</version>
998 <source>${java.version.source}</source>
999 <target>${java.version.target}</target>
1003 <groupId>org.sonarsource.scanner.maven</groupId>
1004 <artifactId>sonar-maven-plugin</artifactId>
1005 <version>3.3.0.603</version>
1008 <!-- End of plugins from ONAP oparent -->
1011 <groupId>org.apache.maven.plugins</groupId>
1012 <artifactId>maven-javadoc-plugin</artifactId>
1013 <version>2.10</version>
1015 <additionalDependencies>
1016 <additionalDependency>
1017 <groupId>org.slf4j</groupId>
1018 <artifactId>slf4j-api</artifactId>
1019 <version>${slf4j.version}</version>
1020 </additionalDependency>
1021 <additionalDependency>
1022 <groupId>org.antlr</groupId>
1023 <artifactId>antlr4</artifactId>
1024 <version>${antlr.version}</version>
1025 </additionalDependency>
1026 <additionalDependency>
1027 <groupId>org.antlr</groupId>
1028 <artifactId>antlr4-runtime</artifactId>
1029 <version>${antlr.version}</version>
1030 </additionalDependency>
1032 <additionalDependency>
1033 <groupId>com.sun.jersey</groupId>
1034 <artifactId>jersey-client</artifactId>
1035 <version>${jersey.client.version}</version>
1036 </additionalDependency>
1037 <additionalDependency>
1038 <groupId>com.sun.jersey</groupId>
1039 <artifactId>jersey-core</artifactId>
1040 <version>${jersey.version}</version>
1041 </additionalDependency>
1042 <additionalDependency>
1043 <groupId>org.apache.httpcomponents</groupId>
1044 <artifactId>httpcore-osgi</artifactId>
1045 <version>${apache.httpcomponents.core.version}</version>
1046 </additionalDependency>
1047 <additionalDependency>
1048 <groupId>org.apache.httpcomponents</groupId>
1049 <artifactId>httpclient-osgi</artifactId>
1050 <version>${apache.httpcomponents.client.version}</version>
1051 </additionalDependency>
1052 <additionalDependency>
1053 <groupId>com.fasterxml.jackson.core</groupId>
1054 <artifactId>jackson-databind</artifactId>
1055 <version>${jackson.version}</version>
1056 </additionalDependency>
1057 <additionalDependency>
1058 <groupId>com.fasterxml.jackson.core</groupId>
1059 <artifactId>jackson-annotations</artifactId>
1060 <version>${jackson.version}</version>
1061 </additionalDependency>
1062 <additionalDependency>
1063 <groupId>com.fasterxml.jackson.core</groupId>
1064 <artifactId>jackson-core</artifactId>
1065 <version>${jackson.version}</version>
1066 </additionalDependency>
1067 <additionalDependency>
1068 <groupId>commons-lang</groupId>
1069 <artifactId>commons-lang</artifactId>
1070 <version>${commons.lang.version}</version>
1071 </additionalDependency>
1072 </additionalDependencies>
1079 <goal>aggregate</goal>
1087 <artifactId>maven-source-plugin</artifactId>
1088 <version>2.1.1</version>
1091 <id>bundle-sources</id>
1092 <phase>package</phase>
1094 <!-- produce source artifact for main project
1096 <goal>jar-no-fork</goal>
1098 <!-- produce source artifact for project
1100 <goal>test-jar-no-fork</goal>
1112 <!-- Plugins from ONAP oparent -->
1114 <artifactId>maven-checkstyle-plugin</artifactId>
1117 <groupId>org.codehaus.mojo</groupId>
1118 <artifactId>build-helper-maven-plugin</artifactId>
1119 <version>1.12</version>
1121 <!-- Jacoco / Sonar -->
1123 <groupId>org.jacoco</groupId>
1124 <artifactId>jacoco-maven-plugin</artifactId>
1127 <groupId>org.apache.maven.plugins</groupId>
1128 <artifactId>maven-surefire-plugin</artifactId>
1131 <groupId>org.apache.maven.plugins</groupId>
1132 <artifactId>maven-failsafe-plugin</artifactId>
1135 <!-- End of plugins from ONAP oparent -->
1137 <groupId>org.codehaus.mojo</groupId>
1138 <artifactId>properties-maven-plugin</artifactId>
1139 <version>1.0.0</version>
1143 <goal>set-system-properties</goal>
1148 <name>maven.wagon.http.ssl.allowall</name>
1149 <value>${ssl.allowall}</value>
1152 <name>maven.wagon.http.ssl.insecure</name>
1153 <value>${ssl.insecure}</value>
1161 <groupId>org.sonatype.plugins</groupId>
1162 <artifactId>nexus-staging-maven-plugin</artifactId>
1163 <version>1.6.7</version>
1164 <extensions>true</extensions>
1166 <nexusUrl>${onap.nexus.url}</nexusUrl>
1167 <stagingProfileId>176c31dfe190a</stagingProfileId>
1168 <serverId>ecomp-staging</serverId>
1172 <groupId>org.codehaus.mojo</groupId>
1173 <artifactId>versions-maven-plugin</artifactId>
1174 <version>2.5</version>
1176 <processAllModules>true</processAllModules>
1180 <artifactId>maven-scm-plugin</artifactId>
1181 <version>1.8.1</version>
1183 <tag>${project.artifactId}-${project.version}</tag>