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>binding-parent</artifactId>
14 <version>1.4.1-SNAPSHOT</version>
17 <groupId>org.opendaylight.mdsal</groupId>
18 <artifactId>binding-parent</artifactId>
19 <version>3.0.8</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.1-SNAPSHOT</ccsdk.sli.core.version>
97 <ccsdk.sli.adaptors.version>0.6.1-SNAPSHOT</ccsdk.sli.adaptors.version>
98 <ccsdk.sli.northbound.version>0.6.1-SNAPSHOT</ccsdk.sli.northbound.version>
99 <ccsdk.sli.plugins.version>0.6.1-SNAPSHOT</ccsdk.sli.plugins.version>
100 <ccsdk.distribution.version>0.6.1-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.1-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>org.eclipse.jetty</groupId>
515 <artifactId>jetty-server</artifactId>
516 <version>9.4.12.v20180830</version>
519 <groupId>org.eclipse.jetty</groupId>
520 <artifactId>jetty-servlets</artifactId>
521 <version>9.4.12.v20180830</version>
524 <groupId>junit</groupId>
525 <artifactId>junit</artifactId>
526 <version>4.12</version>
530 <groupId>org.codehaus.jettison</groupId>
531 <artifactId>jettison</artifactId>
532 <version>1.3.8</version>
535 <groupId>com.google.protobuf</groupId>
536 <artifactId>protobuf-java</artifactId>
537 <version>3.6.1</version>
541 </dependencyManagement>
546 <url>${onap.nexus.public-url}</url>
548 <enabled>true</enabled>
551 <enabled>true</enabled>
555 <id>onap-staging</id>
556 <url>${onap.nexus.staging-url}</url>
558 <enabled>true</enabled>
561 <enabled>true</enabled>
565 <id>onap-snapshot</id>
566 <url>${onap.nexus.snapshot-url}</url>
568 <enabled>false</enabled>
571 <enabled>true</enabled>
575 <id>opendaylight-mirror</id>
576 <name>opendaylight-mirror</name>
577 <url>${opendaylight.nexus.public-url}</url>
579 <enabled>true</enabled>
580 <updatePolicy>never</updatePolicy>
583 <enabled>false</enabled>
587 <id>opendaylight-snapshot</id>
588 <name>opendaylight-snapshot</name>
589 <url>${opendaylight.nexus.snapshot-url}</url>
591 <enabled>false</enabled>
594 <enabled>true</enabled>
597 <!-- Black Duck plugin dependencies -->
600 <name>JCenter Repository</name>
601 <url>http://jcenter.bintray.com</url>
606 <name>Restlet Repository</name>
607 <url>http://maven.restlet.com</url>
609 </pluginRepositories>
615 <url>https://nexus.onap.org/content/groups/public</url>
617 <enabled>true</enabled>
618 <updatePolicy>never</updatePolicy>
621 <enabled>true</enabled>
622 <updatePolicy>always</updatePolicy>
626 <id>onap-staging</id>
627 <url>https://nexus.onap.org/content/groups/staging</url>
629 <enabled>true</enabled>
630 <updatePolicy>never</updatePolicy>
633 <enabled>true</enabled>
634 <updatePolicy>always</updatePolicy>
638 <id>ecomp-release</id>
639 <name>onap-repository-releases</name>
640 <url>https://nexus.onap.org/content/repositories/releases</url>
642 <enabled>true</enabled>
643 <updatePolicy>never</updatePolicy>
646 <enabled>false</enabled>
650 <id>ecomp-snapshot</id>
651 <name>onap-repository-snapshots</name>
652 <url>https://nexus.onap.org/content/repositories/snapshots</url>
654 <enabled>false</enabled>
657 <enabled>true</enabled>
661 <id>opendaylight-mirror</id>
662 <name>opendaylight-mirror</name>
663 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
665 <enabled>true</enabled>
666 <updatePolicy>never</updatePolicy>
669 <enabled>false</enabled>
673 <id>opendaylight-snapshot</id>
674 <name>opendaylight-snapshot</name>
675 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
677 <enabled>false</enabled>
680 <enabled>true</enabled>
686 <distributionManagement>
688 <id>ecomp-releases</id>
689 <url>https://nexus.onap.org/content/repositories/releases</url>
692 <id>ecomp-snapshots</id>
693 <url>https://nexus.onap.org/content/repositories/snapshots</url>
694 </snapshotRepository>
695 </distributionManagement>
701 <!-- Plugins from ONAP version (parent of oparent) -->
704 <groupId>org.apache.maven.plugins</groupId>
705 <artifactId>maven-deploy-plugin</artifactId>
706 <!-- This version supports the "deployAtEnd" parameter -->
707 <version>2.8</version>
713 <groupId>org.apache.maven.plugins</groupId>
714 <artifactId>maven-site-plugin</artifactId>
715 <version>3.6</version>
718 <groupId>org.apache.maven.wagon</groupId>
719 <artifactId>wagon-webdav-jackrabbit</artifactId>
720 <version>2.10</version>
725 <groupId>org.apache.maven.plugins</groupId>
726 <artifactId>maven-enforcer-plugin</artifactId>
727 <version>3.0.0-M2</version>
730 <id>enforce-property</id>
737 <property>onap.nexus.url</property>
738 <message>You must set a onap.nexus.url property in your
739 ~/.m2/settings.xml. See oparent/settings.xml for an example.</message>
746 <id>enforce-no-snapshots</id>
753 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
754 <onlyWhenRelease>true</onlyWhenRelease>
756 </requireReleaseDeps>
762 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
764 <groupId>org.sonarsource.scanner.maven</groupId>
765 <artifactId>sonar-maven-plugin</artifactId>
766 <version>3.2</version>
768 <!-- end of plugins from ONAP version (parent of oparent) -->
770 <!-- Plugins from ONAP oparent -->
773 <groupId>org.jacoco</groupId>
774 <artifactId>jacoco-maven-plugin</artifactId>
775 <version>${jacoco.version}</version>
777 <!-- Note: This exclusion list should match <sonar.exclusions> property
780 <exclude>**/gen/**</exclude>
781 <exclude>**/generated-sources/**</exclude>
782 <exclude>**/yang-gen/**</exclude>
783 <exclude>**/pax/**</exclude>
787 <!-- Prepares the property pointing to the JaCoCo runtime agent which
788 is passed as VM argument when Maven the Surefire plugin is executed. -->
790 <id>pre-unit-test</id>
792 <goal>prepare-agent</goal>
795 <!-- Sets the path to the file which contains the execution data. -->
796 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
797 <!-- Sets the name of the property containing the settings for JaCoCo
799 <propertyName>surefireArgLine</propertyName>
802 <!-- Ensures that the code coverage report for unit tests is created
803 after unit tests have been run. -->
805 <id>post-unit-test</id>
811 <!-- Sets the path to the file which contains the execution data. -->
812 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
813 <!-- Sets the output directory for the code coverage report. -->
814 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
818 <id>pre-integration-test</id>
819 <phase>pre-integration-test</phase>
821 <goal>prepare-agent</goal>
824 <!-- Sets the path to the file which contains the execution data. -->
825 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
826 <!-- Sets the name of the property containing the settings for JaCoCo
828 <propertyName>failsafeArgLine</propertyName>
831 <!-- Ensures that the code coverage report for integration tests after
832 integration tests have been run. -->
834 <id>post-integration-test</id>
835 <phase>post-integration-test</phase>
840 <!-- Sets the path to the file which contains the execution data. -->
841 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
842 <!-- Sets the output directory for the code coverage report. -->
843 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
849 <groupId>org.apache.maven.plugins</groupId>
850 <artifactId>maven-surefire-plugin</artifactId>
851 <version>2.22.0</version>
853 <!-- Sets the VM argument line used when unit tests are run. -->
854 <argLine>${surefireArgLine}</argLine>
855 <!-- Excludes integration tests when unit tests are run. -->
857 <exclude>**/IT*.java</exclude>
862 <groupId>org.apache.maven.plugins</groupId>
863 <artifactId>maven-failsafe-plugin</artifactId>
864 <version>2.22.0</version>
866 <!-- Ensures that both integration-test and verify goals of the Failsafe
867 Maven plugin are executed. -->
869 <id>integration-tests</id>
871 <goal>integration-test</goal>
875 <!-- Sets the VM argument line used when integration tests are run. -->
876 <argLine>${failsafeArgLine}</argLine>
882 <!-- End of plugins from ONAP oparent -->
884 <groupId>org.codehaus.mojo</groupId>
885 <artifactId>properties-maven-plugin</artifactId>
886 <version>1.0.0</version>
890 <goal>set-system-properties</goal>
895 <name>maven.wagon.http.ssl.allowall</name>
896 <value>${ssl.allowall}</value>
899 <name>maven.wagon.http.ssl.insecure</name>
900 <value>${ssl.insecure}</value>
909 <groupId>org.codehaus.mojo</groupId>
910 <artifactId>versions-maven-plugin</artifactId>
911 <version>2.5</version>
913 <processAllModules>true</processAllModules>
917 <artifactId>maven-scm-plugin</artifactId>
918 <version>1.8.1</version>
920 <tag>${project.artifactId}-${project.version}</tag>
927 <!-- Plugins from oparent version (parent of oparent) -->
929 <groupId>org.apache.maven.plugins</groupId>
930 <artifactId>maven-deploy-plugin</artifactId>
933 <groupId>org.apache.maven.plugins</groupId>
934 <artifactId>maven-site-plugin</artifactId>
937 <groupId>org.apache.maven.plugins</groupId>
938 <artifactId>maven-enforcer-plugin</artifactId>
940 <!-- end of plugins from oparent version (parent of oparent) -->
942 <!-- Plugins from oparent -->
944 <artifactId>maven-checkstyle-plugin</artifactId>
945 <version>2.17</version>
948 <groupId>org.onap.oparent</groupId>
949 <artifactId>checkstyle</artifactId>
950 <version>1.2.2</version>
955 <id>onap-license</id>
959 <phase>process-sources</phase>
961 <configLocation>onap-checkstyle/check-license.xml</configLocation>
962 <includeResources>false</includeResources>
963 <includeTestSourceDirectory>true</includeTestSourceDirectory>
964 <includeTestResources>false</includeTestResources>
965 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
968 <consoleOutput>true</consoleOutput>
969 <failOnViolation>false</failOnViolation>
973 <id>onap-java-style</id>
977 <phase>process-sources</phase>
979 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
980 with minor changes -->
981 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
982 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
983 sources directory -->
984 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
985 <includeResources>true</includeResources>
986 <includeTestSourceDirectory>true</includeTestSourceDirectory>
987 <includeTestResources>true</includeTestResources>
990 <consoleOutput>true</consoleOutput>
991 <failOnViolation>false</failOnViolation>
997 <groupId>org.codehaus.mojo</groupId>
998 <artifactId>build-helper-maven-plugin</artifactId>
999 <version>1.12</version>
1001 <!-- Jacoco / Sonar -->
1003 <groupId>org.jacoco</groupId>
1004 <artifactId>jacoco-maven-plugin</artifactId>
1007 <groupId>org.apache.maven.plugins</groupId>
1008 <artifactId>maven-surefire-plugin</artifactId>
1011 <groupId>org.apache.maven.plugins</groupId>
1012 <artifactId>maven-failsafe-plugin</artifactId>
1014 <!-- end of plugins from oparent -->
1016 <groupId>org.apache.maven.plugins</groupId>
1017 <artifactId>maven-javadoc-plugin</artifactId>
1018 <version>2.10.4</version>
1021 <id>attach-javadocs</id>
1026 <additionalparam>-Xdoclint:none</additionalparam>
1036 <artifactId>maven-javadoc-plugin</artifactId>
1037 <version>2.10.4</version>
1039 <failOnError>false</failOnError>
1040 <additionalparam>-Xdoclint:none</additionalparam>