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>mdsal-it-parent</artifactId>
9 <version>1.1.4-SNAPSHOT</version>
12 <groupId>org.opendaylight.controller</groupId>
13 <artifactId>mdsal-it-parent</artifactId>
14 <version>1.7.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>
103 <!-- Support libraries used by OpenDaylight -->
104 <odl.mdsal.version>1.7.3</odl.mdsal.version>
105 <odl.mdsal.model.version>0.12.3</odl.mdsal.model.version>
106 <!-- Used by aaa, vtn -->
107 <commons.codec.version>1.10</commons.codec.version>
108 <!-- Used by netconf, ovsdb -->
109 <commons.lang3.version>3.7</commons.lang3.version>
110 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
111 <commons.lang.version>2.6</commons.lang.version>
112 <!-- Used by neutron; see also controller, vtn -->
113 <commons.net.version>3.6</commons.net.version>
114 <!-- Used by neutron -->
115 <eclipse.persistence.version>2.7.1</eclipse.persistence.version>
117 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
118 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
119 <gson.version>2.8.2</gson.version>
120 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
121 <guava.version>23.6</guava.version>
122 <!-- Used by lispflowmapping, sxp, vtn/manager -->
123 <hamcrest.version>1.3.1</hamcrest.version>
124 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
125 integration/distribution, snmp4sdn, toolkit, ttp -->
126 <jackson.version>2.3.2</jackson.version>
127 <!-- Used by snmp4sdn, yangtools -->
128 <javassist.version>3.20.0-GA</javassist.version>
130 <!-- FIXME remove all dependencies for jersey 1.17 after migration all
132 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
133 snmp4sdn, toolkit -->
134 <jersey.version>1.19.4</jersey.version>
136 <jersey.client.version>1.19.4</jersey.client.version>
138 <!-- New packages for jersey migration 1.17 to 2.8 -->
139 <!-- appache.geronimo.bundle for DocGen -->
140 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
141 <org.json.version>20131018</org.json.version>
144 <jettison.version>1.3.8</jettison.version>
145 <!-- Used by persistence -->
146 <jsr305.api.version>3.0.0</jsr305.api.version>
147 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
148 is fixed (either in PowerMock or with a new JUnit release) -->
149 <!-- Used everywhere -->
150 <junit.version>4.11</junit.version>
151 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
152 <logback.version>1.2.3</logback.version>
153 <!-- Used by nic, sfc, sxp, tsdr -->
154 <mockito.version>1.10.19</mockito.version>
155 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
156 <netty.version>4.1.22.Final</netty.version>
157 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
159 <slf4j.version>1.7.25</slf4j.version>
160 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
162 <spring.version>3.2.17.RELEASE</spring.version>
166 <!-- Extra support libraries used by SDN-C -->
167 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
168 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
169 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
170 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
171 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
172 <antlr.version>4.7.1</antlr.version>
173 <mysql.connector.version>5.1.39</mysql.connector.version>
174 <mariadb.connector.version>2.1.1</mariadb.connector.version>
175 <h2database.version>1.4.196</h2database.version>
176 <derby.version>10.14.2.0</derby.version>
178 <eelf.version>1.0.0</eelf.version>
179 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
181 <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>
443 <dependencyManagement>
446 <groupId>org.opendaylight.controller</groupId>
447 <artifactId>mdsal-artifacts</artifactId>
448 <version>${odl.mdsal.version}</version>
450 <scope>import</scope>
453 <groupId>org.opendaylight.mdsal.model</groupId>
454 <artifactId>mdsal-model-artifacts</artifactId>
455 <version>${odl.mdsal.model.version}</version>
457 <scope>import</scope>
460 <groupId>org.onap.sdnc.core</groupId>
461 <artifactId>sli-common</artifactId>
462 <version>${sdnctl.sli.version}</version>
466 <groupId>org.onap.sdnc.core</groupId>
467 <artifactId>sli-provider</artifactId>
468 <version>${sdnctl.sli.version}</version>
472 <groupId>org.onap.sdnc.core</groupId>
473 <artifactId>aai-service-provider</artifactId>
474 <version>${sdnctl.aai.service.version}</version>
478 <groupId>org.onap.sdnc.core</groupId>
479 <artifactId>dblib-provider</artifactId>
480 <version>${sdnctl.dblib.version}</version>
483 <groupId>com.att.eelf</groupId>
484 <artifactId>eelf-core</artifactId>
485 <version>${eelf.version}</version>
488 <groupId>org.apache.derby</groupId>
489 <artifactId>derby</artifactId>
490 <version>${derby.version}</version>
495 </dependencyManagement>
501 <artifactId>maven-javadoc-plugin</artifactId>
502 <version>2.10.4</version>
504 <failOnError>false</failOnError>
505 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
507 <groupId>org.umlgraph</groupId>
508 <artifactId>umlgraph</artifactId>
509 <version>5.6</version>
511 <additionalparam>-views</additionalparam>
512 <useStandardDocletOptions>true</useStandardDocletOptions>
513 <excludePackageNames>org.opendaylight.*</excludePackageNames>
514 <additionalDependencies>
515 <additionalDependency>
516 <groupId>org.slf4j</groupId>
517 <artifactId>slf4j-api</artifactId>
518 <version>${slf4j.version}</version>
519 </additionalDependency>
520 <additionalDependency>
521 <groupId>org.antlr</groupId>
522 <artifactId>antlr4</artifactId>
523 <version>${antlr.version}</version>
524 </additionalDependency>
525 <additionalDependency>
526 <groupId>org.antlr</groupId>
527 <artifactId>antlr4-runtime</artifactId>
528 <version>${antlr.version}</version>
529 </additionalDependency>
531 <additionalDependency>
532 <groupId>com.sun.jersey</groupId>
533 <artifactId>jersey-client</artifactId>
534 <version>${jersey.json.version}</version>
535 </additionalDependency>
536 <additionalDependency>
537 <groupId>com.sun.jersey</groupId>
538 <artifactId>jersey-core</artifactId>
539 <version>${jersey.json.version}</version>
540 </additionalDependency>
541 <additionalDependency>
542 <groupId>org.apache.httpcomponents</groupId>
543 <artifactId>httpcore-osgi</artifactId>
544 <version>${apache.httpcomponents.core.version}</version>
545 </additionalDependency>
546 <additionalDependency>
547 <groupId>org.apache.httpcomponents</groupId>
548 <artifactId>httpclient-osgi</artifactId>
549 <version>${apache.httpcomponents.client.version}</version>
550 </additionalDependency>
551 <additionalDependency>
552 <groupId>com.fasterxml.jackson.core</groupId>
553 <artifactId>jackson-databind</artifactId>
554 <version>${fasterxml.jackson.version}</version>
555 </additionalDependency>
556 <additionalDependency>
557 <groupId>com.fasterxml.jackson.core</groupId>
558 <artifactId>jackson-annotations</artifactId>
559 <version>${fasterxml.jackson.version}</version>
560 </additionalDependency>
561 <additionalDependency>
562 <groupId>com.fasterxml.jackson.core</groupId>
563 <artifactId>jackson-core</artifactId>
564 <version>${fasterxml.jackson.version}</version>
565 </additionalDependency>
566 <additionalDependency>
567 <groupId>commons-lang</groupId>
568 <artifactId>commons-lang</artifactId>
569 <version>${commons.lang.version}</version>
570 </additionalDependency>
571 </additionalDependencies>
576 <report>javadoc-no-fork</report>
577 <report>test-javadoc-no-fork</report>
583 <report>aggregate</report>
584 <report>test-aggregate</report>
590 <groupId>org.apache.maven.plugins</groupId>
591 <artifactId>maven-jxr-plugin</artifactId>
592 <version>2.3</version>
597 <report>aggregate</report>
598 <report>test-aggregate</report>
605 <artifactId>maven-surefire-plugin</artifactId>
606 <version>2.17</version>
609 <groupId>org.apache.maven.plugins</groupId>
610 <artifactId>maven-changelog-plugin</artifactId>
611 <version>2.3</version>
620 <report>changelog</report>
621 <report>file-activity</report>
627 <groupId>org.codehaus.mojo</groupId>
628 <artifactId>taglist-maven-plugin</artifactId>
629 <version>2.4</version>
638 <url>${onap.nexus.public-url}</url>
640 <enabled>true</enabled>
643 <enabled>true</enabled>
647 <id>onap-staging</id>
648 <url>${onap.nexus.staging-url}</url>
650 <enabled>true</enabled>
653 <enabled>true</enabled>
657 <id>onap-snapshot</id>
658 <url>${onap.nexus.snapshot-url}</url>
660 <enabled>false</enabled>
663 <enabled>true</enabled>
667 <id>opendaylight-mirror</id>
668 <name>opendaylight-mirror</name>
669 <url>${opendaylight.nexus.public-url}</url>
671 <enabled>true</enabled>
672 <updatePolicy>never</updatePolicy>
675 <enabled>false</enabled>
679 <id>opendaylight-snapshot</id>
680 <name>opendaylight-snapshot</name>
681 <url>${opendaylight.nexus.snapshot-url}</url>
683 <enabled>false</enabled>
686 <enabled>true</enabled>
689 <!-- Black Duck plugin dependencies -->
692 <name>JCenter Repository</name>
693 <url>http://jcenter.bintray.com</url>
698 <name>Restlet Repository</name>
699 <url>http://maven.restlet.com</url>
701 </pluginRepositories>
707 <url>https://nexus.onap.org/content/groups/public</url>
709 <enabled>true</enabled>
710 <updatePolicy>never</updatePolicy>
713 <enabled>true</enabled>
714 <updatePolicy>always</updatePolicy>
718 <id>onap-staging</id>
719 <url>https://nexus.onap.org/content/groups/staging</url>
721 <enabled>true</enabled>
722 <updatePolicy>never</updatePolicy>
725 <enabled>true</enabled>
726 <updatePolicy>always</updatePolicy>
730 <id>ecomp-release</id>
731 <name>onap-repository-releases</name>
732 <url>https://nexus.onap.org/content/repositories/releases</url>
734 <enabled>true</enabled>
735 <updatePolicy>never</updatePolicy>
738 <enabled>false</enabled>
742 <id>ecomp-snapshot</id>
743 <name>onap-repository-snapshots</name>
744 <url>https://nexus.onap.org/content/repositories/snapshots</url>
746 <enabled>false</enabled>
749 <enabled>true</enabled>
753 <id>opendaylight-mirror</id>
754 <name>opendaylight-mirror</name>
755 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
757 <enabled>true</enabled>
758 <updatePolicy>never</updatePolicy>
761 <enabled>false</enabled>
765 <id>opendaylight-snapshot</id>
766 <name>opendaylight-snapshot</name>
767 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
769 <enabled>false</enabled>
772 <enabled>true</enabled>
779 <distributionManagement>
781 <id>ecomp-releases</id>
782 <url>https://nexus.onap.org/content/repositories/releases</url>
785 <id>ecomp-snapshots</id>
786 <url>https://nexus.onap.org/content/repositories/snapshots</url>
787 </snapshotRepository>
788 </distributionManagement>
794 <!-- Plugins from ONAP oparent -->
796 <groupId>org.apache.maven.plugins</groupId>
797 <artifactId>maven-deploy-plugin</artifactId>
798 <!-- This version supports the "deployAtEnd" parameter -->
799 <version>2.8</version>
806 <groupId>org.apache.maven.plugins</groupId>
807 <artifactId>maven-site-plugin</artifactId>
808 <version>3.6</version>
811 <groupId>org.apache.maven.wagon</groupId>
812 <artifactId>wagon-webdav-jackrabbit</artifactId>
813 <version>2.10</version>
816 <groupId>org.apache.maven.doxia</groupId>
817 <artifactId>doxia-core</artifactId>
818 <version>1.7</version>
821 <groupId>org.apache.maven.doxia</groupId>
822 <artifactId>doxia-sink-api</artifactId>
823 <version>1.7</version>
826 <groupId>org.apache.maven.doxia</groupId>
827 <artifactId>doxia-logging-api</artifactId>
828 <version>1.7</version>
833 <id>attach-descriptor</id>
835 <goal>attach-descriptor</goal>
841 <artifactId>maven-checkstyle-plugin</artifactId>
842 <version>2.17</version>
845 <groupId>org.onap.oparent</groupId>
846 <artifactId>checkstyle</artifactId>
847 <version>1.1.1</version>
852 <id>check-license</id>
856 <phase>process-sources</phase>
858 <configLocation>onap-checkstyle/check-license.xml</configLocation>
859 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
860 <includeResources>false</includeResources>
861 <includeTestSourceDirectory>true</includeTestSourceDirectory>
862 <includeTestResources>false</includeTestResources>
863 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
866 <failsOnError>false</failsOnError>
867 <consoleOutput>true</consoleOutput>
875 <phase>process-sources</phase>
877 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
878 with minor changes -->
879 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
880 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
881 sources directory -->
882 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
883 <includeResources>true</includeResources>
884 <includeTestSourceDirectory>true</includeTestSourceDirectory>
885 <includeTestResources>true</includeTestResources>
888 <failsOnError>false</failsOnError>
889 <consoleOutput>true</consoleOutput>
895 <groupId>org.jacoco</groupId>
896 <artifactId>jacoco-maven-plugin</artifactId>
897 <version>${jacoco.version}</version>
899 <!-- Note: This exclusion list should match <sonar.exclusions> property
902 <exclude>**/gen/**</exclude>
903 <exclude>**/generated-sources/**</exclude>
904 <exclude>**/yang-gen/**</exclude>
905 <exclude>**/pax/**</exclude>
909 <!-- Prepares the property pointing to the JaCoCo runtime agent which
910 is passed as VM argument when Maven the Surefire plugin is executed. -->
912 <id>pre-unit-test</id>
914 <goal>prepare-agent</goal>
917 <!-- Sets the path to the file which contains the execution data. -->
918 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
919 <!-- Sets the name of the property containing the settings for JaCoCo
921 <propertyName>surefireArgLine</propertyName>
924 <!-- Ensures that the code coverage report for unit tests is created
925 after unit tests have been run. -->
927 <id>post-unit-test</id>
933 <!-- Sets the path to the file which contains the execution data. -->
934 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
935 <!-- Sets the output directory for the code coverage report. -->
936 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
940 <id>pre-integration-test</id>
941 <phase>pre-integration-test</phase>
943 <goal>prepare-agent</goal>
946 <!-- Sets the path to the file which contains the execution data. -->
947 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
948 <!-- Sets the name of the property containing the settings for JaCoCo
950 <propertyName>failsafeArgLine</propertyName>
953 <!-- Ensures that the code coverage report for integration tests after
954 integration tests have been run. -->
956 <id>post-integration-test</id>
957 <phase>post-integration-test</phase>
962 <!-- Sets the path to the file which contains the execution data. -->
963 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
964 <!-- Sets the output directory for the code coverage report. -->
965 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
971 <groupId>org.apache.maven.plugins</groupId>
972 <artifactId>maven-surefire-plugin</artifactId>
973 <version>2.19.1</version>
975 <!-- Sets the VM argument line used when unit tests are run. -->
976 <argLine>${surefireArgLine}</argLine>
977 <!-- Excludes integration tests when unit tests are run. -->
979 <exclude>**/IT*.java</exclude>
984 <groupId>org.apache.maven.plugins</groupId>
985 <artifactId>maven-failsafe-plugin</artifactId>
986 <version>2.19.1</version>
988 <!-- Ensures that both integration-test and verify goals of the Failsafe
989 Maven plugin are executed. -->
991 <id>integration-tests</id>
993 <goal>integration-test</goal>
997 <!-- Sets the VM argument line used when integration tests are run. -->
998 <argLine>${failsafeArgLine}</argLine>
1004 <groupId>org.apache.maven.plugins</groupId>
1005 <artifactId>maven-compiler-plugin</artifactId>
1006 <version>${maven.compile.plugin.version}</version>
1008 <source>${java.version.source}</source>
1009 <target>${java.version.target}</target>
1013 <groupId>org.sonarsource.scanner.maven</groupId>
1014 <artifactId>sonar-maven-plugin</artifactId>
1015 <version>3.3.0.603</version>
1018 <!-- End of plugins from ONAP oparent -->
1021 <groupId>org.apache.maven.plugins</groupId>
1022 <artifactId>maven-javadoc-plugin</artifactId>
1023 <version>2.10</version>
1025 <additionalDependencies>
1026 <additionalDependency>
1027 <groupId>org.slf4j</groupId>
1028 <artifactId>slf4j-api</artifactId>
1029 <version>${slf4j.version}</version>
1030 </additionalDependency>
1031 <additionalDependency>
1032 <groupId>org.antlr</groupId>
1033 <artifactId>antlr4</artifactId>
1034 <version>${antlr.version}</version>
1035 </additionalDependency>
1036 <additionalDependency>
1037 <groupId>org.antlr</groupId>
1038 <artifactId>antlr4-runtime</artifactId>
1039 <version>${antlr.version}</version>
1040 </additionalDependency>
1042 <additionalDependency>
1043 <groupId>com.sun.jersey</groupId>
1044 <artifactId>jersey-client</artifactId>
1045 <version>${jersey.client.version}</version>
1046 </additionalDependency>
1047 <additionalDependency>
1048 <groupId>com.sun.jersey</groupId>
1049 <artifactId>jersey-core</artifactId>
1050 <version>${jersey.version}</version>
1051 </additionalDependency>
1052 <additionalDependency>
1053 <groupId>org.apache.httpcomponents</groupId>
1054 <artifactId>httpcore-osgi</artifactId>
1055 <version>${apache.httpcomponents.core.version}</version>
1056 </additionalDependency>
1057 <additionalDependency>
1058 <groupId>org.apache.httpcomponents</groupId>
1059 <artifactId>httpclient-osgi</artifactId>
1060 <version>${apache.httpcomponents.client.version}</version>
1061 </additionalDependency>
1062 <additionalDependency>
1063 <groupId>com.fasterxml.jackson.core</groupId>
1064 <artifactId>jackson-databind</artifactId>
1065 <version>${jackson.version}</version>
1066 </additionalDependency>
1067 <additionalDependency>
1068 <groupId>com.fasterxml.jackson.core</groupId>
1069 <artifactId>jackson-annotations</artifactId>
1070 <version>${jackson.version}</version>
1071 </additionalDependency>
1072 <additionalDependency>
1073 <groupId>com.fasterxml.jackson.core</groupId>
1074 <artifactId>jackson-core</artifactId>
1075 <version>${jackson.version}</version>
1076 </additionalDependency>
1077 <additionalDependency>
1078 <groupId>commons-lang</groupId>
1079 <artifactId>commons-lang</artifactId>
1080 <version>${commons.lang.version}</version>
1081 </additionalDependency>
1082 </additionalDependencies>
1089 <goal>aggregate</goal>
1102 <!-- Plugins from ONAP oparent -->
1104 <artifactId>maven-checkstyle-plugin</artifactId>
1107 <groupId>org.codehaus.mojo</groupId>
1108 <artifactId>build-helper-maven-plugin</artifactId>
1109 <version>1.12</version>
1111 <!-- Jacoco / Sonar -->
1113 <groupId>org.jacoco</groupId>
1114 <artifactId>jacoco-maven-plugin</artifactId>
1117 <groupId>org.apache.maven.plugins</groupId>
1118 <artifactId>maven-surefire-plugin</artifactId>
1121 <groupId>org.apache.maven.plugins</groupId>
1122 <artifactId>maven-failsafe-plugin</artifactId>
1125 <!-- End of plugins from ONAP oparent -->
1127 <groupId>org.codehaus.mojo</groupId>
1128 <artifactId>properties-maven-plugin</artifactId>
1129 <version>1.0.0</version>
1133 <goal>set-system-properties</goal>
1138 <name>maven.wagon.http.ssl.allowall</name>
1139 <value>${ssl.allowall}</value>
1142 <name>maven.wagon.http.ssl.insecure</name>
1143 <value>${ssl.insecure}</value>
1151 <groupId>org.codehaus.mojo</groupId>
1152 <artifactId>versions-maven-plugin</artifactId>
1153 <version>2.5</version>
1155 <processAllModules>true</processAllModules>
1159 <artifactId>maven-scm-plugin</artifactId>
1160 <version>1.8.1</version>
1162 <tag>${project.artifactId}-${project.version}</tag>