1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
6 <!-- PLEASE READ !!!!! This file is generated from ccsdk/parent/setup/src/main/template/pom-template.xml
7 Any updates needed should be made to that template and not to the generated
10 <modelVersion>4.0.0</modelVersion>
11 <packaging>pom</packaging>
12 <groupId>org.onap.ccsdk.parent</groupId>
13 <artifactId>mdsal-it-parent</artifactId>
14 <version>1.4.3-SNAPSHOT</version>
17 <groupId>org.opendaylight.controller</groupId>
18 <artifactId>mdsal-it-parent</artifactId>
19 <version>1.9.1</version>
24 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
25 <url>http://wiki.onap.org</url>
26 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
31 <url>https://jira.onap.org/</url>
36 <!-- properties from oparent -->
37 <maven.compiler.source>1.8</maven.compiler.source>
38 <maven.compiler.target>1.8</maven.compiler.target>
39 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
41 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
42 <!-- sitePath may be overridden in the inheriting POM if desired -->
43 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
44 <jacoco.version>0.7.7.201606060606</jacoco.version>
45 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
46 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
47 <!-- Default Sonar configuration -->
48 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
49 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
51 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
52 <!-- If following file exist, auto-generation of swagger.json will be done -->
53 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
54 <!-- If following file exist, auto-generation of sdk will be done -->
55 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
56 <!-- end of properties from oparent -->
58 <!-- ONAP repositories -->
59 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
60 <onap.nexus.port>443</onap.nexus.port>
61 <onap.nexus.protocol>https</onap.nexus.protocol>
62 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
63 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
64 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
65 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
66 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
67 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
70 <!-- OpenDaylight repositories -->
71 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
72 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
75 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
76 <java.version.source>1.8</java.version.source>
77 <java.version.target>1.8</java.version.target>
78 <bundle.plugin.version>2.5.0</bundle.plugin.version>
79 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
80 <features.file>features.xml</features.file>
81 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
82 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
83 <checkstyle.skip>true</checkstyle.skip>
86 <sonar.language>java</sonar.language>
87 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
88 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
89 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
90 <sonar.projectVersion>${project.version}</sonar.projectVersion>
95 <!-- CCSDK component versions -->
96 <ccsdk.sli.core.version>0.6.3-SNAPSHOT</ccsdk.sli.core.version>
97 <ccsdk.sli.adaptors.version>0.6.3-SNAPSHOT</ccsdk.sli.adaptors.version>
98 <ccsdk.sli.northbound.version>0.6.3-SNAPSHOT</ccsdk.sli.northbound.version>
99 <ccsdk.sli.plugins.version>0.6.3-SNAPSHOT</ccsdk.sli.plugins.version>
100 <ccsdk.distribution.version>0.6.3-SNAPSHOT</ccsdk.distribution.version>
101 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
102 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
103 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
104 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
105 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
108 <!-- Support libraries used by OpenDaylight -->
109 <odl.controller.mdsal.version>1.9.1</odl.controller.mdsal.version>
110 <odl.mdsal.version>3.0.8</odl.mdsal.version>
111 <odl.mdsal.model.version>1.0.8</odl.mdsal.model.version>
112 <odl.netconf.restconf.version>1.9.1</odl.netconf.restconf.version>
113 <odl.netconf.netconf.version>1.6.1</odl.netconf.netconf.version>
114 <odl.netconf.sal.rest.docgen.version>1.9.1</odl.netconf.sal.rest.docgen.version>
116 <!-- Used by aaa, vtn -->
117 <commons.codec.version>1.12</commons.codec.version>
118 <!-- Used by netconf, ovsdb -->
119 <commons.lang3.version>3.8.1</commons.lang3.version>
120 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
121 <commons.lang.version>2.6</commons.lang.version>
122 <!-- Used by neutron; see also controller, vtn -->
123 <commons.net.version>3.6</commons.net.version>
124 <!-- Used by neutron -->
125 <eclipse.persistence.version>2.7.3</eclipse.persistence.version>
127 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
128 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
129 <gson.version>2.8.5</gson.version>
130 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
131 <guava.version>25.1-jre</guava.version>
132 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
133 integration/distribution, snmp4sdn, toolkit, ttp -->
134 <jackson.version>2.9.8</jackson.version>
135 <jackson.bom.version>2.9.8</jackson.bom.version>
136 <!-- Used by snmp4sdn, yangtools -->
137 <javassist.version>3.24.1-GA</javassist.version>
139 <!-- FIXME remove all dependencies for jersey 1.17 after migration all
141 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
142 snmp4sdn, toolkit -->
143 <jersey.version>2.25.1</jersey.version>
145 <jersey.client.version>2.25.1</jersey.client.version>
147 <!-- New packages for jersey migration 1.17 to 2.8 -->
148 <!-- appache.geronimo.bundle for DocGen -->
149 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
150 <org.json.version>20131018</org.json.version>
154 <!-- Used everywhere -->
155 <junit.version>4.12</junit.version>
156 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
157 <logback.version>1.2.3</logback.version>
158 <!-- Used by nic, sfc, sxp, tsdr -->
159 <mockito.version>1.10.19</mockito.version>
160 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
161 <netty.version>4.1.34.Final</netty.version>
162 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
164 <slf4j.version>1.7.25</slf4j.version>
165 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
167 <spring.version>4.3.24.RELEASE</spring.version>
171 <!-- Extra support libraries used by SDN-C -->
172 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
173 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
174 <antlr.version>4.7.2</antlr.version>
176 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
179 <!-- Managed dependency versions -->
180 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
181 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
182 <derby.version>10.14.2.0</derby.version>
183 <eelf.version>1.0.0</eelf.version>
184 <grpc.version>1.17.1</grpc.version>
185 <mariadb.connector.version>2.1.1</mariadb.connector.version>
186 <mariadb4j.version>2.2.3</mariadb4j.version>
187 <testng.version>6.11</testng.version>
188 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
189 <jetty.version>9.4.12.v20180830</jetty.version>
190 <skip.karaf.featureTest>true</skip.karaf.featureTest>
194 <!-- Profiles from ONAP oparent -->
196 <id>generate-json</id>
199 <exists>${swagger-properties}</exists>
202 <name>swagger-sdk.generate-json</name>
208 <groupId>org.codehaus.mojo</groupId>
209 <artifactId>properties-maven-plugin</artifactId>
210 <version>1.0.0</version>
213 <phase>initialize</phase>
215 <goal>read-project-properties</goal>
219 <file>${basedir}/src/main/resources/swagger.properties</file>
226 <groupId>com.github.kongchen</groupId>
227 <artifactId>swagger-maven-plugin</artifactId>
228 <version>3.1.4</version>
232 <locations>${api-rest-package}</locations>
233 <schemes>http,https</schemes>
234 <host>${api-host-ip}:${api-host-port}</host>
235 <basePath>${api-base-path}</basePath>
237 <title>${api-title}</title>
238 <version>${api-version}</version>
239 <description>${api-description}</description>
241 <name>${api-license}</name>
244 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
250 <phase>compile</phase>
252 <goal>generate</goal>
258 <groupId>org.apache.maven.plugins</groupId>
259 <artifactId>maven-install-plugin</artifactId>
260 <version>2.3.1</version>
263 <id>install-file-id</id>
264 <phase>install</phase>
266 <goal>install-file</goal>
269 <file>${basedir}/src/main/resources/swagger.json</file>
270 <groupId>${project.groupId}</groupId>
271 <artifactId>${project.artifactId}-swagger-schema</artifactId>
272 <version>${project.version}</version>
273 <packaging>json</packaging>
282 <id>generate-sdk</id>
285 <exists>${swagger-json}</exists>
288 <name>swagger-sdk.generate-java-sdk</name>
294 <groupId>org.apache.maven.plugins</groupId>
295 <artifactId>maven-antrun-plugin</artifactId>
296 <version>1.8</version>
299 <phase>initialize</phase>
300 <id>ant-create-script</id>
302 <exportAntProperties>true</exportAntProperties>
304 <taskdef resource="net/sf/antcontrib/antlib.xml"
305 classpathref="maven.plugin.classpath" />
306 <condition property="is_windows" value="true">
307 <os family="windows" />
309 <condition property="isLinux" value="true">
313 <equals arg1="${is_windows}" arg2="true" />
315 <property name="swagger.sdk.script.file"
316 value="generated-source-script.bat" />
318 file="${project.build.directory}${file.separator}generated-source-script.bat"
320 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
322 file="${project.build.directory}${file.separator}generated-source-script.bat"
324 message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
327 <property 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 -->
442 <id>yang-compile</id>
445 <exists>src/main/yang</exists>
451 <groupId>org.opendaylight.yangtools</groupId>
452 <artifactId>yang-maven-plugin</artifactId>
453 <version>2.1.8</version>
456 <groupId>org.opendaylight.mdsal</groupId>
457 <artifactId>maven-sal-api-gen-plugin</artifactId>
458 <version>${odl.mdsal.model.version}</version>
462 <groupId>org.opendaylight.netconf</groupId>
463 <artifactId>sal-rest-docgen-maven</artifactId>
464 <version>${odl.netconf.sal.rest.docgen.version}</version>
471 <goal>generate-sources</goal>
474 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
477 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
478 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
481 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
482 <outputBaseDir>target/swagger</outputBaseDir>
485 <inspectDependencies>true</inspectDependencies>
497 <dependencyManagement>
500 <!-- Note: If value in BOM conflicts with value inherited from
501 parent pom, inherited value takes precedence. This seems more like
502 a bug than a feature, but this is how maven 3.6 works -->
504 <groupId>org.onap.ccsdk.parent</groupId>
505 <artifactId>dependencies-odl-bom</artifactId>
506 <version>1.4.3-SNAPSHOT</version>
508 <scope>import</scope>
511 <!-- Override incorrect versions in ODL parent poms -->
512 <!-- to match versions actually installed in ODL Neon -->
514 <groupId>com.google.protobuf</groupId>
515 <artifactId>protobuf-java</artifactId>
516 <version>3.6.1</version>
519 <groupId>io.netty</groupId>
520 <artifactId>netty-transport</artifactId>
521 <version>4.1.34.Final</version>
524 <groupId>io.netty</groupId>
525 <artifactId>netty-all</artifactId>
526 <version>4.1.34.Final</version>
527 <!-- <version>${netty.version}</version> -->
530 <groupId>junit</groupId>
531 <artifactId>junit</artifactId>
532 <version>4.12</version>
536 <groupId>org.eclipse.jetty</groupId>
537 <artifactId>jetty-server</artifactId>
538 <version>9.4.12.v20180830</version>
541 <groupId>org.eclipse.jetty</groupId>
542 <artifactId>jetty-servlets</artifactId>
543 <version>9.4.12.v20180830</version>
546 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
547 <artifactId>jersey-guava</artifactId>
548 <version>2.25.1</version>
551 <groupId>org.codehaus.jettison</groupId>
552 <artifactId>jettison</artifactId>
553 <version>1.3.8</version>
557 </dependencyManagement>
562 <url>${onap.nexus.public-url}</url>
564 <enabled>true</enabled>
567 <enabled>true</enabled>
571 <id>onap-staging</id>
572 <url>${onap.nexus.staging-url}</url>
574 <enabled>true</enabled>
577 <enabled>true</enabled>
581 <id>onap-snapshot</id>
582 <url>${onap.nexus.snapshot-url}</url>
584 <enabled>false</enabled>
587 <enabled>true</enabled>
591 <id>opendaylight-mirror</id>
592 <name>opendaylight-mirror</name>
593 <url>${opendaylight.nexus.public-url}</url>
595 <enabled>true</enabled>
596 <updatePolicy>never</updatePolicy>
599 <enabled>false</enabled>
603 <id>opendaylight-snapshot</id>
604 <name>opendaylight-snapshot</name>
605 <url>${opendaylight.nexus.snapshot-url}</url>
607 <enabled>false</enabled>
610 <enabled>true</enabled>
613 <!-- Black Duck plugin dependencies -->
616 <name>JCenter Repository</name>
617 <url>http://jcenter.bintray.com</url>
622 <name>Restlet Repository</name>
623 <url>http://maven.restlet.com</url>
625 </pluginRepositories>
631 <url>https://nexus.onap.org/content/groups/public</url>
633 <enabled>true</enabled>
634 <updatePolicy>never</updatePolicy>
637 <enabled>true</enabled>
638 <updatePolicy>always</updatePolicy>
642 <id>onap-staging</id>
643 <url>https://nexus.onap.org/content/groups/staging</url>
645 <enabled>true</enabled>
646 <updatePolicy>never</updatePolicy>
649 <enabled>true</enabled>
650 <updatePolicy>always</updatePolicy>
654 <id>ecomp-release</id>
655 <name>onap-repository-releases</name>
656 <url>https://nexus.onap.org/content/repositories/releases</url>
658 <enabled>true</enabled>
659 <updatePolicy>never</updatePolicy>
662 <enabled>false</enabled>
666 <id>ecomp-snapshot</id>
667 <name>onap-repository-snapshots</name>
668 <url>https://nexus.onap.org/content/repositories/snapshots</url>
670 <enabled>false</enabled>
673 <enabled>true</enabled>
677 <id>opendaylight-mirror</id>
678 <name>opendaylight-mirror</name>
679 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
681 <enabled>true</enabled>
682 <updatePolicy>never</updatePolicy>
685 <enabled>false</enabled>
689 <id>opendaylight-snapshot</id>
690 <name>opendaylight-snapshot</name>
691 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
693 <enabled>false</enabled>
696 <enabled>true</enabled>
702 <distributionManagement>
704 <id>ecomp-releases</id>
705 <url>https://nexus.onap.org/content/repositories/releases</url>
708 <id>ecomp-snapshots</id>
709 <url>https://nexus.onap.org/content/repositories/snapshots</url>
710 </snapshotRepository>
711 </distributionManagement>
717 <!-- Plugins from ONAP version (parent of oparent) -->
720 <groupId>org.apache.maven.plugins</groupId>
721 <artifactId>maven-deploy-plugin</artifactId>
722 <!-- This version supports the "deployAtEnd" parameter -->
723 <version>2.8</version>
729 <groupId>org.apache.maven.plugins</groupId>
730 <artifactId>maven-site-plugin</artifactId>
731 <version>3.6</version>
734 <groupId>org.apache.maven.wagon</groupId>
735 <artifactId>wagon-webdav-jackrabbit</artifactId>
736 <version>2.10</version>
741 <groupId>org.apache.maven.plugins</groupId>
742 <artifactId>maven-enforcer-plugin</artifactId>
743 <version>3.0.0-M2</version>
746 <id>enforce-property</id>
753 <property>onap.nexus.url</property>
754 <message>You must set a onap.nexus.url property in your
755 ~/.m2/settings.xml. See oparent/settings.xml for an example.</message>
762 <id>enforce-no-snapshots</id>
769 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
770 <onlyWhenRelease>true</onlyWhenRelease>
772 </requireReleaseDeps>
778 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
780 <groupId>org.sonarsource.scanner.maven</groupId>
781 <artifactId>sonar-maven-plugin</artifactId>
782 <version>3.2</version>
784 <!-- end of plugins from ONAP version (parent of oparent) -->
786 <!-- Plugins from ONAP oparent -->
789 <groupId>org.jacoco</groupId>
790 <artifactId>jacoco-maven-plugin</artifactId>
791 <version>${jacoco.version}</version>
793 <!-- Note: This exclusion list should match <sonar.exclusions> property
796 <exclude>**/gen/**</exclude>
797 <exclude>**/generated-sources/**</exclude>
798 <exclude>**/yang-gen/**</exclude>
799 <exclude>**/pax/**</exclude>
803 <!-- Prepares the property pointing to the JaCoCo runtime agent which
804 is passed as VM argument when Maven the Surefire plugin is executed. -->
806 <id>pre-unit-test</id>
808 <goal>prepare-agent</goal>
811 <!-- Sets the path to the file which contains the execution data. -->
812 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
813 <!-- Sets the name of the property containing the settings for JaCoCo
815 <propertyName>surefireArgLine</propertyName>
818 <!-- Ensures that the code coverage report for unit tests is created
819 after unit tests have been run. -->
821 <id>post-unit-test</id>
827 <!-- Sets the path to the file which contains the execution data. -->
828 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
829 <!-- Sets the output directory for the code coverage report. -->
830 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
834 <id>pre-integration-test</id>
835 <phase>pre-integration-test</phase>
837 <goal>prepare-agent</goal>
840 <!-- Sets the path to the file which contains the execution data. -->
841 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
842 <!-- Sets the name of the property containing the settings for JaCoCo
844 <propertyName>failsafeArgLine</propertyName>
847 <!-- Ensures that the code coverage report for integration tests after
848 integration tests have been run. -->
850 <id>post-integration-test</id>
851 <phase>post-integration-test</phase>
856 <!-- Sets the path to the file which contains the execution data. -->
857 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
858 <!-- Sets the output directory for the code coverage report. -->
859 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
865 <groupId>org.apache.maven.plugins</groupId>
866 <artifactId>maven-surefire-plugin</artifactId>
867 <version>2.22.0</version>
869 <!-- Sets the VM argument line used when unit tests are run. -->
870 <argLine>${surefireArgLine}</argLine>
871 <!-- Excludes integration tests when unit tests are run. -->
873 <exclude>**/IT*.java</exclude>
878 <groupId>org.apache.maven.plugins</groupId>
879 <artifactId>maven-failsafe-plugin</artifactId>
880 <version>2.22.0</version>
882 <!-- Ensures that both integration-test and verify goals of the Failsafe
883 Maven plugin are executed. -->
885 <id>integration-tests</id>
887 <goal>integration-test</goal>
891 <!-- Sets the VM argument line used when integration tests are run. -->
892 <argLine>${failsafeArgLine}</argLine>
898 <!-- End of plugins from ONAP oparent -->
900 <groupId>org.codehaus.mojo</groupId>
901 <artifactId>properties-maven-plugin</artifactId>
902 <version>1.0.0</version>
906 <goal>set-system-properties</goal>
911 <name>maven.wagon.http.ssl.allowall</name>
912 <value>${ssl.allowall}</value>
915 <name>maven.wagon.http.ssl.insecure</name>
916 <value>${ssl.insecure}</value>
925 <groupId>org.codehaus.mojo</groupId>
926 <artifactId>versions-maven-plugin</artifactId>
927 <version>2.5</version>
929 <processAllModules>true</processAllModules>
933 <artifactId>maven-scm-plugin</artifactId>
934 <version>1.8.1</version>
936 <tag>${project.artifactId}-${project.version}</tag>
943 <!-- Plugins from oparent version (parent of oparent) -->
945 <groupId>org.apache.maven.plugins</groupId>
946 <artifactId>maven-deploy-plugin</artifactId>
949 <groupId>org.apache.maven.plugins</groupId>
950 <artifactId>maven-site-plugin</artifactId>
953 <groupId>org.apache.maven.plugins</groupId>
954 <artifactId>maven-enforcer-plugin</artifactId>
956 <!-- end of plugins from oparent version (parent of oparent) -->
958 <!-- Plugins from oparent -->
960 <artifactId>maven-checkstyle-plugin</artifactId>
961 <version>2.17</version>
964 <groupId>org.onap.oparent</groupId>
965 <artifactId>checkstyle</artifactId>
966 <version>1.2.2</version>
971 <id>onap-license</id>
975 <phase>process-sources</phase>
977 <configLocation>onap-checkstyle/check-license.xml</configLocation>
978 <includeResources>false</includeResources>
979 <includeTestSourceDirectory>true</includeTestSourceDirectory>
980 <includeTestResources>false</includeTestResources>
981 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
984 <consoleOutput>true</consoleOutput>
985 <failOnViolation>false</failOnViolation>
989 <id>onap-java-style</id>
993 <phase>process-sources</phase>
995 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
996 with minor changes -->
997 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
998 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
999 sources directory -->
1000 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
1001 <includeResources>true</includeResources>
1002 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1003 <includeTestResources>true</includeTestResources>
1006 <consoleOutput>true</consoleOutput>
1007 <failOnViolation>false</failOnViolation>
1013 <groupId>org.codehaus.mojo</groupId>
1014 <artifactId>build-helper-maven-plugin</artifactId>
1015 <version>1.12</version>
1017 <!-- Jacoco / Sonar -->
1019 <groupId>org.jacoco</groupId>
1020 <artifactId>jacoco-maven-plugin</artifactId>
1023 <groupId>org.apache.maven.plugins</groupId>
1024 <artifactId>maven-surefire-plugin</artifactId>
1027 <groupId>org.apache.maven.plugins</groupId>
1028 <artifactId>maven-failsafe-plugin</artifactId>
1030 <!-- end of plugins from oparent -->
1032 <groupId>org.apache.maven.plugins</groupId>
1033 <artifactId>maven-javadoc-plugin</artifactId>
1034 <version>2.10.4</version>
1037 <id>attach-javadocs</id>
1042 <additionalparam>-Xdoclint:none</additionalparam>
1052 <artifactId>maven-javadoc-plugin</artifactId>
1053 <version>2.10.4</version>
1055 <failOnError>false</failOnError>
1056 <additionalparam>-Xdoclint:none</additionalparam>