blob: ec8c4ba68c1c1db3d8298192fb8f7ff93cb35ee1 [file] [log] [blame]
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001<?xml version="1.0" encoding="UTF-8"?>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04002<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/xsd/maven-4.0.0.xsd">
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05003 <modelVersion>4.0.0</modelVersion>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04004
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05005 <!-- PLEASE READ !!!!! This file is generated from ccsdk/parent/setup/src/main/template/pom-template.xml
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04006 Any updates needed should be made to that template and not to the generated
7 pom.xml file -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05008 <parent>
9 <groupId>org.opendaylight.odlparent</groupId>
10 <artifactId>bundle-parent</artifactId>
Michael DÜrre4f503922021-10-29 07:53:09 +020011 <version>8.1.3</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050012 <relativePath/>
13 </parent>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050014
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050015 <groupId>org.onap.ccsdk.parent</groupId>
16 <artifactId>bundle-parent</artifactId>
Dan Timoney4be50502022-01-03 14:25:47 -050017 <version>2.3.3-SNAPSHOT</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050018 <packaging>pom</packaging>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050019
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050020 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
21 <description>Root POM to be used in place of odlparent for CCSDK based projects</description>
22 <url>http://wiki.onap.org</url>
23 <organization>
24 <name>ONAP</name>
25 </organization>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050026
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050027 <issueManagement>
28 <system>JIRA</system>
29 <url>https://jira.onap.org/</url>
30 </issueManagement>
31 <distributionManagement>
32 <repository>
33 <id>ecomp-releases</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050034 <url>${onap.nexus.release-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050035 </repository>
36 <snapshotRepository>
37 <id>ecomp-snapshots</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050038 <url>${onap.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050039 </snapshotRepository>
40 </distributionManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050041
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050042 <properties>
Dan Timoney621888e2020-01-17 09:54:02 -050043 <!-- Sonar properties -->
44 <sonar.scanner.version>3.7.0.1746</sonar.scanner.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.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
49 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
50 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
51
52 <!-- Jacoco properties -->
53 <jacoco.version>0.8.5</jacoco.version>
54
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050055 <!-- properties from oparent -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050056 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
57 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050058 <!-- sitePath may be overridden in the inheriting POM if desired -->
59 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
Singal, Kapil (ks220y)e14c10b2020-01-07 11:54:24 -050060
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050061 <!-- If following file exist, auto-generation of swagger.json will be done -->
62 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
63 <!-- If following file exist, auto-generation of sdk will be done -->
64 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
65 <!-- end of properties from oparent -->
Dan Timoney0f2db3f2018-01-25 16:23:27 -050066
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050067 <!-- ONAP repositories -->
Singal, Kapil (ks220y)9714cfc2021-05-17 13:23:11 -040068 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050069 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
70 <onap.nexus.port>443</onap.nexus.port>
71 <onap.nexus.protocol>https</onap.nexus.protocol>
72 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
73 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
74 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
75 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
76 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
77 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050078
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050079 <!-- OpenDaylight repositories -->
80 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
81 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050082
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050083 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +010084 <java.version>11</java.version>
85 <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
86 <maven-failsafe-plugin.version>3.0.0-M5</maven-failsafe-plugin.version>
87 <bundle.plugin.version>4.2.1</bundle.plugin.version>
88 <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050089 <features.file>features.xml</features.file>
90 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
91 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +010092 <checkstyle.plugin.version>3.1.1</checkstyle.plugin.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050093 <checkstyle.skip>true</checkstyle.skip>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +010094 <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050095
Smokowski, Kevin (ks6305)9548ff82020-02-06 18:33:18 +000096 <!-- logging-analytics versions -->
Claudio D. Gasparini10688642021-05-14 10:33:22 +020097 <logging-analytics.version>1.6.9</logging-analytics.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050098
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050099 <!-- CCSDK component versions -->
Dan Timoneyfc006212021-10-05 15:55:28 -0400100 <ccsdk.cds.version>(1.2.99999, 1.3.99999-SNAPSHOT]</ccsdk.cds.version>
101 <ccsdk.features.version>(1.2.99999, 1.3.99999-SNAPSHOT]</ccsdk.features.version>
102 <ccsdk.distribution.version>(1.2.99999, 1.3.99999-SNAPSHOT]</ccsdk.distribution.version>
103 <ccsdk.sli.version>(1.3.99999, 1.4.99999-SNAPSHOT]</ccsdk.sli.version>
Dan Timoneya265d5b2020-11-25 08:23:08 -0500104 <ccsdk.sli.core.version>${ccsdk.sli.version}</ccsdk.sli.core.version>
Jozsef Csongvaia4d399c2020-12-14 07:39:31 -0500105 <ccsdk.sli.adaptors.version>${ccsdk.sli.version}</ccsdk.sli.adaptors.version>
106 <ccsdk.sli.northbound.version>${ccsdk.sli.version}</ccsdk.sli.northbound.version>
107 <ccsdk.sli.plugins.version>${ccsdk.sli.version}</ccsdk.sli.plugins.version>
Dan Timoneya265d5b2020-11-25 08:23:08 -0500108 <sdnctl.aai.service.version>${ccsdk.sli.version}</sdnctl.aai.service.version>
109 <sdnctl.dblib.version>${ccsdk.sli.version}</sdnctl.dblib.version>
110 <sdnctl.mdsal.resource.version>${ccsdk.sli.version}</sdnctl.mdsal.resource.version>
111 <sdnctl.slipluginutils.version>${ccsdk.sli.version}</sdnctl.slipluginutils.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500112
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500113 <!-- Support libraries used by OpenDaylight -->
Michael DÜrre4f503922021-10-29 07:53:09 +0200114 <odl.controller.mdsal.version>1.13.4</odl.controller.mdsal.version>
115 <odl.mdsal.version>7.0.9</odl.mdsal.version>
116 <odl.mdsal.model.version>7.0.9</odl.mdsal.model.version>
117 <odl.netconf.restconf.version>1.13.4</odl.netconf.restconf.version>
118 <odl.netconf.netconf.version>1.13.4</odl.netconf.netconf.version>
119 <odl.netconf.sal.rest.docgen.version>1.13.4</odl.netconf.sal.rest.docgen.version>
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400120
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500121 <!-- Used by aaa, vtn -->
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100122 <commons.codec.version>1.15</commons.codec.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500123 <!-- Used by netconf, ovsdb -->
Dan Timoneyfc006212021-10-05 15:55:28 -0400124 <commons.lang3.version>3.12.0</commons.lang3.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500125 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
126 <commons.lang.version>2.6</commons.lang.version>
127 <!-- Used by neutron; see also controller, vtn -->
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -0400128 <commons.net.version>3.8.0</commons.net.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500129 <!-- Used by neutron -->
Dan Timoneyfc006212021-10-05 15:55:28 -0400130 <eclipse.persistence.version>2.7.8</eclipse.persistence.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500131 <!-- Used by aaa -->
132 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
133 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
134 <gson.version>2.8.5</gson.version>
135 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
Michael DÜrre67cb8d52021-04-12 13:11:00 +0200136 <guava.version>29.0-jre</guava.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500137 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400138 integration/distribution, snmp4sdn, toolkit, ttp -->
Michael DÜrre67cb8d52021-04-12 13:11:00 +0200139 <jackson.version>2.11.4</jackson.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500140 <!-- Used by snmp4sdn, yangtools -->
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100141 <javassist.version>3.27.0-GA</javassist.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500142
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500143 <!-- FIXME remove all dependencies for jersey 1.17 after migration all projects -->
144 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all, snmp4sdn, toolkit -->
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100145 <jersey.version>2.27</jersey.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500146 <!-- Used by sfc -->
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100147 <jersey.client.version>2.27</jersey.client.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500148
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500149 <!-- New packages for jersey migration 1.17 to 2.8 -->
150 <!-- appache.geronimo.bundle for DocGen -->
151 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
152 <org.json.version>20131018</org.json.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500153
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500154 <!-- Used everywhere -->
Dan Timoneyd9c8dcb2021-08-23 11:36:27 -0400155 <junit.version>4.13.2</junit.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500156 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -0400157 <logback.version>1.11.7</logback.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500158 <!-- Used by nic, sfc, sxp, tsdr -->
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100159 <mockito.version>3.3.3</mockito.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500160 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
Michael DÜrre4f503922021-10-29 07:53:09 +0200161 <netty.version>4.1.65.Final</netty.version>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500162 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
Michael DÜrreb91d7912021-07-07 07:28:02 +0200163 <slf4j.version>1.7.29</slf4j.version>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500164 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, tsdr, ttp -->
Singal, Kapil (ks220y)b5adc452020-02-20 13:53:41 -0500165 <spring.version>4.3.25.RELEASE</spring.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500166
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500167 <!-- Extra support libraries used by SDN-C -->
168 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -0400169 <antlr.version>4.8-1</antlr.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500170
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500171 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
Timoney, Dan (dt5972)ebc00be2018-03-21 09:00:19 -0400172
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500173 <!-- Managed dependency versions -->
Timoney, Dan (dt5972)48f55772019-12-17 10:44:04 -0500174 <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version>
Dan Timoneyd9c8dcb2021-08-23 11:36:27 -0400175 <apache.httpcomponents.client.version>4.5.13</apache.httpcomponents.client.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500176 <derby.version>10.14.2.0</derby.version>
177 <eelf.version>1.0.0</eelf.version>
Timoney, Dan (dt5972)48f55772019-12-17 10:44:04 -0500178 <grpc.version>1.21.1</grpc.version>
Dan Timoney2f6c03b2021-12-13 15:59:55 -0500179 <jetty.version>9.4.40.v20210413</jetty.version>
Dan Timoney156d2a92022-01-03 11:49:40 -0500180 <log4j.version>2.17.1</log4j.version>
181 <log4j2.version>2.17.1</log4j2.version>
Dan Timoneyf11f8082021-07-15 12:38:19 -0400182 <mariadb.connector.version>2.7.3</mariadb.connector.version>
Timoney, Dan (dt5972)48f55772019-12-17 10:44:04 -0500183 <mariadb4j.version>2.4.0</mariadb4j.version>
184 <testng.version>6.14.3</testng.version>
Dan Timoneybc67c402021-08-05 10:46:18 -0400185 <tomcat-jdbc.version>9.0.52</tomcat-jdbc.version>
Dan Timoney2f6c03b2021-12-13 15:59:55 -0500186
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500187 <skip.karaf.featureTest>true</skip.karaf.featureTest>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500188 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500189 </properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500190
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500191 <dependencyManagement>
192 <dependencies>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500193 <!-- Note: If value in BOM conflicts with value inherited from
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400194 parent pom, inherited value takes precedence. This seems more like
195 a bug than a feature, but this is how maven 3.6 works -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500196 <dependency>
197 <groupId>org.onap.ccsdk.parent</groupId>
198 <artifactId>dependencies-odl-bom</artifactId>
Dan Timoney4be50502022-01-03 14:25:47 -0500199 <version>2.3.3-SNAPSHOT</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500200 <type>pom</type>
201 <scope>import</scope>
202 </dependency>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500203 <dependency>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100204 <groupId>org.onap.ccsdk.parent</groupId>
205 <artifactId>dependencies-bom</artifactId>
Dan Timoney4be50502022-01-03 14:25:47 -0500206 <version>2.3.3-SNAPSHOT</version>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100207 <type>pom</type>
208 <scope>import</scope>
209 </dependency>
210 <dependency>
211 <groupId>org.springframework.boot</groupId>
212 <artifactId>spring-boot-dependencies</artifactId>
213 <version>2.3.8.RELEASE</version>
214 <scope>import</scope>
215 <type>pom</type>
216 </dependency>
217 <dependency>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500218 <groupId>org.onap.logging-analytics</groupId>
219 <artifactId>logging-slf4j</artifactId>
Smokowski, Kevin (ks6305)9548ff82020-02-06 18:33:18 +0000220 <version>${logging-analytics.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500221 </dependency>
222 <dependency>
223 <groupId>org.onap.logging-analytics</groupId>
224 <artifactId>logging-filter-base</artifactId>
Smokowski, Kevin (ks6305)9548ff82020-02-06 18:33:18 +0000225 <version>${logging-analytics.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500226 </dependency>
Singal, Kapil (ks220y)ffff34a2020-02-27 11:02:51 -0500227 <dependency>
228 <groupId>junit</groupId>
229 <artifactId>junit</artifactId>
230 <version>${junit.version}</version>
231 <scope>test</scope>
232 </dependency>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500233 </dependencies>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500234 </dependencyManagement>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400235
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500236 <repositories>
237 <repository>
238 <id>onap-public</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500239 <url>${onap.nexus.public-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500240 <releases>
241 <enabled>true</enabled>
242 <updatePolicy>never</updatePolicy>
243 </releases>
244 <snapshots>
245 <enabled>true</enabled>
246 <updatePolicy>always</updatePolicy>
247 </snapshots>
248 </repository>
249 <repository>
250 <id>onap-staging</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500251 <url>${onap.nexus.staging-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500252 <releases>
253 <enabled>true</enabled>
254 <updatePolicy>never</updatePolicy>
255 </releases>
256 <snapshots>
257 <enabled>true</enabled>
258 <updatePolicy>always</updatePolicy>
259 </snapshots>
260 </repository>
261 <repository>
262 <id>ecomp-release</id>
263 <name>onap-repository-releases</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500264 <url>${onap.nexus.release-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500265 <releases>
266 <enabled>true</enabled>
267 <updatePolicy>never</updatePolicy>
268 </releases>
269 <snapshots>
270 <enabled>false</enabled>
271 </snapshots>
272 </repository>
273 <repository>
274 <id>ecomp-snapshot</id>
275 <name>onap-repository-snapshots</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500276 <url>${onap.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500277 <releases>
278 <enabled>false</enabled>
279 </releases>
280 <snapshots>
281 <enabled>true</enabled>
282 </snapshots>
283 </repository>
284 <repository>
285 <id>opendaylight-mirror</id>
286 <name>opendaylight-mirror</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500287 <url>${opendaylight.nexus.public-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500288 <releases>
289 <enabled>true</enabled>
290 <updatePolicy>never</updatePolicy>
291 </releases>
292 <snapshots>
293 <enabled>false</enabled>
294 </snapshots>
295 </repository>
296 <repository>
297 <id>opendaylight-snapshot</id>
298 <name>opendaylight-snapshot</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500299 <url>${opendaylight.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500300 <releases>
301 <enabled>false</enabled>
302 </releases>
303 <snapshots>
304 <enabled>true</enabled>
305 </snapshots>
306 </repository>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500307 </repositories>
Singal, Kapil (ks220y)9714cfc2021-05-17 13:23:11 -0400308
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500309 <pluginRepositories>
310 <pluginRepository>
311 <id>onap-public</id>
312 <url>${onap.nexus.public-url}</url>
313 <releases>
314 <enabled>true</enabled>
315 </releases>
316 <snapshots>
317 <enabled>true</enabled>
318 </snapshots>
319 </pluginRepository>
320 <pluginRepository>
321 <id>onap-staging</id>
322 <url>${onap.nexus.staging-url}</url>
323 <releases>
324 <enabled>true</enabled>
325 </releases>
326 <snapshots>
327 <enabled>true</enabled>
328 </snapshots>
329 </pluginRepository>
330 <pluginRepository>
331 <id>onap-snapshot</id>
332 <url>${onap.nexus.snapshot-url}</url>
333 <releases>
334 <enabled>false</enabled>
335 </releases>
336 <snapshots>
337 <enabled>true</enabled>
338 </snapshots>
339 </pluginRepository>
340 <pluginRepository>
341 <id>opendaylight-mirror</id>
342 <name>opendaylight-mirror</name>
343 <url>${opendaylight.nexus.public-url}</url>
344 <releases>
345 <enabled>true</enabled>
346 <updatePolicy>never</updatePolicy>
347 </releases>
348 <snapshots>
349 <enabled>false</enabled>
350 </snapshots>
351 </pluginRepository>
352 <pluginRepository>
353 <id>opendaylight-snapshot</id>
354 <name>opendaylight-snapshot</name>
355 <url>${opendaylight.nexus.snapshot-url}</url>
356 <releases>
357 <enabled>false</enabled>
358 </releases>
359 <snapshots>
360 <enabled>true</enabled>
361 </snapshots>
362 </pluginRepository>
363 <!-- Black Duck plugin dependencies -->
364 <pluginRepository>
365 <id>JCenter</id>
366 <name>JCenter Repository</name>
367 <url>http://jcenter.bintray.com</url>
368 </pluginRepository>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500369 <pluginRepository>
370 <id>Restlet</id>
371 <name>Restlet Repository</name>
372 <url>http://maven.restlet.com</url>
373 </pluginRepository>
374 </pluginRepositories>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400375
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500376 <build>
377 <pluginManagement>
378 <plugins>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500379 <!-- Plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500380 <plugin>
381 <groupId>org.apache.maven.plugins</groupId>
382 <artifactId>maven-deploy-plugin</artifactId>
383 <!-- This version supports the "deployAtEnd" parameter -->
384 <version>2.8</version>
385 <configuration>
386 <skip/>
Singal, Kapil (ks220y)6fa7fc92021-02-01 16:11:38 -0500387 <deployAtEnd>true</deployAtEnd>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500388 </configuration>
389 </plugin>
390 <plugin>
391 <groupId>org.apache.maven.plugins</groupId>
392 <artifactId>maven-site-plugin</artifactId>
393 <version>3.6</version>
394 <dependencies>
395 <dependency>
396 <groupId>org.apache.maven.wagon</groupId>
397 <artifactId>wagon-webdav-jackrabbit</artifactId>
398 <version>2.10</version>
399 </dependency>
400 </dependencies>
401 </plugin>
402 <plugin>
403 <groupId>org.apache.maven.plugins</groupId>
404 <artifactId>maven-enforcer-plugin</artifactId>
405 <version>3.0.0-M2</version>
406 <executions>
407 <execution>
408 <id>enforce-property</id>
409 <goals>
410 <goal>enforce</goal>
411 </goals>
412 <configuration>
413 <rules>
414 <requireProperty>
415 <property>onap.nexus.url</property>
416 <message>You must set a onap.nexus.url property in your
417 ~/.m2/settings.xml. See oparent/settings.xml for an example.
418 </message>
419 </requireProperty>
420 </rules>
421 <fail>true</fail>
422 </configuration>
423 </execution>
424 <execution>
425 <id>enforce-no-snapshots</id>
426 <goals>
427 <goal>enforce</goal>
428 </goals>
429 <configuration>
430 <rules>
431 <requireReleaseDeps>
432 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
433 <onlyWhenRelease>true</onlyWhenRelease>
434 <level>WARN</level>
435 </requireReleaseDeps>
436 </rules>
437 </configuration>
438 </execution>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200439 <execution>
440 <id>enforce-maven</id>
441 <goals>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100442 <goal>enforce</goal>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200443 </goals>
444 <configuration>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100445 <rules>
446 <requireJavaVersion>
447 <version>8</version>
448 </requireJavaVersion>
449 <requireMavenVersion>
450 <version>[3.5.0,)</version>
451 </requireMavenVersion>
452 </rules>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200453 </configuration>
454 </execution>
455 <execution>
456 <id>enforce-banned-dependencies</id>
457 <goals>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100458 <goal>enforce</goal>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200459 </goals>
460 <configuration>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100461 <rules>
462 <bannedDependencies>
463 <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
464 <excludes>
465 <exclude>org.mockito:mockito-all</exclude>
Singal, Kapil (ks220y)b473d3c2021-06-07 19:47:37 -0400466 <!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100467 </excludes>
468 </bannedDependencies>
469 </rules>
470 <fail>true</fail>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200471 </configuration>
472 </execution>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500473 </executions>
474 </plugin>
475 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
476 <plugin>
477 <groupId>org.sonarsource.scanner.maven</groupId>
478 <artifactId>sonar-maven-plugin</artifactId>
Dan Timoney621888e2020-01-17 09:54:02 -0500479 <version>${sonar.scanner.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500480 </plugin>
481 <!-- end of plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500482 <!-- Plugins from ONAP oparent -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500483 <plugin>
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-surefire-plugin</artifactId>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100486 <version>${maven-surefire-plugin.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500487 <configuration>
488 <!-- Sets the VM argument line used when unit tests are run. -->
489 <argLine>${surefireArgLine}</argLine>
490 <!-- Excludes integration tests when unit tests are run. -->
491 <excludes>
492 <exclude>**/IT*.java</exclude>
493 </excludes>
494 </configuration>
495 </plugin>
496 <plugin>
497 <groupId>org.apache.maven.plugins</groupId>
498 <artifactId>maven-failsafe-plugin</artifactId>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100499 <version>${maven-failsafe-plugin.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500500 <executions>
501 <!-- Ensures that both integration-test and verify goals of the Failsafe
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400502 Maven plugin are executed. -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500503 <execution>
504 <id>integration-tests</id>
505 <goals>
506 <goal>integration-test</goal>
507 <goal>verify</goal>
508 </goals>
509 <configuration>
510 <!-- Sets the VM argument line used when integration tests are run. -->
511 <argLine>${failsafeArgLine}</argLine>
512 </configuration>
513 </execution>
514 </executions>
515 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400516
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500517 <!-- End of plugins from ONAP oparent -->
518 <plugin>
519 <groupId>org.codehaus.mojo</groupId>
520 <artifactId>properties-maven-plugin</artifactId>
521 <version>1.0.0</version>
522 <executions>
523 <execution>
524 <goals>
525 <goal>set-system-properties</goal>
526 </goals>
527 <configuration>
528 <properties>
529 <property>
530 <name>maven.wagon.http.ssl.allowall</name>
531 <value>${ssl.allowall}</value>
532 </property>
533 <property>
534 <name>maven.wagon.http.ssl.insecure</name>
535 <value>${ssl.insecure}</value>
536 </property>
537 </properties>
538 </configuration>
539 </execution>
540 </executions>
541 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400542
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500543 <plugin>
544 <groupId>org.codehaus.mojo</groupId>
545 <artifactId>versions-maven-plugin</artifactId>
546 <version>2.5</version>
547 <configuration>
548 <processAllModules>true</processAllModules>
549 </configuration>
550 </plugin>
551 <plugin>
552 <artifactId>maven-scm-plugin</artifactId>
553 <version>1.8.1</version>
554 <configuration>
555 <tag>${project.artifactId}-${project.version}</tag>
556 </configuration>
557 </plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500558 <plugin>
559 <groupId>com.github.ferstl</groupId>
560 <artifactId>depgraph-maven-plugin</artifactId>
561 <version>3.3.0</version>
562 <configuration>
563 <graphFormat>text</graphFormat>
564 <outputFileName>${dependency-list.file}</outputFileName>
565 <outputDirectory>${project.basedir}</outputDirectory>
566 <transitiveExcludes>*</transitiveExcludes>
567 <showVersions>true</showVersions>
Timoney, Dan (dt5972)cc0c96a2019-12-11 10:04:52 -0500568 <showGroupIds>true</showGroupIds>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500569 </configuration>
570 </plugin>
Michael Dürre66430cc2020-08-24 14:39:08 +0200571 <plugin>
572 <groupId>de.jacks-it-lab</groupId>
573 <artifactId>frontend-maven-plugin</artifactId>
574 <version>1.7.2</version>
575 </plugin>
576 <plugin>
577 <groupId>com.github.alexcojocaru</groupId>
578 <artifactId>elasticsearch-maven-plugin</artifactId>
579 <version>6.16</version>
580 <configuration>
581 <version>7.1.1</version>
582 </configuration>
583 </plugin>
Dan Timoneye816a592020-09-03 08:56:01 -0400584 <plugin>
585 <groupId>org.apache.maven.plugins</groupId>
586 <artifactId>maven-javadoc-plugin</artifactId>
587 <version>3.2.0</version>
588 <configuration>
589 <failOnError>false</failOnError>
590 </configuration>
591 </plugin>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100592 <plugin>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100593 <groupId>com.github.spotbugs</groupId>
594 <artifactId>spotbugs-maven-plugin</artifactId>
595 <version>3.1.12.2</version>
596 <executions>
597 <execution>
598 <id>analyze-compile</id>
599 <phase>compile</phase>
600 <goals>
601 <goal>check</goal>
602 </goals>
603 <configuration>
604 <plugins>
605 <plugin>
606 <groupId>jp.skypencil.findbugs.slf4j</groupId>
607 <artifactId>bug-pattern</artifactId>
608 <version>1.5.0</version>
609 </plugin>
610 </plugins>
611 <effort>Max</effort>
612 <threshold>Low</threshold>
613 <failOnError>false</failOnError>
614 <skip>true</skip>
615 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
616 <xmlOutput>true</xmlOutput>
617 <findbugsXmlOutputDirectory>/home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs</findbugsXmlOutputDirectory>
618 </configuration>
619 </execution>
620 </executions>
621 <dependencies>
622 <dependency>
623 <groupId>com.github.spotbugs</groupId>
624 <artifactId>spotbugs</artifactId>
625 <version>3.1.12</version>
626 <scope>compile</scope>
627 </dependency>
628 <dependency>
629 <groupId>org.opendaylight.odlparent</groupId>
630 <artifactId>spotbugs</artifactId>
631 <version>7.0.5</version>
632 <scope>compile</scope>
633 </dependency>
634 <dependency>
635 <groupId>org.slf4j</groupId>
636 <artifactId>slf4j-simple</artifactId>
637 <version>1.8.0-beta2</version>
638 <scope>compile</scope>
639 </dependency>
640 </dependencies>
641 <configuration>
642 <plugins>
643 <plugin>
644 <groupId>jp.skypencil.findbugs.slf4j</groupId>
645 <artifactId>bug-pattern</artifactId>
646 <version>1.5.0</version>
647 </plugin>
648 </plugins>
649 <effort>Max</effort>
650 <threshold>Low</threshold>
651 <failOnError>false</failOnError>
652 <skip>true</skip>
653 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
654 <xmlOutput>true</xmlOutput>
655 <findbugsXmlOutputDirectory>/home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs</findbugsXmlOutputDirectory>
656 </configuration>
657 </plugin>
658 <plugin>
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -0400659 <groupId>org.apache.maven.plugins</groupId>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100660 <artifactId>maven-checkstyle-plugin</artifactId>
661 <version>${checkstyle.plugin.version}</version>
662 <dependencies>
663 <dependency>
664 <groupId>org.onap.oparent</groupId>
665 <artifactId>checkstyle</artifactId>
666 <version>1.2.2</version>
667 </dependency>
668 </dependencies>
669 <executions>
670 <execution>
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -0400671 <phase>process-sources</phase>
672 <goals>
673 <goal>check</goal>
674 </goals>
675 <configuration>
676 <failOnViolation>false</failOnViolation>
677 <skip>true</skip>
678 </configuration>
679 </execution>
680 <execution>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100681 <id>check-license</id>
682 <goals>
683 <goal>check</goal>
684 </goals>
685 <phase>process-sources</phase>
686 <configuration>
687 <configLocation>onap-checkstyle/check-license.xml</configLocation>
688 <includeResources>false</includeResources>
689 <includeTestSourceDirectory>true</includeTestSourceDirectory>
690 <includeTestResources>false</includeTestResources>
691 <sourceDirectories>
692 <directory>${project.build.sourceDirectory}</directory>
693 </sourceDirectories>
694 <excludes>
695 </excludes>
696 <consoleOutput>true</consoleOutput>
697 <failOnViolation>false</failOnViolation>
698 </configuration>
699 </execution>
700 <execution>
701 <id>onap-java-style</id>
702 <goals>
703 <goal>check</goal>
704 </goals>
705 <phase>process-sources</phase>
706 <configuration>
707 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
708 with minor changes -->
709 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
710 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
711 <sourceDirectories>
712 <directory>${project.build.sourceDirectory}/src/main/java</directory>
713 </sourceDirectories>
714 <includeResources>true</includeResources>
715 <includeTestSourceDirectory>true</includeTestSourceDirectory>
716 <includeTestResources>true</includeTestResources>
717 <excludes>
718 </excludes>
719 <consoleOutput>true</consoleOutput>
720 <failOnViolation>false</failOnViolation>
721 </configuration>
722 </execution>
723 </executions>
724 </plugin>
Michael DÜrre67cb8d52021-04-12 13:11:00 +0200725 <plugin>
726 <groupId>org.gaul</groupId>
727 <artifactId>modernizer-maven-plugin</artifactId>
728 <version>2.1.0</version>
729 <executions>
730 <execution>
731 <id>modernizer</id>
732 <phase>verify</phase>
733 <goals>
734 <goal>modernizer</goal>
735 </goals>
736 <configuration>
737 <failOnViolations>false</failOnViolations>
738 <skip>true</skip>
739 </configuration>
740 </execution>
741 </executions>
742 <configuration>
743 <failOnViolations>false</failOnViolations>
744 <skip>true</skip>
745 </configuration>
746 </plugin>
Dan Timoney22cdfa52021-09-27 12:24:00 -0400747 <!--
748 <plugin>
749 <groupId>org.apache.karaf.tooling</groupId>
750 <artifactId>karaf-maven-plugin</artifactId>
751 <configuration>
752 <useVersionRange>true</useVersionRange>
753 <includeTransitiveVersionRanges>true</includeTransitiveVersionRanges>
754 </configuration>
755 </plugin>
756 -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500757 </plugins>
758 </pluginManagement>
759 <plugins>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500760 <!-- Plugins from oparent version (parent of oparent) -->
761 <plugin>
762 <groupId>org.apache.maven.plugins</groupId>
763 <artifactId>maven-deploy-plugin</artifactId>
764 </plugin>
765 <plugin>
766 <groupId>org.apache.maven.plugins</groupId>
767 <artifactId>maven-site-plugin</artifactId>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100768 <!--
769 <configuration>
770 <reportPlugins>
771 <reportPlugin>
772 <groupId>org.apache.maven.plugins</groupId>
773 <artifactId>maven-checkstyle-plugin</artifactId>
774 <version>${checkstyle.plugin.version}</version>
775 </reportPlugin>
776 </reportPlugins>
777 </configuration>
778 -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500779 </plugin>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500780 <!-- end of plugins from oparent version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400781
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500782 <!-- Plugins from oparent -->
783 <plugin>
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -0400784 <groupId>org.apache.maven.plugins</groupId>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500785 <artifactId>maven-checkstyle-plugin</artifactId>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500786 </plugin>
787 <plugin>
788 <groupId>org.codehaus.mojo</groupId>
789 <artifactId>build-helper-maven-plugin</artifactId>
790 <version>1.12</version>
791 </plugin>
792 <!-- Jacoco / Sonar -->
793 <plugin>
794 <groupId>org.jacoco</groupId>
795 <artifactId>jacoco-maven-plugin</artifactId>
Dan Timoney621888e2020-01-17 09:54:02 -0500796 <version>${jacoco.version}</version>
797 <executions>
798 <execution>
799 <id>pre-unit-test</id>
800 <goals>
801 <goal>prepare-agent</goal>
802 </goals>
803 <configuration>
804 <!-- Sets the path to the file which contains the execution data. -->
805 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500806 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500807 <propertyName>surefireArgLine</propertyName>
808 </configuration>
809 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500810 <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500811 <execution>
812 <id>post-unit-test</id>
813 <phase>test</phase>
814 <goals>
815 <goal>report</goal>
816 </goals>
817 <configuration>
818 <!-- Sets the path to the file which contains the execution data. -->
819 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
820 <!-- Sets the output directory for the code coverage report. -->
821 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
822 </configuration>
823 </execution>
824 <execution>
825 <id>pre-integration-test</id>
826 <phase>pre-integration-test</phase>
827 <goals>
828 <goal>prepare-agent</goal>
829 </goals>
830 <configuration>
831 <!-- Sets the path to the file which contains the execution data. -->
832 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500833 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500834 <propertyName>failsafeArgLine</propertyName>
835 </configuration>
836 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500837 <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500838 <execution>
839 <id>post-integration-test</id>
840 <phase>post-integration-test</phase>
841 <goals>
842 <goal>report</goal>
843 </goals>
844 <configuration>
845 <!-- Sets the path to the file which contains the execution data. -->
846 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
847 <!-- Sets the output directory for the code coverage report. -->
848 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
849 </configuration>
850 </execution>
851 <execution>
852 <id>default-prepare-agent</id>
853 <goals>
854 <goal>prepare-agent</goal>
855 </goals>
856 </execution>
857 <execution>
858 <id>default-report</id>
859 <phase>prepare-package</phase>
860 <goals>
861 <goal>report</goal>
862 </goals>
863 </execution>
864 <execution>
865 <id>default-check</id>
866 <goals>
867 <goal>check</goal>
868 </goals>
869 <configuration>
870 <rules>
871 <rule>
872 <element>PACKAGE</element>
873 <limits>
874 <limit>
875 <counter>COMPLEXITY</counter>
876 <value>COVEREDRATIO</value>
877 <minimum>0.0</minimum>
878 </limit>
879 </limits>
880 </rule>
881 </rules>
882 </configuration>
883 </execution>
884 </executions>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500885 </plugin>
886 <plugin>
887 <groupId>org.apache.maven.plugins</groupId>
888 <artifactId>maven-surefire-plugin</artifactId>
889 </plugin>
890 <plugin>
891 <groupId>org.apache.maven.plugins</groupId>
892 <artifactId>maven-failsafe-plugin</artifactId>
893 </plugin>
894 <!-- end of plugins from oparent -->
895 <plugin>
896 <groupId>org.apache.maven.plugins</groupId>
897 <artifactId>maven-javadoc-plugin</artifactId>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500898 <executions>
899 <execution>
900 <id>attach-javadocs</id>
901 <goals>
902 <goal>jar</goal>
903 </goals>
904 <configuration>
905 <additionalparam>-Xdoclint:none</additionalparam>
906 </configuration>
907 </execution>
908 </executions>
909 </plugin>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200910 <plugin>
911 <artifactId>maven-enforcer-plugin</artifactId>
912 <version>3.0.0-M2</version>
913 <executions>
914 <execution>
915 <id>enforce-property</id>
916 <goals>
917 <goal>enforce</goal>
918 </goals>
919 <configuration>
920 <rules>
921 <requireProperty>
922 <property>onap.nexus.url</property>
923 <message>You must set a onap.nexus.url property in your
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100924 ~/.m2/settings.xml. See oparent/settings.xml for an example.
925 </message>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200926 </requireProperty>
927 </rules>
928 <fail>true</fail>
929 </configuration>
930 </execution>
931 <execution>
932 <id>enforce-no-snapshots</id>
933 <goals>
934 <goal>enforce</goal>
935 </goals>
936 <configuration>
937 <rules>
938 <requireReleaseDeps>
939 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
940 <onlyWhenRelease>true</onlyWhenRelease>
941 <level>WARN</level>
942 </requireReleaseDeps>
943 </rules>
944 </configuration>
945 </execution>
946 <execution>
947 <id>enforce-maven</id>
948 <goals>
949 <goal>enforce</goal>
950 </goals>
951 <configuration>
952 <rules>
953 <requireJavaVersion>
954 <version>1.8.0</version>
955 </requireJavaVersion>
956 <requireMavenVersion>
957 <version>[3.5.0,)</version>
958 </requireMavenVersion>
959 </rules>
960 </configuration>
961 </execution>
962 <execution>
963 <id>enforce-banned-dependencies</id>
964 <goals>
965 <goal>enforce</goal>
966 </goals>
967 <configuration>
968 <rules>
969 <bannedDependencies>
970 <message>Please always use mockito-core instead of mockito-all (see https://bugs.opendaylight.org/show_bug.cgi?id=7662), and spotbugs:annotations instead of findbugs:annotations</message>
971 <excludes>
972 <exclude>org.mockito:mockito-all</exclude>
Singal, Kapil (ks220y)da2d9762020-09-04 10:34:58 -0400973 <!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200974 </excludes>
975 </bannedDependencies>
976 </rules>
977 <fail>true</fail>
978 </configuration>
979 </execution>
980 </executions>
981 </plugin>
Singal, Kapil (ks220y)da2d9762020-09-04 10:34:58 -0400982 <plugin>
983 <groupId>pl.project13.maven</groupId>
984 <artifactId>git-commit-id-plugin</artifactId>
985 <version>4.0.0</version>
986 <configuration>
987 <commitIdGenerationMode>full</commitIdGenerationMode>
988 <includeOnlyProperties>
989 <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
990 <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
991 </includeOnlyProperties>
992 </configuration>
993 </plugin>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500994 </plugins>
995 </build>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400996
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500997 <reporting>
998 <plugins>
999 <plugin>
1000 <artifactId>maven-javadoc-plugin</artifactId>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001001 <configuration>
1002 <failOnError>false</failOnError>
1003 <additionalparam>-Xdoclint:none</additionalparam>
1004 </configuration>
1005 </plugin>
1006 </plugins>
1007 </reporting>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001008
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001009 <profiles>
1010 <!-- Profiles from ONAP oparent -->
1011 <profile>
1012 <id>generate-json</id>
1013 <activation>
1014 <file>
1015 <exists>${swagger-properties}</exists>
1016 </file>
1017 <property>
1018 <name>swagger-sdk.generate-json</name>
1019 </property>
1020 </activation>
1021 <build>
1022 <plugins>
1023 <plugin>
1024 <groupId>org.codehaus.mojo</groupId>
1025 <artifactId>properties-maven-plugin</artifactId>
1026 <version>1.0.0</version>
1027 <executions>
1028 <execution>
1029 <phase>initialize</phase>
1030 <goals>
1031 <goal>read-project-properties</goal>
1032 </goals>
1033 <configuration>
1034 <files>
1035 <file>${basedir}/src/main/resources/swagger.properties</file>
1036 </files>
1037 </configuration>
1038 </execution>
1039 </executions>
1040 </plugin>
1041 <plugin>
1042 <groupId>com.github.kongchen</groupId>
1043 <artifactId>swagger-maven-plugin</artifactId>
1044 <version>3.1.4</version>
1045 <configuration>
1046 <apiSources>
1047 <apiSource>
1048 <locations>${api-rest-package}</locations>
1049 <schemes>http,https</schemes>
1050 <host>${api-host-ip}:${api-host-port}</host>
1051 <basePath>${api-base-path}</basePath>
1052 <info>
1053 <title>${api-title}</title>
1054 <version>${api-version}</version>
1055 <description>${api-description}</description>
1056 <license>
1057 <name>${api-license}</name>
1058 </license>
1059 </info>
1060 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
1061 </apiSource>
1062 </apiSources>
1063 </configuration>
1064 <executions>
1065 <execution>
1066 <phase>compile</phase>
1067 <goals>
1068 <goal>generate</goal>
1069 </goals>
1070 </execution>
1071 </executions>
1072 </plugin>
1073 <plugin>
1074 <groupId>org.apache.maven.plugins</groupId>
1075 <artifactId>maven-install-plugin</artifactId>
1076 <version>2.3.1</version>
1077 <executions>
1078 <execution>
1079 <id>install-file-id</id>
1080 <phase>install</phase>
1081 <goals>
1082 <goal>install-file</goal>
1083 </goals>
1084 <configuration>
1085 <file>${basedir}/src/main/resources/swagger.json</file>
1086 <groupId>${project.groupId}</groupId>
1087 <artifactId>${project.artifactId}-swagger-schema</artifactId>
1088 <version>${project.version}</version>
1089 <packaging>json</packaging>
1090 </configuration>
1091 </execution>
1092 </executions>
1093 </plugin>
1094 </plugins>
1095 </build>
1096 </profile>
1097 <profile>
1098 <id>generate-sdk</id>
1099 <activation>
1100 <file>
1101 <exists>${swagger-json}</exists>
1102 </file>
1103 <property>
1104 <name>swagger-sdk.generate-java-sdk</name>
1105 </property>
1106 </activation>
1107 <build>
1108 <plugins>
1109 <plugin>
1110 <groupId>org.apache.maven.plugins</groupId>
1111 <artifactId>maven-antrun-plugin</artifactId>
1112 <version>1.8</version>
1113 <executions>
1114 <execution>
1115 <phase>initialize</phase>
1116 <id>ant-create-script</id>
1117 <configuration>
1118 <exportAntProperties>true</exportAntProperties>
1119 <tasks>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001120 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001121 <condition property="is_windows" value="true">
1122 <os family="windows"/>
1123 </condition>
1124 <condition property="isLinux" value="true">
1125 <os family="unix"/>
1126 </condition>
1127 <if>
1128 <equals arg1="${is_windows}" arg2="true"/>
1129 <then>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001130 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
1131 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true"
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001132 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001133 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true"
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001134 message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001135 </then>
1136 <else>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001137 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
1138 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true"
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001139 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001140 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true"
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001141 message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001142 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001143 </else>
1144 </if>
1145 </tasks>
1146 </configuration>
1147 <goals>
1148 <goal>run</goal>
1149 </goals>
1150 </execution>
1151 </executions>
1152 <dependencies>
1153 <dependency>
1154 <groupId>ant-contrib</groupId>
1155 <artifactId>ant-contrib</artifactId>
1156 <version>1.0b3</version>
1157 <exclusions>
1158 <exclusion>
1159 <groupId>ant</groupId>
1160 <artifactId>ant</artifactId>
1161 </exclusion>
1162 </exclusions>
1163 </dependency>
1164 </dependencies>
1165 </plugin>
1166 <plugin>
1167 <groupId>io.swagger</groupId>
1168 <artifactId>swagger-codegen-maven-plugin</artifactId>
1169 <version>2.2.1</version>
1170 <executions>
1171 <execution>
1172 <goals>
1173 <goal>generate</goal>
1174 </goals>
1175 <configuration>
1176 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
1177 <output>${project.build.directory}/generated-sources</output>
1178 <language>java</language>
1179 <configOptions>
1180 <dateLibrary>joda</dateLibrary>
1181 </configOptions>
1182 <library>jersey2</library>
1183 <groupId>${project.groupId}</groupId>
1184 <artifactId>${project.artifactId}-java-sdk</artifactId>
1185 <artifactVersion>${project.version}</artifactVersion>
1186 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
1187 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
1188 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
1189 </configuration>
1190 </execution>
1191 </executions>
1192 </plugin>
1193 <plugin>
1194 <groupId>org.codehaus.mojo</groupId>
1195 <artifactId>exec-maven-plugin</artifactId>
1196 <version>1.5.0</version>
1197 <executions>
1198 <execution>
1199 <id>swagger-generate-sources</id>
1200 <phase>generate-sources</phase>
1201 <goals>
1202 <goal>exec</goal>
1203 </goals>
1204 <configuration>
1205 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
1206 </configuration>
1207 </execution>
1208 </executions>
1209 </plugin>
1210 <plugin>
1211 <groupId>org.apache.maven.plugins</groupId>
1212 <artifactId>maven-clean-plugin</artifactId>
1213 <version>3.0.0</version>
1214 <executions>
1215 <execution>
1216 <id>clean-generated-files</id>
1217 <phase>generate-sources</phase>
1218 <goals>
1219 <goal>clean</goal>
1220 </goals>
1221 <configuration>
1222 <filesets>
1223 <fileset>
1224 <directory>${project.build.directory}/generated-sources</directory>
1225 </fileset>
1226 </filesets>
1227 </configuration>
1228 </execution>
1229 </executions>
1230 </plugin>
1231 </plugins>
1232 </build>
1233 <dependencies>
1234 <dependency>
1235 <groupId>org.onap.msb.swagger-sdk</groupId>
1236 <artifactId>swagger-sdk</artifactId>
1237 <version>1.0.0</version>
1238 </dependency>
1239 </dependencies>
1240 </profile>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -05001241 <profile>
1242 <id>sonar-jacoco-aggregate</id>
1243 <activation>
1244 <property>
1245 <name>onap.jacoco.aggregateFile</name>
1246 </property>
1247 </activation>
1248 <build>
1249 <plugins>
1250 <plugin>
1251 <groupId>org.jacoco</groupId>
1252 <artifactId>jacoco-maven-plugin</artifactId>
1253 <executions>
1254 <execution>
1255 <id>merge</id>
1256 <goals>
1257 <goal>merge</goal>
1258 </goals>
1259 <phase>generate-resources</phase>
1260 <configuration>
1261 <destFile>${onap.jacoco.aggregateFile}</destFile>
1262 <fileSets>
1263 <fileSet>
1264 <directory>${project.basedir}</directory>
1265 <includes>
1266 <include>**/target/code-coverage/*.exec</include>
1267 </includes>
1268 </fileSet>
1269 </fileSets>
1270 </configuration>
1271 </execution>
1272 </executions>
1273 </plugin>
1274 </plugins>
1275 </build>
1276 </profile>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001277 <!-- End of profiles from ONAP oparent -->
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -04001278
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001279 <profile>
1280 <id>yang-compile</id>
1281 <activation>
1282 <file>
1283 <exists>src/main/yang</exists>
1284 </file>
1285 </activation>
1286 <build>
1287 <plugins>
1288 <plugin>
1289 <groupId>org.opendaylight.yangtools</groupId>
1290 <artifactId>yang-maven-plugin</artifactId>
Singal, Kapil (ks220y)7fb88322021-07-08 20:39:34 -04001291 <version>6.0.6</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001292 <dependencies>
1293 <dependency>
1294 <groupId>org.opendaylight.mdsal</groupId>
1295 <artifactId>maven-sal-api-gen-plugin</artifactId>
1296 <version>${odl.mdsal.model.version}</version>
1297 <type>jar</type>
Michael Dürre2c39a4d2020-07-06 06:22:15 +02001298 <scope>compile</scope>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001299 </dependency>
1300 <dependency>
1301 <groupId>org.opendaylight.netconf</groupId>
1302 <artifactId>sal-rest-docgen-maven</artifactId>
1303 <version>${odl.netconf.sal.rest.docgen.version}</version>
1304 <type>jar</type>
1305 </dependency>
1306 </dependencies>
1307 <executions>
1308 <execution>
Singal, Kapil (ks220y)704554f2020-01-20 15:12:43 -05001309 <id>binding</id>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001310 <goals>
1311 <goal>generate-sources</goal>
1312 </goals>
1313 <configuration>
1314 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
1315 <codeGenerators>
1316 <generator>
1317 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
1318 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
1319 </generator>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001320 <!--
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001321 <generator>
1322 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
1323 <outputBaseDir>target/swagger</outputBaseDir>
1324 </generator>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001325 -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001326 </codeGenerators>
1327 <inspectDependencies>true</inspectDependencies>
1328 </configuration>
1329 </execution>
1330 </executions>
1331 </plugin>
1332 </plugins>
1333 </build>
1334 </profile>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001335 </profiles>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001336</project>