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>karaf4-parent</artifactId>
9 <version>1.1.1-SNAPSHOT</version>
12 <groupId>org.opendaylight.odlparent</groupId>
13 <artifactId>karaf4-parent</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 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
96 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
97 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
98 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
99 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
101 <!-- Support libraries used by OpenDaylight -->
102 <odl.mdsal.version>1.7.3</odl.mdsal.version>
103 <odl.mdsal.model.version>0.12.3</odl.mdsal.model.version>
104 <!-- Used by aaa, vtn -->
105 <commons.codec.version>1.10</commons.codec.version>
106 <!-- Used by netconf, ovsdb -->
107 <commons.lang3.version>3.7</commons.lang3.version>
108 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
109 <commons.lang.version>2.6</commons.lang.version>
110 <!-- Used by neutron; see also controller, vtn -->
111 <commons.net.version>3.6</commons.net.version>
112 <!-- Used by neutron -->
113 <eclipse.persistence.version>2.7.1</eclipse.persistence.version>
115 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
116 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
117 <gson.version>2.8.2</gson.version>
118 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
119 <guava.version>23.6</guava.version>
120 <!-- Used by lispflowmapping, sxp, vtn/manager -->
121 <hamcrest.version>1.3.1</hamcrest.version>
122 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
123 integration/distribution, snmp4sdn, toolkit, ttp -->
124 <jackson.version>2.3.2</jackson.version>
125 <!-- Used by snmp4sdn, yangtools -->
126 <javassist.version>3.20.0-GA</javassist.version>
128 <!-- FIXME remove all dependencies for jersey 1.17 after migration all
130 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
131 snmp4sdn, toolkit -->
132 <jersey.version>1.19.4</jersey.version>
134 <jersey.client.version>1.19.4</jersey.client.version>
136 <!-- New packages for jersey migration 1.17 to 2.8 -->
137 <!-- appache.geronimo.bundle for DocGen -->
138 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
139 <org.json.version>20131018</org.json.version>
142 <jettison.version>1.3.8</jettison.version>
143 <!-- Used by persistence -->
144 <jsr305.api.version>3.0.0</jsr305.api.version>
145 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
146 is fixed (either in PowerMock or with a new JUnit release) -->
147 <!-- Used everywhere -->
148 <junit.version>4.11</junit.version>
149 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
150 <logback.version>1.2.3</logback.version>
151 <!-- Used by nic, sfc, sxp, tsdr -->
152 <mockito.version>1.10.19</mockito.version>
153 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
154 <netty.version>4.1.22.Final</netty.version>
155 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
157 <slf4j.version>1.7.25</slf4j.version>
158 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
160 <spring.version>3.2.17.RELEASE</spring.version>
164 <!-- Extra support libraries used by SDN-C -->
165 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
166 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
167 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
168 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
169 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
170 <antlr.version>4.7.1</antlr.version>
171 <mysql.connector.version>5.1.39</mysql.connector.version>
172 <mariadb.connector.version>2.1.1</mariadb.connector.version>
173 <h2database.version>1.4.196</h2database.version>
174 <derby.version>10.14.2.0</derby.version>
176 <eelf.version>1.0.0</eelf.version>
177 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
179 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
184 <!-- Profiles from ONAP oparent -->
186 <id>generate-json</id>
189 <exists>${swagger-properties}</exists>
192 <name>swagger-sdk.generate-json</name>
198 <groupId>org.codehaus.mojo</groupId>
199 <artifactId>properties-maven-plugin</artifactId>
200 <version>1.0.0</version>
203 <phase>initialize</phase>
205 <goal>read-project-properties</goal>
209 <file>${basedir}/src/main/resources/swagger.properties</file>
216 <groupId>com.github.kongchen</groupId>
217 <artifactId>swagger-maven-plugin</artifactId>
218 <version>3.1.4</version>
222 <locations>${api-rest-package}</locations>
223 <schemes>http,https</schemes>
224 <host>${api-host-ip}:${api-host-port}</host>
225 <basePath>${api-base-path}</basePath>
227 <title>${api-title}</title>
228 <version>${api-version}</version>
229 <description>${api-description}</description>
231 <name>${api-license}</name>
234 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
240 <phase>compile</phase>
242 <goal>generate</goal>
248 <groupId>org.apache.maven.plugins</groupId>
249 <artifactId>maven-install-plugin</artifactId>
250 <version>2.3.1</version>
253 <id>install-file-id</id>
254 <phase>install</phase>
256 <goal>install-file</goal>
259 <file>${basedir}/src/main/resources/swagger.json</file>
260 <groupId>${project.groupId}</groupId>
261 <artifactId>${project.artifactId}-swagger-schema</artifactId>
262 <version>${project.version}</version>
263 <packaging>json</packaging>
272 <id>generate-sdk</id>
275 <exists>${swagger-json}</exists>
278 <name>swagger-sdk.generate-java-sdk</name>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-antrun-plugin</artifactId>
286 <version>1.8</version>
289 <phase>initialize</phase>
290 <id>ant-create-script</id>
292 <exportAntProperties>true</exportAntProperties>
295 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
296 <condition property="is_windows" value="true">
297 <os family="windows"/>
299 <condition property="isLinux" value="true">
303 <equals arg1="${is_windows}" arg2="true"/>
305 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
306 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
307 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
310 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
311 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
312 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
313 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
325 <groupId>ant-contrib</groupId>
326 <artifactId>ant-contrib</artifactId>
327 <version>1.0b3</version>
330 <artifactId>ant</artifactId>
331 <groupId>ant</groupId>
338 <groupId>io.swagger</groupId>
339 <artifactId>swagger-codegen-maven-plugin</artifactId>
340 <version>2.2.1</version>
344 <goal>generate</goal>
347 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
348 <output>${project.build.directory}/generated-sources</output>
349 <language>java</language>
351 <dateLibrary>joda</dateLibrary>
353 <library>jersey2</library>
354 <groupId>${project.groupId}</groupId>
355 <artifactId>${project.artifactId}-java-sdk</artifactId>
356 <artifactVersion>${project.version}</artifactVersion>
357 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
358 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
359 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
365 <artifactId>exec-maven-plugin</artifactId>
366 <groupId>org.codehaus.mojo</groupId>
367 <version>1.5.0</version>
370 <id>swagger-generate-sources</id>
371 <phase>generate-sources</phase>
376 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
382 <groupId>org.apache.maven.plugins</groupId>
383 <artifactId>maven-clean-plugin</artifactId>
384 <version>3.0.0</version>
387 <id>clean-generated-files</id>
388 <phase>generate-sources</phase>
395 <directory>${project.build.directory}/generated-sources</directory>
406 <groupId>org.onap.msb.swagger-sdk</groupId>
407 <artifactId>swagger-sdk</artifactId>
408 <version>1.0.0</version>
413 <!-- End of profiles from ONAP oparent -->
415 <id>nexus-staging</id>
418 <name>!altDeploymentRepository</name>
424 <groupId>org.sonatype.plugins</groupId>
425 <artifactId>nexus-staging-maven-plugin</artifactId>
426 <version>1.6.7</version>
427 <extensions>true</extensions>
429 <nexusUrl>https://nexus.onap.org</nexusUrl>
430 <stagingProfileId>176c31dfe190a</stagingProfileId>
431 <serverId>ecomp-staging</serverId>
440 <dependencyManagement>
443 <groupId>org.opendaylight.controller</groupId>
444 <artifactId>mdsal-artifacts</artifactId>
445 <version>${odl.mdsal.version}</version>
447 <scope>import</scope>
450 <groupId>org.opendaylight.mdsal.model</groupId>
451 <artifactId>mdsal-model-artifacts</artifactId>
452 <version>${odl.mdsal.model.version}</version>
454 <scope>import</scope>
457 <groupId>org.onap.sdnc.core</groupId>
458 <artifactId>sli-common</artifactId>
459 <version>${sdnctl.sli.version}</version>
463 <groupId>org.onap.sdnc.core</groupId>
464 <artifactId>sli-provider</artifactId>
465 <version>${sdnctl.sli.version}</version>
469 <groupId>org.onap.sdnc.core</groupId>
470 <artifactId>aai-service-provider</artifactId>
471 <version>${sdnctl.aai.service.version}</version>
475 <groupId>org.onap.sdnc.core</groupId>
476 <artifactId>dblib-provider</artifactId>
477 <version>${sdnctl.dblib.version}</version>
480 <groupId>com.att.eelf</groupId>
481 <artifactId>eelf-core</artifactId>
482 <version>${eelf.version}</version>
485 <groupId>org.apache.derby</groupId>
486 <artifactId>derby</artifactId>
487 <version>${derby.version}</version>
492 </dependencyManagement>
498 <artifactId>maven-javadoc-plugin</artifactId>
499 <version>2.10.4</version>
501 <failOnError>false</failOnError>
502 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
504 <groupId>org.umlgraph</groupId>
505 <artifactId>umlgraph</artifactId>
506 <version>5.6</version>
508 <additionalparam>-views</additionalparam>
509 <useStandardDocletOptions>true</useStandardDocletOptions>
510 <excludePackageNames>org.opendaylight.*</excludePackageNames>
511 <additionalDependencies>
512 <additionalDependency>
513 <groupId>org.slf4j</groupId>
514 <artifactId>slf4j-api</artifactId>
515 <version>${slf4j.version}</version>
516 </additionalDependency>
517 <additionalDependency>
518 <groupId>org.antlr</groupId>
519 <artifactId>antlr4</artifactId>
520 <version>${antlr.version}</version>
521 </additionalDependency>
522 <additionalDependency>
523 <groupId>org.antlr</groupId>
524 <artifactId>antlr4-runtime</artifactId>
525 <version>${antlr.version}</version>
526 </additionalDependency>
528 <additionalDependency>
529 <groupId>com.sun.jersey</groupId>
530 <artifactId>jersey-client</artifactId>
531 <version>${jersey.json.version}</version>
532 </additionalDependency>
533 <additionalDependency>
534 <groupId>com.sun.jersey</groupId>
535 <artifactId>jersey-core</artifactId>
536 <version>${jersey.json.version}</version>
537 </additionalDependency>
538 <additionalDependency>
539 <groupId>org.apache.httpcomponents</groupId>
540 <artifactId>httpcore-osgi</artifactId>
541 <version>${apache.httpcomponents.core.version}</version>
542 </additionalDependency>
543 <additionalDependency>
544 <groupId>org.apache.httpcomponents</groupId>
545 <artifactId>httpclient-osgi</artifactId>
546 <version>${apache.httpcomponents.client.version}</version>
547 </additionalDependency>
548 <additionalDependency>
549 <groupId>com.fasterxml.jackson.core</groupId>
550 <artifactId>jackson-databind</artifactId>
551 <version>${fasterxml.jackson.version}</version>
552 </additionalDependency>
553 <additionalDependency>
554 <groupId>com.fasterxml.jackson.core</groupId>
555 <artifactId>jackson-annotations</artifactId>
556 <version>${fasterxml.jackson.version}</version>
557 </additionalDependency>
558 <additionalDependency>
559 <groupId>com.fasterxml.jackson.core</groupId>
560 <artifactId>jackson-core</artifactId>
561 <version>${fasterxml.jackson.version}</version>
562 </additionalDependency>
563 <additionalDependency>
564 <groupId>commons-lang</groupId>
565 <artifactId>commons-lang</artifactId>
566 <version>${commons.lang.version}</version>
567 </additionalDependency>
568 </additionalDependencies>
573 <report>javadoc-no-fork</report>
574 <report>test-javadoc-no-fork</report>
580 <report>aggregate</report>
581 <report>test-aggregate</report>
587 <groupId>org.apache.maven.plugins</groupId>
588 <artifactId>maven-jxr-plugin</artifactId>
589 <version>2.3</version>
594 <report>aggregate</report>
595 <report>test-aggregate</report>
602 <artifactId>maven-surefire-plugin</artifactId>
603 <version>2.17</version>
606 <groupId>org.apache.maven.plugins</groupId>
607 <artifactId>maven-changelog-plugin</artifactId>
608 <version>2.3</version>
617 <report>changelog</report>
618 <report>file-activity</report>
624 <groupId>org.codehaus.mojo</groupId>
625 <artifactId>taglist-maven-plugin</artifactId>
626 <version>2.4</version>
635 <url>${onap.nexus.public-url}</url>
637 <enabled>true</enabled>
640 <enabled>true</enabled>
644 <id>onap-staging</id>
645 <url>${onap.nexus.staging-url}</url>
647 <enabled>true</enabled>
650 <enabled>true</enabled>
654 <id>onap-snapshot</id>
655 <url>${onap.nexus.snapshot-url}</url>
657 <enabled>false</enabled>
660 <enabled>true</enabled>
664 <id>opendaylight-mirror</id>
665 <name>opendaylight-mirror</name>
666 <url>${opendaylight.nexus.public-url}</url>
668 <enabled>true</enabled>
669 <updatePolicy>never</updatePolicy>
672 <enabled>false</enabled>
676 <id>opendaylight-snapshot</id>
677 <name>opendaylight-snapshot</name>
678 <url>${opendaylight.nexus.snapshot-url}</url>
680 <enabled>false</enabled>
683 <enabled>true</enabled>
686 <!-- Black Duck plugin dependencies -->
689 <name>JCenter Repository</name>
690 <url>http://jcenter.bintray.com</url>
695 <name>Restlet Repository</name>
696 <url>http://maven.restlet.com</url>
698 </pluginRepositories>
704 <url>https://nexus.onap.org/content/groups/public</url>
706 <enabled>true</enabled>
707 <updatePolicy>never</updatePolicy>
710 <enabled>true</enabled>
711 <updatePolicy>always</updatePolicy>
715 <id>onap-staging</id>
716 <url>https://nexus.onap.org/content/groups/staging</url>
718 <enabled>true</enabled>
719 <updatePolicy>never</updatePolicy>
722 <enabled>true</enabled>
723 <updatePolicy>always</updatePolicy>
727 <id>ecomp-release</id>
728 <name>onap-repository-releases</name>
729 <url>https://nexus.onap.org/content/repositories/releases</url>
731 <enabled>true</enabled>
732 <updatePolicy>never</updatePolicy>
735 <enabled>false</enabled>
739 <id>ecomp-snapshot</id>
740 <name>onap-repository-snapshots</name>
741 <url>https://nexus.onap.org/content/repositories/snapshots</url>
743 <enabled>false</enabled>
746 <enabled>true</enabled>
750 <id>opendaylight-mirror</id>
751 <name>opendaylight-mirror</name>
752 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
754 <enabled>true</enabled>
755 <updatePolicy>never</updatePolicy>
758 <enabled>false</enabled>
762 <id>opendaylight-snapshot</id>
763 <name>opendaylight-snapshot</name>
764 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
766 <enabled>false</enabled>
769 <enabled>true</enabled>
775 <distributionManagement>
777 <id>ecomp-releases</id>
778 <url>https://nexus.onap.org/content/repositories/releases</url>
781 <id>ecomp-snapshots</id>
782 <url>https://nexus.onap.org/content/repositories/snapshots</url>
783 </snapshotRepository>
784 </distributionManagement>
790 <!-- Plugins from ONAP oparent -->
792 <groupId>org.apache.maven.plugins</groupId>
793 <artifactId>maven-deploy-plugin</artifactId>
794 <!-- This version supports the "deployAtEnd" parameter -->
795 <version>2.8</version>
802 <groupId>org.apache.maven.plugins</groupId>
803 <artifactId>maven-site-plugin</artifactId>
804 <version>3.6</version>
807 <groupId>org.apache.maven.wagon</groupId>
808 <artifactId>wagon-webdav-jackrabbit</artifactId>
809 <version>2.10</version>
812 <groupId>org.apache.maven.doxia</groupId>
813 <artifactId>doxia-core</artifactId>
814 <version>1.7</version>
817 <groupId>org.apache.maven.doxia</groupId>
818 <artifactId>doxia-sink-api</artifactId>
819 <version>1.7</version>
822 <groupId>org.apache.maven.doxia</groupId>
823 <artifactId>doxia-logging-api</artifactId>
824 <version>1.7</version>
829 <id>attach-descriptor</id>
831 <goal>attach-descriptor</goal>
837 <artifactId>maven-checkstyle-plugin</artifactId>
838 <version>2.17</version>
841 <groupId>org.onap.oparent</groupId>
842 <artifactId>checkstyle</artifactId>
843 <version>1.1.1</version>
848 <id>check-license</id>
852 <phase>process-sources</phase>
854 <configLocation>onap-checkstyle/check-license.xml</configLocation>
855 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
856 <includeResources>false</includeResources>
857 <includeTestSourceDirectory>true</includeTestSourceDirectory>
858 <includeTestResources>false</includeTestResources>
859 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
862 <failsOnError>false</failsOnError>
863 <consoleOutput>true</consoleOutput>
871 <phase>process-sources</phase>
873 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
874 with minor changes -->
875 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
876 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
877 sources directory -->
878 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
879 <includeResources>true</includeResources>
880 <includeTestSourceDirectory>true</includeTestSourceDirectory>
881 <includeTestResources>true</includeTestResources>
884 <failsOnError>false</failsOnError>
885 <consoleOutput>true</consoleOutput>
891 <groupId>org.jacoco</groupId>
892 <artifactId>jacoco-maven-plugin</artifactId>
893 <version>${jacoco.version}</version>
895 <!-- Note: This exclusion list should match <sonar.exclusions> property
898 <exclude>**/gen/**</exclude>
899 <exclude>**/generated-sources/**</exclude>
900 <exclude>**/yang-gen/**</exclude>
901 <exclude>**/pax/**</exclude>
905 <!-- Prepares the property pointing to the JaCoCo runtime agent which
906 is passed as VM argument when Maven the Surefire plugin is executed. -->
908 <id>pre-unit-test</id>
910 <goal>prepare-agent</goal>
913 <!-- Sets the path to the file which contains the execution data. -->
914 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
915 <!-- Sets the name of the property containing the settings for JaCoCo
917 <propertyName>surefireArgLine</propertyName>
920 <!-- Ensures that the code coverage report for unit tests is created
921 after unit tests have been run. -->
923 <id>post-unit-test</id>
929 <!-- Sets the path to the file which contains the execution data. -->
930 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
931 <!-- Sets the output directory for the code coverage report. -->
932 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
936 <id>pre-integration-test</id>
937 <phase>pre-integration-test</phase>
939 <goal>prepare-agent</goal>
942 <!-- Sets the path to the file which contains the execution data. -->
943 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
944 <!-- Sets the name of the property containing the settings for JaCoCo
946 <propertyName>failsafeArgLine</propertyName>
949 <!-- Ensures that the code coverage report for integration tests after
950 integration tests have been run. -->
952 <id>post-integration-test</id>
953 <phase>post-integration-test</phase>
958 <!-- Sets the path to the file which contains the execution data. -->
959 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
960 <!-- Sets the output directory for the code coverage report. -->
961 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
967 <groupId>org.apache.maven.plugins</groupId>
968 <artifactId>maven-surefire-plugin</artifactId>
969 <version>2.19.1</version>
971 <!-- Sets the VM argument line used when unit tests are run. -->
972 <argLine>${surefireArgLine}</argLine>
973 <!-- Excludes integration tests when unit tests are run. -->
975 <exclude>**/IT*.java</exclude>
980 <groupId>org.apache.maven.plugins</groupId>
981 <artifactId>maven-failsafe-plugin</artifactId>
982 <version>2.19.1</version>
984 <!-- Ensures that both integration-test and verify goals of the Failsafe
985 Maven plugin are executed. -->
987 <id>integration-tests</id>
989 <goal>integration-test</goal>
993 <!-- Sets the VM argument line used when integration tests are run. -->
994 <argLine>${failsafeArgLine}</argLine>
1000 <groupId>org.apache.maven.plugins</groupId>
1001 <artifactId>maven-compiler-plugin</artifactId>
1002 <version>${maven.compile.plugin.version}</version>
1004 <source>${java.version.source}</source>
1005 <target>${java.version.target}</target>
1009 <groupId>org.sonarsource.scanner.maven</groupId>
1010 <artifactId>sonar-maven-plugin</artifactId>
1011 <version>3.3.0.603</version>
1014 <!-- End of plugins from ONAP oparent -->
1017 <groupId>org.apache.maven.plugins</groupId>
1018 <artifactId>maven-javadoc-plugin</artifactId>
1019 <version>2.10</version>
1021 <additionalDependencies>
1022 <additionalDependency>
1023 <groupId>org.slf4j</groupId>
1024 <artifactId>slf4j-api</artifactId>
1025 <version>${slf4j.version}</version>
1026 </additionalDependency>
1027 <additionalDependency>
1028 <groupId>org.antlr</groupId>
1029 <artifactId>antlr4</artifactId>
1030 <version>${antlr.version}</version>
1031 </additionalDependency>
1032 <additionalDependency>
1033 <groupId>org.antlr</groupId>
1034 <artifactId>antlr4-runtime</artifactId>
1035 <version>${antlr.version}</version>
1036 </additionalDependency>
1038 <additionalDependency>
1039 <groupId>com.sun.jersey</groupId>
1040 <artifactId>jersey-client</artifactId>
1041 <version>${jersey.client.version}</version>
1042 </additionalDependency>
1043 <additionalDependency>
1044 <groupId>com.sun.jersey</groupId>
1045 <artifactId>jersey-core</artifactId>
1046 <version>${jersey.version}</version>
1047 </additionalDependency>
1048 <additionalDependency>
1049 <groupId>org.apache.httpcomponents</groupId>
1050 <artifactId>httpcore-osgi</artifactId>
1051 <version>${apache.httpcomponents.core.version}</version>
1052 </additionalDependency>
1053 <additionalDependency>
1054 <groupId>org.apache.httpcomponents</groupId>
1055 <artifactId>httpclient-osgi</artifactId>
1056 <version>${apache.httpcomponents.client.version}</version>
1057 </additionalDependency>
1058 <additionalDependency>
1059 <groupId>com.fasterxml.jackson.core</groupId>
1060 <artifactId>jackson-databind</artifactId>
1061 <version>${jackson.version}</version>
1062 </additionalDependency>
1063 <additionalDependency>
1064 <groupId>com.fasterxml.jackson.core</groupId>
1065 <artifactId>jackson-annotations</artifactId>
1066 <version>${jackson.version}</version>
1067 </additionalDependency>
1068 <additionalDependency>
1069 <groupId>com.fasterxml.jackson.core</groupId>
1070 <artifactId>jackson-core</artifactId>
1071 <version>${jackson.version}</version>
1072 </additionalDependency>
1073 <additionalDependency>
1074 <groupId>commons-lang</groupId>
1075 <artifactId>commons-lang</artifactId>
1076 <version>${commons.lang.version}</version>
1077 </additionalDependency>
1078 </additionalDependencies>
1085 <goal>aggregate</goal>
1098 <!-- Plugins from ONAP oparent -->
1100 <artifactId>maven-checkstyle-plugin</artifactId>
1103 <groupId>org.codehaus.mojo</groupId>
1104 <artifactId>build-helper-maven-plugin</artifactId>
1105 <version>1.12</version>
1107 <!-- Jacoco / Sonar -->
1109 <groupId>org.jacoco</groupId>
1110 <artifactId>jacoco-maven-plugin</artifactId>
1113 <groupId>org.apache.maven.plugins</groupId>
1114 <artifactId>maven-surefire-plugin</artifactId>
1117 <groupId>org.apache.maven.plugins</groupId>
1118 <artifactId>maven-failsafe-plugin</artifactId>
1121 <!-- End of plugins from ONAP oparent -->
1123 <groupId>org.codehaus.mojo</groupId>
1124 <artifactId>properties-maven-plugin</artifactId>
1125 <version>1.0.0</version>
1129 <goal>set-system-properties</goal>
1134 <name>maven.wagon.http.ssl.allowall</name>
1135 <value>${ssl.allowall}</value>
1138 <name>maven.wagon.http.ssl.insecure</name>
1139 <value>${ssl.insecure}</value>
1147 <groupId>org.codehaus.mojo</groupId>
1148 <artifactId>versions-maven-plugin</artifactId>
1149 <version>2.5</version>
1151 <processAllModules>true</processAllModules>
1155 <artifactId>maven-scm-plugin</artifactId>
1156 <version>1.8.1</version>
1158 <tag>${project.artifactId}-${project.version}</tag>