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>feature-repo-parent</artifactId>
9 <version>1.1.2-SNAPSHOT</version>
12 <groupId>org.opendaylight.odlparent</groupId>
13 <artifactId>feature-repo-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.2-SNAPSHOT</ccsdk.sli.core.version>
92 <ccsdk.sli.adaptors.version>0.3.2-SNAPSHOT</ccsdk.sli.adaptors.version>
93 <ccsdk.sli.northbound.version>0.3.2-SNAPSHOT</ccsdk.sli.northbound.version>
94 <ccsdk.sli.plugins.version>0.3.2-SNAPSHOT</ccsdk.sli.plugins.version>
95 <ccsdk.distribution.version>0.3.2-SNAPSHOT</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>
104 <!-- Support libraries used by OpenDaylight -->
105 <odl.mdsal.version>1.7.3</odl.mdsal.version>
106 <odl.mdsal.model.version>0.12.3</odl.mdsal.model.version>
107 <!-- Used by aaa, vtn -->
108 <commons.codec.version>1.10</commons.codec.version>
109 <!-- Used by netconf, ovsdb -->
110 <commons.lang3.version>3.7</commons.lang3.version>
111 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
112 <commons.lang.version>2.6</commons.lang.version>
113 <!-- Used by neutron; see also controller, vtn -->
114 <commons.net.version>3.6</commons.net.version>
115 <!-- Used by neutron -->
116 <eclipse.persistence.version>2.7.1</eclipse.persistence.version>
118 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
119 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
120 <gson.version>2.8.2</gson.version>
121 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
122 <guava.version>23.6</guava.version>
123 <!-- Used by lispflowmapping, sxp, vtn/manager -->
124 <hamcrest.version>1.3.1</hamcrest.version>
125 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
126 integration/distribution, snmp4sdn, toolkit, ttp -->
127 <jackson.version>2.3.2</jackson.version>
128 <!-- Used by snmp4sdn, yangtools -->
129 <javassist.version>3.20.0-GA</javassist.version>
131 <!-- FIXME remove all dependencies for jersey 1.17 after migration all
133 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
134 snmp4sdn, toolkit -->
135 <jersey.version>1.19.4</jersey.version>
137 <jersey.client.version>1.19.4</jersey.client.version>
139 <!-- New packages for jersey migration 1.17 to 2.8 -->
140 <!-- appache.geronimo.bundle for DocGen -->
141 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
142 <org.json.version>20131018</org.json.version>
145 <jettison.version>1.3.8</jettison.version>
146 <!-- Used by persistence -->
147 <jsr305.api.version>3.0.0</jsr305.api.version>
148 <!-- Need to stick to JUnit 4.11 until https://github.com/jayway/powermock/issues/560
149 is fixed (either in PowerMock or with a new JUnit release) -->
150 <!-- Used everywhere -->
151 <junit.version>4.11</junit.version>
152 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
153 <logback.version>1.2.3</logback.version>
154 <!-- Used by nic, sfc, sxp, tsdr -->
155 <mockito.version>1.10.19</mockito.version>
156 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
157 <netty.version>4.1.22.Final</netty.version>
158 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
160 <slf4j.version>1.7.25</slf4j.version>
161 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
163 <spring.version>3.2.17.RELEASE</spring.version>
167 <!-- Extra support libraries used by SDN-C -->
168 <equinox.osgi.version>3.8.1.v20120830-144521</equinox.osgi.version>
169 <jackson-annotations-version>${jackson.version}</jackson-annotations-version>
170 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
171 <apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
172 <apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
173 <antlr.version>4.7.1</antlr.version>
174 <mysql.connector.version>5.1.39</mysql.connector.version>
175 <mariadb.connector.version>2.1.1</mariadb.connector.version>
176 <h2database.version>1.4.196</h2database.version>
177 <derby.version>10.14.2.0</derby.version>
179 <eelf.version>1.0.0</eelf.version>
180 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
182 <tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
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 -->
420 <dependencyManagement>
423 <groupId>org.opendaylight.controller</groupId>
424 <artifactId>mdsal-artifacts</artifactId>
425 <version>${odl.mdsal.version}</version>
427 <scope>import</scope>
430 <groupId>org.opendaylight.mdsal.model</groupId>
431 <artifactId>mdsal-model-artifacts</artifactId>
432 <version>${odl.mdsal.model.version}</version>
434 <scope>import</scope>
437 <groupId>org.onap.sdnc.core</groupId>
438 <artifactId>sli-common</artifactId>
439 <version>${sdnctl.sli.version}</version>
443 <groupId>org.onap.sdnc.core</groupId>
444 <artifactId>sli-provider</artifactId>
445 <version>${sdnctl.sli.version}</version>
449 <groupId>org.onap.sdnc.core</groupId>
450 <artifactId>aai-service-provider</artifactId>
451 <version>${sdnctl.aai.service.version}</version>
455 <groupId>org.onap.sdnc.core</groupId>
456 <artifactId>dblib-provider</artifactId>
457 <version>${sdnctl.dblib.version}</version>
460 <groupId>com.att.eelf</groupId>
461 <artifactId>eelf-core</artifactId>
462 <version>${eelf.version}</version>
465 <groupId>org.apache.derby</groupId>
466 <artifactId>derby</artifactId>
467 <version>${derby.version}</version>
472 </dependencyManagement>
478 <artifactId>maven-javadoc-plugin</artifactId>
479 <version>2.10.4</version>
481 <failOnError>false</failOnError>
482 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
484 <groupId>org.umlgraph</groupId>
485 <artifactId>umlgraph</artifactId>
486 <version>5.6</version>
488 <additionalparam>-views</additionalparam>
489 <useStandardDocletOptions>true</useStandardDocletOptions>
490 <excludePackageNames>org.opendaylight.*</excludePackageNames>
491 <additionalDependencies>
492 <additionalDependency>
493 <groupId>org.slf4j</groupId>
494 <artifactId>slf4j-api</artifactId>
495 <version>${slf4j.version}</version>
496 </additionalDependency>
497 <additionalDependency>
498 <groupId>org.antlr</groupId>
499 <artifactId>antlr4</artifactId>
500 <version>${antlr.version}</version>
501 </additionalDependency>
502 <additionalDependency>
503 <groupId>org.antlr</groupId>
504 <artifactId>antlr4-runtime</artifactId>
505 <version>${antlr.version}</version>
506 </additionalDependency>
508 <additionalDependency>
509 <groupId>com.sun.jersey</groupId>
510 <artifactId>jersey-client</artifactId>
511 <version>${jersey.json.version}</version>
512 </additionalDependency>
513 <additionalDependency>
514 <groupId>com.sun.jersey</groupId>
515 <artifactId>jersey-core</artifactId>
516 <version>${jersey.json.version}</version>
517 </additionalDependency>
518 <additionalDependency>
519 <groupId>org.apache.httpcomponents</groupId>
520 <artifactId>httpcore-osgi</artifactId>
521 <version>${apache.httpcomponents.core.version}</version>
522 </additionalDependency>
523 <additionalDependency>
524 <groupId>org.apache.httpcomponents</groupId>
525 <artifactId>httpclient-osgi</artifactId>
526 <version>${apache.httpcomponents.client.version}</version>
527 </additionalDependency>
528 <additionalDependency>
529 <groupId>com.fasterxml.jackson.core</groupId>
530 <artifactId>jackson-databind</artifactId>
531 <version>${fasterxml.jackson.version}</version>
532 </additionalDependency>
533 <additionalDependency>
534 <groupId>com.fasterxml.jackson.core</groupId>
535 <artifactId>jackson-annotations</artifactId>
536 <version>${fasterxml.jackson.version}</version>
537 </additionalDependency>
538 <additionalDependency>
539 <groupId>com.fasterxml.jackson.core</groupId>
540 <artifactId>jackson-core</artifactId>
541 <version>${fasterxml.jackson.version}</version>
542 </additionalDependency>
543 <additionalDependency>
544 <groupId>commons-lang</groupId>
545 <artifactId>commons-lang</artifactId>
546 <version>${commons.lang.version}</version>
547 </additionalDependency>
548 </additionalDependencies>
553 <report>javadoc-no-fork</report>
554 <report>test-javadoc-no-fork</report>
560 <report>aggregate</report>
561 <report>test-aggregate</report>
567 <groupId>org.apache.maven.plugins</groupId>
568 <artifactId>maven-jxr-plugin</artifactId>
569 <version>2.3</version>
574 <report>aggregate</report>
575 <report>test-aggregate</report>
582 <artifactId>maven-surefire-plugin</artifactId>
583 <version>2.17</version>
586 <groupId>org.apache.maven.plugins</groupId>
587 <artifactId>maven-changelog-plugin</artifactId>
588 <version>2.3</version>
597 <report>changelog</report>
598 <report>file-activity</report>
604 <groupId>org.codehaus.mojo</groupId>
605 <artifactId>taglist-maven-plugin</artifactId>
606 <version>2.4</version>
615 <url>${onap.nexus.public-url}</url>
617 <enabled>true</enabled>
620 <enabled>true</enabled>
624 <id>onap-staging</id>
625 <url>${onap.nexus.staging-url}</url>
627 <enabled>true</enabled>
630 <enabled>true</enabled>
634 <id>onap-snapshot</id>
635 <url>${onap.nexus.snapshot-url}</url>
637 <enabled>false</enabled>
640 <enabled>true</enabled>
644 <id>opendaylight-mirror</id>
645 <name>opendaylight-mirror</name>
646 <url>${opendaylight.nexus.public-url}</url>
648 <enabled>true</enabled>
649 <updatePolicy>never</updatePolicy>
652 <enabled>false</enabled>
656 <id>opendaylight-snapshot</id>
657 <name>opendaylight-snapshot</name>
658 <url>${opendaylight.nexus.snapshot-url}</url>
660 <enabled>false</enabled>
663 <enabled>true</enabled>
666 <!-- Black Duck plugin dependencies -->
669 <name>JCenter Repository</name>
670 <url>http://jcenter.bintray.com</url>
675 <name>Restlet Repository</name>
676 <url>http://maven.restlet.com</url>
678 </pluginRepositories>
684 <url>https://nexus.onap.org/content/groups/public</url>
686 <enabled>true</enabled>
687 <updatePolicy>never</updatePolicy>
690 <enabled>true</enabled>
691 <updatePolicy>always</updatePolicy>
695 <id>onap-staging</id>
696 <url>https://nexus.onap.org/content/groups/staging</url>
698 <enabled>true</enabled>
699 <updatePolicy>never</updatePolicy>
702 <enabled>true</enabled>
703 <updatePolicy>always</updatePolicy>
707 <id>ecomp-release</id>
708 <name>onap-repository-releases</name>
709 <url>https://nexus.onap.org/content/repositories/releases</url>
711 <enabled>true</enabled>
712 <updatePolicy>never</updatePolicy>
715 <enabled>false</enabled>
719 <id>ecomp-snapshot</id>
720 <name>onap-repository-snapshots</name>
721 <url>https://nexus.onap.org/content/repositories/snapshots</url>
723 <enabled>false</enabled>
726 <enabled>true</enabled>
730 <id>opendaylight-mirror</id>
731 <name>opendaylight-mirror</name>
732 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
734 <enabled>true</enabled>
735 <updatePolicy>never</updatePolicy>
738 <enabled>false</enabled>
742 <id>opendaylight-snapshot</id>
743 <name>opendaylight-snapshot</name>
744 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
746 <enabled>false</enabled>
749 <enabled>true</enabled>
755 <distributionManagement>
757 <id>ecomp-releases</id>
758 <url>https://nexus.onap.org/content/repositories/releases</url>
761 <id>ecomp-snapshots</id>
762 <url>https://nexus.onap.org/content/repositories/snapshots</url>
763 </snapshotRepository>
764 </distributionManagement>
770 <!-- Plugins from ONAP oparent -->
772 <groupId>org.apache.maven.plugins</groupId>
773 <artifactId>maven-deploy-plugin</artifactId>
774 <!-- This version supports the "deployAtEnd" parameter -->
775 <version>2.8</version>
782 <groupId>org.apache.maven.plugins</groupId>
783 <artifactId>maven-site-plugin</artifactId>
784 <version>3.6</version>
787 <groupId>org.apache.maven.wagon</groupId>
788 <artifactId>wagon-webdav-jackrabbit</artifactId>
789 <version>2.10</version>
792 <groupId>org.apache.maven.doxia</groupId>
793 <artifactId>doxia-core</artifactId>
794 <version>1.7</version>
797 <groupId>org.apache.maven.doxia</groupId>
798 <artifactId>doxia-sink-api</artifactId>
799 <version>1.7</version>
802 <groupId>org.apache.maven.doxia</groupId>
803 <artifactId>doxia-logging-api</artifactId>
804 <version>1.7</version>
809 <id>attach-descriptor</id>
811 <goal>attach-descriptor</goal>
817 <artifactId>maven-checkstyle-plugin</artifactId>
818 <version>2.17</version>
821 <groupId>org.onap.oparent</groupId>
822 <artifactId>checkstyle</artifactId>
823 <version>1.1.1</version>
828 <id>check-license</id>
832 <phase>process-sources</phase>
834 <configLocation>onap-checkstyle/check-license.xml</configLocation>
835 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
836 <includeResources>false</includeResources>
837 <includeTestSourceDirectory>true</includeTestSourceDirectory>
838 <includeTestResources>false</includeTestResources>
839 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
842 <failsOnError>false</failsOnError>
843 <consoleOutput>true</consoleOutput>
851 <phase>process-sources</phase>
853 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
854 with minor changes -->
855 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
856 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
857 sources directory -->
858 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
859 <includeResources>true</includeResources>
860 <includeTestSourceDirectory>true</includeTestSourceDirectory>
861 <includeTestResources>true</includeTestResources>
864 <failsOnError>false</failsOnError>
865 <consoleOutput>true</consoleOutput>
871 <groupId>org.jacoco</groupId>
872 <artifactId>jacoco-maven-plugin</artifactId>
873 <version>${jacoco.version}</version>
875 <!-- Note: This exclusion list should match <sonar.exclusions> property
878 <exclude>**/gen/**</exclude>
879 <exclude>**/generated-sources/**</exclude>
880 <exclude>**/yang-gen/**</exclude>
881 <exclude>**/pax/**</exclude>
885 <!-- Prepares the property pointing to the JaCoCo runtime agent which
886 is passed as VM argument when Maven the Surefire plugin is executed. -->
888 <id>pre-unit-test</id>
890 <goal>prepare-agent</goal>
893 <!-- Sets the path to the file which contains the execution data. -->
894 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
895 <!-- Sets the name of the property containing the settings for JaCoCo
897 <propertyName>surefireArgLine</propertyName>
900 <!-- Ensures that the code coverage report for unit tests is created
901 after unit tests have been run. -->
903 <id>post-unit-test</id>
909 <!-- Sets the path to the file which contains the execution data. -->
910 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
911 <!-- Sets the output directory for the code coverage report. -->
912 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
916 <id>pre-integration-test</id>
917 <phase>pre-integration-test</phase>
919 <goal>prepare-agent</goal>
922 <!-- Sets the path to the file which contains the execution data. -->
923 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
924 <!-- Sets the name of the property containing the settings for JaCoCo
926 <propertyName>failsafeArgLine</propertyName>
929 <!-- Ensures that the code coverage report for integration tests after
930 integration tests have been run. -->
932 <id>post-integration-test</id>
933 <phase>post-integration-test</phase>
938 <!-- Sets the path to the file which contains the execution data. -->
939 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
940 <!-- Sets the output directory for the code coverage report. -->
941 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
947 <groupId>org.apache.maven.plugins</groupId>
948 <artifactId>maven-surefire-plugin</artifactId>
949 <version>2.19.1</version>
951 <!-- Sets the VM argument line used when unit tests are run. -->
952 <argLine>${surefireArgLine}</argLine>
953 <!-- Excludes integration tests when unit tests are run. -->
955 <exclude>**/IT*.java</exclude>
960 <groupId>org.apache.maven.plugins</groupId>
961 <artifactId>maven-failsafe-plugin</artifactId>
962 <version>2.19.1</version>
964 <!-- Ensures that both integration-test and verify goals of the Failsafe
965 Maven plugin are executed. -->
967 <id>integration-tests</id>
969 <goal>integration-test</goal>
973 <!-- Sets the VM argument line used when integration tests are run. -->
974 <argLine>${failsafeArgLine}</argLine>
980 <groupId>org.apache.maven.plugins</groupId>
981 <artifactId>maven-compiler-plugin</artifactId>
982 <version>${maven.compile.plugin.version}</version>
984 <source>${java.version.source}</source>
985 <target>${java.version.target}</target>
989 <groupId>org.sonarsource.scanner.maven</groupId>
990 <artifactId>sonar-maven-plugin</artifactId>
991 <version>3.3.0.603</version>
994 <!-- End of plugins from ONAP oparent -->
997 <groupId>org.apache.maven.plugins</groupId>
998 <artifactId>maven-javadoc-plugin</artifactId>
999 <version>2.10</version>
1001 <additionalDependencies>
1002 <additionalDependency>
1003 <groupId>org.slf4j</groupId>
1004 <artifactId>slf4j-api</artifactId>
1005 <version>${slf4j.version}</version>
1006 </additionalDependency>
1007 <additionalDependency>
1008 <groupId>org.antlr</groupId>
1009 <artifactId>antlr4</artifactId>
1010 <version>${antlr.version}</version>
1011 </additionalDependency>
1012 <additionalDependency>
1013 <groupId>org.antlr</groupId>
1014 <artifactId>antlr4-runtime</artifactId>
1015 <version>${antlr.version}</version>
1016 </additionalDependency>
1018 <additionalDependency>
1019 <groupId>com.sun.jersey</groupId>
1020 <artifactId>jersey-client</artifactId>
1021 <version>${jersey.client.version}</version>
1022 </additionalDependency>
1023 <additionalDependency>
1024 <groupId>com.sun.jersey</groupId>
1025 <artifactId>jersey-core</artifactId>
1026 <version>${jersey.version}</version>
1027 </additionalDependency>
1028 <additionalDependency>
1029 <groupId>org.apache.httpcomponents</groupId>
1030 <artifactId>httpcore-osgi</artifactId>
1031 <version>${apache.httpcomponents.core.version}</version>
1032 </additionalDependency>
1033 <additionalDependency>
1034 <groupId>org.apache.httpcomponents</groupId>
1035 <artifactId>httpclient-osgi</artifactId>
1036 <version>${apache.httpcomponents.client.version}</version>
1037 </additionalDependency>
1038 <additionalDependency>
1039 <groupId>com.fasterxml.jackson.core</groupId>
1040 <artifactId>jackson-databind</artifactId>
1041 <version>${jackson.version}</version>
1042 </additionalDependency>
1043 <additionalDependency>
1044 <groupId>com.fasterxml.jackson.core</groupId>
1045 <artifactId>jackson-annotations</artifactId>
1046 <version>${jackson.version}</version>
1047 </additionalDependency>
1048 <additionalDependency>
1049 <groupId>com.fasterxml.jackson.core</groupId>
1050 <artifactId>jackson-core</artifactId>
1051 <version>${jackson.version}</version>
1052 </additionalDependency>
1053 <additionalDependency>
1054 <groupId>commons-lang</groupId>
1055 <artifactId>commons-lang</artifactId>
1056 <version>${commons.lang.version}</version>
1057 </additionalDependency>
1058 </additionalDependencies>
1065 <goal>aggregate</goal>
1078 <!-- Plugins from ONAP oparent -->
1080 <artifactId>maven-checkstyle-plugin</artifactId>
1083 <groupId>org.codehaus.mojo</groupId>
1084 <artifactId>build-helper-maven-plugin</artifactId>
1085 <version>1.12</version>
1087 <!-- Jacoco / Sonar -->
1089 <groupId>org.jacoco</groupId>
1090 <artifactId>jacoco-maven-plugin</artifactId>
1093 <groupId>org.apache.maven.plugins</groupId>
1094 <artifactId>maven-surefire-plugin</artifactId>
1097 <groupId>org.apache.maven.plugins</groupId>
1098 <artifactId>maven-failsafe-plugin</artifactId>
1101 <!-- End of plugins from ONAP oparent -->
1103 <groupId>org.codehaus.mojo</groupId>
1104 <artifactId>properties-maven-plugin</artifactId>
1105 <version>1.0.0</version>
1109 <goal>set-system-properties</goal>
1114 <name>maven.wagon.http.ssl.allowall</name>
1115 <value>${ssl.allowall}</value>
1118 <name>maven.wagon.http.ssl.insecure</name>
1119 <value>${ssl.insecure}</value>
1127 <groupId>org.sonatype.plugins</groupId>
1128 <artifactId>nexus-staging-maven-plugin</artifactId>
1129 <version>1.6.7</version>
1130 <extensions>true</extensions>
1132 <nexusUrl>${onap.nexus.url}</nexusUrl>
1133 <stagingProfileId>176c31dfe190a</stagingProfileId>
1134 <serverId>ecomp-staging</serverId>
1138 <groupId>org.codehaus.mojo</groupId>
1139 <artifactId>versions-maven-plugin</artifactId>
1140 <version>2.5</version>
1142 <processAllModules>true</processAllModules>
1146 <artifactId>maven-scm-plugin</artifactId>
1147 <version>1.8.1</version>
1149 <tag>${project.artifactId}-${project.version}</tag>