blob: 76fc561a6008486ac4b156663337c9f35ff65d94 [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.controller</groupId>
10 <artifactId>mdsal-it-parent</artifactId>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +010011 <version>2.0.6</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>mdsal-it-parent</artifactId>
Dan Timoney129bbdb2021-03-09 09:43:57 -050017 <version>2.2.0-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>
58 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
59 <!-- sitePath may be overridden in the inheriting POM if desired -->
60 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
Singal, Kapil (ks220y)e14c10b2020-01-07 11:54:24 -050061
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050062 <!-- If following file exist, auto-generation of swagger.json will be done -->
63 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
64 <!-- If following file exist, auto-generation of sdk will be done -->
65 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
66 <!-- end of properties from oparent -->
Dan Timoney0f2db3f2018-01-25 16:23:27 -050067
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050068 <!-- ONAP repositories -->
69 <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 Timoneyac582d92021-03-15 08:43:10 -0400100 <ccsdk.cds.version>1.2.0-SNAPSHOT</ccsdk.cds.version>
101 <ccsdk.features.version>1.2.0-SNAPSHOT</ccsdk.features.version>
102 <ccsdk.distribution.version>1.2.0-SNAPSHOT</ccsdk.distribution.version>
103 <ccsdk.sli.version>1.3.0-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Ürrec6bdd9a2020-12-01 13:34:56 +0100114 <odl.controller.mdsal.version>1.12.1</odl.controller.mdsal.version>
115 <odl.mdsal.version>6.0.7</odl.mdsal.version>
116 <odl.mdsal.model.version>6.0.7</odl.mdsal.model.version>
117 <odl.netconf.restconf.version>1.12.1</odl.netconf.restconf.version>
118 <odl.netconf.netconf.version>1.9.1</odl.netconf.netconf.version>
119 <odl.netconf.sal.rest.docgen.version>1.12.1</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 -->
124 <commons.lang3.version>3.8.1</commons.lang3.version>
125 <!-- 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 -->
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100128 <commons.net.version>3.7</commons.net.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500129 <!-- Used by neutron -->
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100130 <eclipse.persistence.version>2.7.7</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Ürrec6bdd9a2020-12-01 13:34:56 +0100136 <guava.version>28.2-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Ürrec6bdd9a2020-12-01 13:34:56 +0100139 <jackson.version>2.10.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 -->
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100155 <junit.version>4.13</junit.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500156 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100157 <logback.version>1.11.6</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Ürrec6bdd9a2020-12-01 13:34:56 +0100161 <netty.version>4.1.51.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Ürrec6bdd9a2020-12-01 13:34:56 +0100163 <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>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100169 <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>
175 <apache.httpcomponents.client.version>4.5.10</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>
179 <mariadb.connector.version>2.4.4</mariadb.connector.version>
180 <mariadb4j.version>2.4.0</mariadb4j.version>
181 <testng.version>6.14.3</testng.version>
Rich Tabedzkifce995d2020-03-11 11:06:57 -0400182 <tomcat-jdbc.version>9.0.30</tomcat-jdbc.version>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100183 <jetty.version>9.4.28.v20200408</jetty.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500184 <skip.karaf.featureTest>true</skip.karaf.featureTest>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500185 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500186 </properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500187
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500188 <dependencyManagement>
189 <dependencies>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500190 <!-- Note: If value in BOM conflicts with value inherited from
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400191 parent pom, inherited value takes precedence. This seems more like
192 a bug than a feature, but this is how maven 3.6 works -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500193 <dependency>
194 <groupId>org.onap.ccsdk.parent</groupId>
195 <artifactId>dependencies-odl-bom</artifactId>
Dan Timoney129bbdb2021-03-09 09:43:57 -0500196 <version>2.2.0-SNAPSHOT</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500197 <type>pom</type>
198 <scope>import</scope>
199 </dependency>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500200 <dependency>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100201 <groupId>org.onap.ccsdk.parent</groupId>
202 <artifactId>dependencies-bom</artifactId>
Dan Timoney129bbdb2021-03-09 09:43:57 -0500203 <version>2.2.0-SNAPSHOT</version>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100204 <type>pom</type>
205 <scope>import</scope>
206 </dependency>
207 <dependency>
208 <groupId>org.springframework.boot</groupId>
209 <artifactId>spring-boot-dependencies</artifactId>
210 <version>2.3.8.RELEASE</version>
211 <scope>import</scope>
212 <type>pom</type>
213 </dependency>
214 <dependency>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500215 <groupId>org.onap.logging-analytics</groupId>
216 <artifactId>logging-slf4j</artifactId>
Smokowski, Kevin (ks6305)9548ff82020-02-06 18:33:18 +0000217 <version>${logging-analytics.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500218 </dependency>
219 <dependency>
220 <groupId>org.onap.logging-analytics</groupId>
221 <artifactId>logging-filter-base</artifactId>
Smokowski, Kevin (ks6305)9548ff82020-02-06 18:33:18 +0000222 <version>${logging-analytics.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500223 </dependency>
Singal, Kapil (ks220y)ffff34a2020-02-27 11:02:51 -0500224 <dependency>
225 <groupId>junit</groupId>
226 <artifactId>junit</artifactId>
227 <version>${junit.version}</version>
228 <scope>test</scope>
229 </dependency>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500230 </dependencies>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500231 </dependencyManagement>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400232
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500233 <repositories>
234 <repository>
235 <id>onap-public</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500236 <url>${onap.nexus.public-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500237 <releases>
238 <enabled>true</enabled>
239 <updatePolicy>never</updatePolicy>
240 </releases>
241 <snapshots>
242 <enabled>true</enabled>
243 <updatePolicy>always</updatePolicy>
244 </snapshots>
245 </repository>
246 <repository>
247 <id>onap-staging</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500248 <url>${onap.nexus.staging-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500249 <releases>
250 <enabled>true</enabled>
251 <updatePolicy>never</updatePolicy>
252 </releases>
253 <snapshots>
254 <enabled>true</enabled>
255 <updatePolicy>always</updatePolicy>
256 </snapshots>
257 </repository>
258 <repository>
259 <id>ecomp-release</id>
260 <name>onap-repository-releases</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500261 <url>${onap.nexus.release-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500262 <releases>
263 <enabled>true</enabled>
264 <updatePolicy>never</updatePolicy>
265 </releases>
266 <snapshots>
267 <enabled>false</enabled>
268 </snapshots>
269 </repository>
270 <repository>
271 <id>ecomp-snapshot</id>
272 <name>onap-repository-snapshots</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500273 <url>${onap.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500274 <releases>
275 <enabled>false</enabled>
276 </releases>
277 <snapshots>
278 <enabled>true</enabled>
279 </snapshots>
280 </repository>
281 <repository>
282 <id>opendaylight-mirror</id>
283 <name>opendaylight-mirror</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500284 <url>${opendaylight.nexus.public-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500285 <releases>
286 <enabled>true</enabled>
287 <updatePolicy>never</updatePolicy>
288 </releases>
289 <snapshots>
290 <enabled>false</enabled>
291 </snapshots>
292 </repository>
293 <repository>
294 <id>opendaylight-snapshot</id>
295 <name>opendaylight-snapshot</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500296 <url>${opendaylight.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500297 <releases>
298 <enabled>false</enabled>
299 </releases>
300 <snapshots>
301 <enabled>true</enabled>
302 </snapshots>
303 </repository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400304
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500305 </repositories>
306 <pluginRepositories>
307 <pluginRepository>
308 <id>onap-public</id>
309 <url>${onap.nexus.public-url}</url>
310 <releases>
311 <enabled>true</enabled>
312 </releases>
313 <snapshots>
314 <enabled>true</enabled>
315 </snapshots>
316 </pluginRepository>
317 <pluginRepository>
318 <id>onap-staging</id>
319 <url>${onap.nexus.staging-url}</url>
320 <releases>
321 <enabled>true</enabled>
322 </releases>
323 <snapshots>
324 <enabled>true</enabled>
325 </snapshots>
326 </pluginRepository>
327 <pluginRepository>
328 <id>onap-snapshot</id>
329 <url>${onap.nexus.snapshot-url}</url>
330 <releases>
331 <enabled>false</enabled>
332 </releases>
333 <snapshots>
334 <enabled>true</enabled>
335 </snapshots>
336 </pluginRepository>
337 <pluginRepository>
338 <id>opendaylight-mirror</id>
339 <name>opendaylight-mirror</name>
340 <url>${opendaylight.nexus.public-url}</url>
341 <releases>
342 <enabled>true</enabled>
343 <updatePolicy>never</updatePolicy>
344 </releases>
345 <snapshots>
346 <enabled>false</enabled>
347 </snapshots>
348 </pluginRepository>
349 <pluginRepository>
350 <id>opendaylight-snapshot</id>
351 <name>opendaylight-snapshot</name>
352 <url>${opendaylight.nexus.snapshot-url}</url>
353 <releases>
354 <enabled>false</enabled>
355 </releases>
356 <snapshots>
357 <enabled>true</enabled>
358 </snapshots>
359 </pluginRepository>
360 <!-- Black Duck plugin dependencies -->
361 <pluginRepository>
362 <id>JCenter</id>
363 <name>JCenter Repository</name>
364 <url>http://jcenter.bintray.com</url>
365 </pluginRepository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400366
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500367 <pluginRepository>
368 <id>Restlet</id>
369 <name>Restlet Repository</name>
370 <url>http://maven.restlet.com</url>
371 </pluginRepository>
372 </pluginRepositories>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400373
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500374 <build>
375 <pluginManagement>
376 <plugins>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500377 <!-- Plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500378 <plugin>
379 <groupId>org.apache.maven.plugins</groupId>
380 <artifactId>maven-deploy-plugin</artifactId>
381 <!-- This version supports the "deployAtEnd" parameter -->
382 <version>2.8</version>
383 <configuration>
384 <skip/>
Singal, Kapil (ks220y)6fa7fc92021-02-01 16:11:38 -0500385 <deployAtEnd>true</deployAtEnd>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500386 </configuration>
387 </plugin>
388 <plugin>
389 <groupId>org.apache.maven.plugins</groupId>
390 <artifactId>maven-site-plugin</artifactId>
391 <version>3.6</version>
392 <dependencies>
393 <dependency>
394 <groupId>org.apache.maven.wagon</groupId>
395 <artifactId>wagon-webdav-jackrabbit</artifactId>
396 <version>2.10</version>
397 </dependency>
398 </dependencies>
399 </plugin>
400 <plugin>
401 <groupId>org.apache.maven.plugins</groupId>
402 <artifactId>maven-enforcer-plugin</artifactId>
403 <version>3.0.0-M2</version>
404 <executions>
405 <execution>
406 <id>enforce-property</id>
407 <goals>
408 <goal>enforce</goal>
409 </goals>
410 <configuration>
411 <rules>
412 <requireProperty>
413 <property>onap.nexus.url</property>
414 <message>You must set a onap.nexus.url property in your
415 ~/.m2/settings.xml. See oparent/settings.xml for an example.
416 </message>
417 </requireProperty>
418 </rules>
419 <fail>true</fail>
420 </configuration>
421 </execution>
422 <execution>
423 <id>enforce-no-snapshots</id>
424 <goals>
425 <goal>enforce</goal>
426 </goals>
427 <configuration>
428 <rules>
429 <requireReleaseDeps>
430 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
431 <onlyWhenRelease>true</onlyWhenRelease>
432 <level>WARN</level>
433 </requireReleaseDeps>
434 </rules>
435 </configuration>
436 </execution>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200437 <execution>
438 <id>enforce-maven</id>
439 <goals>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100440 <goal>enforce</goal>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200441 </goals>
442 <configuration>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100443 <rules>
444 <requireJavaVersion>
445 <version>8</version>
446 </requireJavaVersion>
447 <requireMavenVersion>
448 <version>[3.5.0,)</version>
449 </requireMavenVersion>
450 </rules>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200451 </configuration>
452 </execution>
453 <execution>
454 <id>enforce-banned-dependencies</id>
455 <goals>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100456 <goal>enforce</goal>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200457 </goals>
458 <configuration>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100459 <rules>
460 <bannedDependencies>
461 <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>
462 <excludes>
463 <exclude>org.mockito:mockito-all</exclude>
464 <!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
465 </excludes>
466 </bannedDependencies>
467 </rules>
468 <fail>true</fail>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200469 </configuration>
470 </execution>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500471 </executions>
472 </plugin>
473 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
474 <plugin>
475 <groupId>org.sonarsource.scanner.maven</groupId>
476 <artifactId>sonar-maven-plugin</artifactId>
Dan Timoney621888e2020-01-17 09:54:02 -0500477 <version>${sonar.scanner.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500478 </plugin>
479 <!-- end of plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500480 <!-- Plugins from ONAP oparent -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500481 <plugin>
482 <groupId>org.apache.maven.plugins</groupId>
483 <artifactId>maven-surefire-plugin</artifactId>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100484 <version>${maven-surefire-plugin.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500485 <configuration>
486 <!-- Sets the VM argument line used when unit tests are run. -->
487 <argLine>${surefireArgLine}</argLine>
488 <!-- Excludes integration tests when unit tests are run. -->
489 <excludes>
490 <exclude>**/IT*.java</exclude>
491 </excludes>
492 </configuration>
493 </plugin>
494 <plugin>
495 <groupId>org.apache.maven.plugins</groupId>
496 <artifactId>maven-failsafe-plugin</artifactId>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100497 <version>${maven-failsafe-plugin.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500498 <executions>
499 <!-- Ensures that both integration-test and verify goals of the Failsafe
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400500 Maven plugin are executed. -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500501 <execution>
502 <id>integration-tests</id>
503 <goals>
504 <goal>integration-test</goal>
505 <goal>verify</goal>
506 </goals>
507 <configuration>
508 <!-- Sets the VM argument line used when integration tests are run. -->
509 <argLine>${failsafeArgLine}</argLine>
510 </configuration>
511 </execution>
512 </executions>
513 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400514
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500515 <!-- End of plugins from ONAP oparent -->
516 <plugin>
517 <groupId>org.codehaus.mojo</groupId>
518 <artifactId>properties-maven-plugin</artifactId>
519 <version>1.0.0</version>
520 <executions>
521 <execution>
522 <goals>
523 <goal>set-system-properties</goal>
524 </goals>
525 <configuration>
526 <properties>
527 <property>
528 <name>maven.wagon.http.ssl.allowall</name>
529 <value>${ssl.allowall}</value>
530 </property>
531 <property>
532 <name>maven.wagon.http.ssl.insecure</name>
533 <value>${ssl.insecure}</value>
534 </property>
535 </properties>
536 </configuration>
537 </execution>
538 </executions>
539 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400540
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500541 <plugin>
542 <groupId>org.codehaus.mojo</groupId>
543 <artifactId>versions-maven-plugin</artifactId>
544 <version>2.5</version>
545 <configuration>
546 <processAllModules>true</processAllModules>
547 </configuration>
548 </plugin>
549 <plugin>
550 <artifactId>maven-scm-plugin</artifactId>
551 <version>1.8.1</version>
552 <configuration>
553 <tag>${project.artifactId}-${project.version}</tag>
554 </configuration>
555 </plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500556 <plugin>
557 <groupId>com.github.ferstl</groupId>
558 <artifactId>depgraph-maven-plugin</artifactId>
559 <version>3.3.0</version>
560 <configuration>
561 <graphFormat>text</graphFormat>
562 <outputFileName>${dependency-list.file}</outputFileName>
563 <outputDirectory>${project.basedir}</outputDirectory>
564 <transitiveExcludes>*</transitiveExcludes>
565 <showVersions>true</showVersions>
Timoney, Dan (dt5972)cc0c96a2019-12-11 10:04:52 -0500566 <showGroupIds>true</showGroupIds>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500567 </configuration>
568 </plugin>
Michael Dürre66430cc2020-08-24 14:39:08 +0200569 <plugin>
570 <groupId>de.jacks-it-lab</groupId>
571 <artifactId>frontend-maven-plugin</artifactId>
572 <version>1.7.2</version>
573 </plugin>
574 <plugin>
575 <groupId>com.github.alexcojocaru</groupId>
576 <artifactId>elasticsearch-maven-plugin</artifactId>
577 <version>6.16</version>
578 <configuration>
579 <version>7.1.1</version>
580 </configuration>
581 </plugin>
Dan Timoneye816a592020-09-03 08:56:01 -0400582 <plugin>
583 <groupId>org.apache.maven.plugins</groupId>
584 <artifactId>maven-javadoc-plugin</artifactId>
585 <version>3.2.0</version>
586 <configuration>
587 <failOnError>false</failOnError>
588 </configuration>
589 </plugin>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100590 <plugin>
591 <artifactId>maven-checkstyle-plugin</artifactId>
592 <executions>
593 <execution>
594 <phase>process-sources</phase>
595 <goals>
596 <goal>check</goal>
597 </goals>
598 <configuration>
599 <failOnViolation>false</failOnViolation>
600 <skip>false</skip>
601 </configuration>
602 </execution>
603 </executions>
604 </plugin>
605 <plugin>
606 <groupId>com.github.spotbugs</groupId>
607 <artifactId>spotbugs-maven-plugin</artifactId>
608 <version>3.1.12.2</version>
609 <executions>
610 <execution>
611 <id>analyze-compile</id>
612 <phase>compile</phase>
613 <goals>
614 <goal>check</goal>
615 </goals>
616 <configuration>
617 <plugins>
618 <plugin>
619 <groupId>jp.skypencil.findbugs.slf4j</groupId>
620 <artifactId>bug-pattern</artifactId>
621 <version>1.5.0</version>
622 </plugin>
623 </plugins>
624 <effort>Max</effort>
625 <threshold>Low</threshold>
626 <failOnError>false</failOnError>
627 <skip>true</skip>
628 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
629 <xmlOutput>true</xmlOutput>
630 <findbugsXmlOutputDirectory>/home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs</findbugsXmlOutputDirectory>
631 </configuration>
632 </execution>
633 </executions>
634 <dependencies>
635 <dependency>
636 <groupId>com.github.spotbugs</groupId>
637 <artifactId>spotbugs</artifactId>
638 <version>3.1.12</version>
639 <scope>compile</scope>
640 </dependency>
641 <dependency>
642 <groupId>org.opendaylight.odlparent</groupId>
643 <artifactId>spotbugs</artifactId>
644 <version>7.0.5</version>
645 <scope>compile</scope>
646 </dependency>
647 <dependency>
648 <groupId>org.slf4j</groupId>
649 <artifactId>slf4j-simple</artifactId>
650 <version>1.8.0-beta2</version>
651 <scope>compile</scope>
652 </dependency>
653 </dependencies>
654 <configuration>
655 <plugins>
656 <plugin>
657 <groupId>jp.skypencil.findbugs.slf4j</groupId>
658 <artifactId>bug-pattern</artifactId>
659 <version>1.5.0</version>
660 </plugin>
661 </plugins>
662 <effort>Max</effort>
663 <threshold>Low</threshold>
664 <failOnError>false</failOnError>
665 <skip>true</skip>
666 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
667 <xmlOutput>true</xmlOutput>
668 <findbugsXmlOutputDirectory>/home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs</findbugsXmlOutputDirectory>
669 </configuration>
670 </plugin>
671 <plugin>
672 <artifactId>maven-checkstyle-plugin</artifactId>
673 <version>${checkstyle.plugin.version}</version>
674 <dependencies>
675 <dependency>
676 <groupId>org.onap.oparent</groupId>
677 <artifactId>checkstyle</artifactId>
678 <version>1.2.2</version>
679 </dependency>
680 </dependencies>
681 <executions>
682 <execution>
683 <id>check-license</id>
684 <goals>
685 <goal>check</goal>
686 </goals>
687 <phase>process-sources</phase>
688 <configuration>
689 <configLocation>onap-checkstyle/check-license.xml</configLocation>
690 <includeResources>false</includeResources>
691 <includeTestSourceDirectory>true</includeTestSourceDirectory>
692 <includeTestResources>false</includeTestResources>
693 <sourceDirectories>
694 <directory>${project.build.sourceDirectory}</directory>
695 </sourceDirectories>
696 <excludes>
697 </excludes>
698 <consoleOutput>true</consoleOutput>
699 <failOnViolation>false</failOnViolation>
700 </configuration>
701 </execution>
702 <execution>
703 <id>onap-java-style</id>
704 <goals>
705 <goal>check</goal>
706 </goals>
707 <phase>process-sources</phase>
708 <configuration>
709 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
710 with minor changes -->
711 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
712 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
713 <sourceDirectories>
714 <directory>${project.build.sourceDirectory}/src/main/java</directory>
715 </sourceDirectories>
716 <includeResources>true</includeResources>
717 <includeTestSourceDirectory>true</includeTestSourceDirectory>
718 <includeTestResources>true</includeTestResources>
719 <excludes>
720 </excludes>
721 <consoleOutput>true</consoleOutput>
722 <failOnViolation>false</failOnViolation>
723 </configuration>
724 </execution>
725 </executions>
726 </plugin>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500727 </plugins>
728 </pluginManagement>
729 <plugins>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500730 <!-- Plugins from oparent version (parent of oparent) -->
731 <plugin>
732 <groupId>org.apache.maven.plugins</groupId>
733 <artifactId>maven-deploy-plugin</artifactId>
734 </plugin>
735 <plugin>
736 <groupId>org.apache.maven.plugins</groupId>
737 <artifactId>maven-site-plugin</artifactId>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100738 <!--
739 <configuration>
740 <reportPlugins>
741 <reportPlugin>
742 <groupId>org.apache.maven.plugins</groupId>
743 <artifactId>maven-checkstyle-plugin</artifactId>
744 <version>${checkstyle.plugin.version}</version>
745 </reportPlugin>
746 </reportPlugins>
747 </configuration>
748 -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500749 </plugin>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500750 <!-- end of plugins from oparent version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400751
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500752 <!-- Plugins from oparent -->
753 <plugin>
754 <artifactId>maven-checkstyle-plugin</artifactId>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100755 <version>${checkstyle.plugin.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500756 <dependencies>
757 <dependency>
758 <groupId>org.onap.oparent</groupId>
759 <artifactId>checkstyle</artifactId>
760 <version>1.2.2</version>
761 </dependency>
762 </dependencies>
763 <executions>
764 <execution>
Michael DÜrref2bcac02021-02-09 08:35:01 +0100765 <!-- overwrite odl default to supress spotbugs code check execution -->
766 <goals>
767 <goal>check</goal>
768 </goals>
769 <phase>process-sources</phase>
770 <configuration>
771 <skip>true</skip>
772 <failOnViolation>false</failOnViolation>
773 </configuration>
774 </execution>
775 <execution>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500776 <id>onap-license</id>
777 <goals>
778 <goal>check</goal>
779 </goals>
780 <phase>process-sources</phase>
781 <configuration>
782 <configLocation>onap-checkstyle/check-license.xml</configLocation>
783 <includeResources>false</includeResources>
784 <includeTestSourceDirectory>true</includeTestSourceDirectory>
785 <includeTestResources>false</includeTestResources>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100786 <sourceDirectories>
787 <directory>${project.build.sourceDirectory}</directory>
788 </sourceDirectories>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500789 <excludes>
790 </excludes>
791 <consoleOutput>true</consoleOutput>
792 <failOnViolation>false</failOnViolation>
793 </configuration>
794 </execution>
795 <execution>
796 <id>onap-java-style</id>
797 <goals>
798 <goal>check</goal>
799 </goals>
800 <phase>process-sources</phase>
801 <configuration>
802 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400803 with minor changes -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500804 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500805 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100806 <sourceDirectories>
807 <directory>${project.build.sourceDirectory}/src/main/java</directory>
808 </sourceDirectories>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500809 <includeResources>true</includeResources>
810 <includeTestSourceDirectory>true</includeTestSourceDirectory>
811 <includeTestResources>true</includeTestResources>
812 <excludes>
813 </excludes>
814 <consoleOutput>true</consoleOutput>
815 <failOnViolation>false</failOnViolation>
816 </configuration>
817 </execution>
818 </executions>
819 </plugin>
820 <plugin>
821 <groupId>org.codehaus.mojo</groupId>
822 <artifactId>build-helper-maven-plugin</artifactId>
823 <version>1.12</version>
824 </plugin>
825 <!-- Jacoco / Sonar -->
826 <plugin>
827 <groupId>org.jacoco</groupId>
828 <artifactId>jacoco-maven-plugin</artifactId>
Dan Timoney621888e2020-01-17 09:54:02 -0500829 <version>${jacoco.version}</version>
830 <executions>
831 <execution>
832 <id>pre-unit-test</id>
833 <goals>
834 <goal>prepare-agent</goal>
835 </goals>
836 <configuration>
837 <!-- Sets the path to the file which contains the execution data. -->
838 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500839 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500840 <propertyName>surefireArgLine</propertyName>
841 </configuration>
842 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500843 <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500844 <execution>
845 <id>post-unit-test</id>
846 <phase>test</phase>
847 <goals>
848 <goal>report</goal>
849 </goals>
850 <configuration>
851 <!-- Sets the path to the file which contains the execution data. -->
852 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
853 <!-- Sets the output directory for the code coverage report. -->
854 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
855 </configuration>
856 </execution>
857 <execution>
858 <id>pre-integration-test</id>
859 <phase>pre-integration-test</phase>
860 <goals>
861 <goal>prepare-agent</goal>
862 </goals>
863 <configuration>
864 <!-- Sets the path to the file which contains the execution data. -->
865 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500866 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500867 <propertyName>failsafeArgLine</propertyName>
868 </configuration>
869 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500870 <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500871 <execution>
872 <id>post-integration-test</id>
873 <phase>post-integration-test</phase>
874 <goals>
875 <goal>report</goal>
876 </goals>
877 <configuration>
878 <!-- Sets the path to the file which contains the execution data. -->
879 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
880 <!-- Sets the output directory for the code coverage report. -->
881 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
882 </configuration>
883 </execution>
884 <execution>
885 <id>default-prepare-agent</id>
886 <goals>
887 <goal>prepare-agent</goal>
888 </goals>
889 </execution>
890 <execution>
891 <id>default-report</id>
892 <phase>prepare-package</phase>
893 <goals>
894 <goal>report</goal>
895 </goals>
896 </execution>
897 <execution>
898 <id>default-check</id>
899 <goals>
900 <goal>check</goal>
901 </goals>
902 <configuration>
903 <rules>
904 <rule>
905 <element>PACKAGE</element>
906 <limits>
907 <limit>
908 <counter>COMPLEXITY</counter>
909 <value>COVEREDRATIO</value>
910 <minimum>0.0</minimum>
911 </limit>
912 </limits>
913 </rule>
914 </rules>
915 </configuration>
916 </execution>
917 </executions>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500918 </plugin>
919 <plugin>
920 <groupId>org.apache.maven.plugins</groupId>
921 <artifactId>maven-surefire-plugin</artifactId>
922 </plugin>
923 <plugin>
924 <groupId>org.apache.maven.plugins</groupId>
925 <artifactId>maven-failsafe-plugin</artifactId>
926 </plugin>
927 <!-- end of plugins from oparent -->
928 <plugin>
929 <groupId>org.apache.maven.plugins</groupId>
930 <artifactId>maven-javadoc-plugin</artifactId>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500931 <executions>
932 <execution>
933 <id>attach-javadocs</id>
934 <goals>
935 <goal>jar</goal>
936 </goals>
937 <configuration>
938 <additionalparam>-Xdoclint:none</additionalparam>
939 </configuration>
940 </execution>
941 </executions>
942 </plugin>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200943 <plugin>
944 <artifactId>maven-enforcer-plugin</artifactId>
945 <version>3.0.0-M2</version>
946 <executions>
947 <execution>
948 <id>enforce-property</id>
949 <goals>
950 <goal>enforce</goal>
951 </goals>
952 <configuration>
953 <rules>
954 <requireProperty>
955 <property>onap.nexus.url</property>
956 <message>You must set a onap.nexus.url property in your
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100957 ~/.m2/settings.xml. See oparent/settings.xml for an example.
958 </message>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200959 </requireProperty>
960 </rules>
961 <fail>true</fail>
962 </configuration>
963 </execution>
964 <execution>
965 <id>enforce-no-snapshots</id>
966 <goals>
967 <goal>enforce</goal>
968 </goals>
969 <configuration>
970 <rules>
971 <requireReleaseDeps>
972 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
973 <onlyWhenRelease>true</onlyWhenRelease>
974 <level>WARN</level>
975 </requireReleaseDeps>
976 </rules>
977 </configuration>
978 </execution>
979 <execution>
980 <id>enforce-maven</id>
981 <goals>
982 <goal>enforce</goal>
983 </goals>
984 <configuration>
985 <rules>
986 <requireJavaVersion>
987 <version>1.8.0</version>
988 </requireJavaVersion>
989 <requireMavenVersion>
990 <version>[3.5.0,)</version>
991 </requireMavenVersion>
992 </rules>
993 </configuration>
994 </execution>
995 <execution>
996 <id>enforce-banned-dependencies</id>
997 <goals>
998 <goal>enforce</goal>
999 </goals>
1000 <configuration>
1001 <rules>
1002 <bannedDependencies>
1003 <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>
1004 <excludes>
1005 <exclude>org.mockito:mockito-all</exclude>
Singal, Kapil (ks220y)da2d9762020-09-04 10:34:58 -04001006 <!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
Michael Dürre2c39a4d2020-07-06 06:22:15 +02001007 </excludes>
1008 </bannedDependencies>
1009 </rules>
1010 <fail>true</fail>
1011 </configuration>
1012 </execution>
1013 </executions>
1014 </plugin>
Singal, Kapil (ks220y)da2d9762020-09-04 10:34:58 -04001015 <plugin>
1016 <groupId>pl.project13.maven</groupId>
1017 <artifactId>git-commit-id-plugin</artifactId>
1018 <version>4.0.0</version>
1019 <configuration>
1020 <commitIdGenerationMode>full</commitIdGenerationMode>
1021 <includeOnlyProperties>
1022 <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
1023 <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
1024 </includeOnlyProperties>
1025 </configuration>
1026 </plugin>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001027 </plugins>
1028 </build>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001029
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001030 <reporting>
1031 <plugins>
1032 <plugin>
1033 <artifactId>maven-javadoc-plugin</artifactId>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001034 <configuration>
1035 <failOnError>false</failOnError>
1036 <additionalparam>-Xdoclint:none</additionalparam>
1037 </configuration>
1038 </plugin>
1039 </plugins>
1040 </reporting>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001041
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001042 <profiles>
1043 <!-- Profiles from ONAP oparent -->
1044 <profile>
1045 <id>generate-json</id>
1046 <activation>
1047 <file>
1048 <exists>${swagger-properties}</exists>
1049 </file>
1050 <property>
1051 <name>swagger-sdk.generate-json</name>
1052 </property>
1053 </activation>
1054 <build>
1055 <plugins>
1056 <plugin>
1057 <groupId>org.codehaus.mojo</groupId>
1058 <artifactId>properties-maven-plugin</artifactId>
1059 <version>1.0.0</version>
1060 <executions>
1061 <execution>
1062 <phase>initialize</phase>
1063 <goals>
1064 <goal>read-project-properties</goal>
1065 </goals>
1066 <configuration>
1067 <files>
1068 <file>${basedir}/src/main/resources/swagger.properties</file>
1069 </files>
1070 </configuration>
1071 </execution>
1072 </executions>
1073 </plugin>
1074 <plugin>
1075 <groupId>com.github.kongchen</groupId>
1076 <artifactId>swagger-maven-plugin</artifactId>
1077 <version>3.1.4</version>
1078 <configuration>
1079 <apiSources>
1080 <apiSource>
1081 <locations>${api-rest-package}</locations>
1082 <schemes>http,https</schemes>
1083 <host>${api-host-ip}:${api-host-port}</host>
1084 <basePath>${api-base-path}</basePath>
1085 <info>
1086 <title>${api-title}</title>
1087 <version>${api-version}</version>
1088 <description>${api-description}</description>
1089 <license>
1090 <name>${api-license}</name>
1091 </license>
1092 </info>
1093 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
1094 </apiSource>
1095 </apiSources>
1096 </configuration>
1097 <executions>
1098 <execution>
1099 <phase>compile</phase>
1100 <goals>
1101 <goal>generate</goal>
1102 </goals>
1103 </execution>
1104 </executions>
1105 </plugin>
1106 <plugin>
1107 <groupId>org.apache.maven.plugins</groupId>
1108 <artifactId>maven-install-plugin</artifactId>
1109 <version>2.3.1</version>
1110 <executions>
1111 <execution>
1112 <id>install-file-id</id>
1113 <phase>install</phase>
1114 <goals>
1115 <goal>install-file</goal>
1116 </goals>
1117 <configuration>
1118 <file>${basedir}/src/main/resources/swagger.json</file>
1119 <groupId>${project.groupId}</groupId>
1120 <artifactId>${project.artifactId}-swagger-schema</artifactId>
1121 <version>${project.version}</version>
1122 <packaging>json</packaging>
1123 </configuration>
1124 </execution>
1125 </executions>
1126 </plugin>
1127 </plugins>
1128 </build>
1129 </profile>
1130 <profile>
1131 <id>generate-sdk</id>
1132 <activation>
1133 <file>
1134 <exists>${swagger-json}</exists>
1135 </file>
1136 <property>
1137 <name>swagger-sdk.generate-java-sdk</name>
1138 </property>
1139 </activation>
1140 <build>
1141 <plugins>
1142 <plugin>
1143 <groupId>org.apache.maven.plugins</groupId>
1144 <artifactId>maven-antrun-plugin</artifactId>
1145 <version>1.8</version>
1146 <executions>
1147 <execution>
1148 <phase>initialize</phase>
1149 <id>ant-create-script</id>
1150 <configuration>
1151 <exportAntProperties>true</exportAntProperties>
1152 <tasks>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001153 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001154 <condition property="is_windows" value="true">
1155 <os family="windows"/>
1156 </condition>
1157 <condition property="isLinux" value="true">
1158 <os family="unix"/>
1159 </condition>
1160 <if>
1161 <equals arg1="${is_windows}" arg2="true"/>
1162 <then>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001163 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
1164 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true"
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001165 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001166 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true"
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001167 message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001168 </then>
1169 <else>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001170 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
1171 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true"
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001172 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001173 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true"
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001174 message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001175 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001176 </else>
1177 </if>
1178 </tasks>
1179 </configuration>
1180 <goals>
1181 <goal>run</goal>
1182 </goals>
1183 </execution>
1184 </executions>
1185 <dependencies>
1186 <dependency>
1187 <groupId>ant-contrib</groupId>
1188 <artifactId>ant-contrib</artifactId>
1189 <version>1.0b3</version>
1190 <exclusions>
1191 <exclusion>
1192 <groupId>ant</groupId>
1193 <artifactId>ant</artifactId>
1194 </exclusion>
1195 </exclusions>
1196 </dependency>
1197 </dependencies>
1198 </plugin>
1199 <plugin>
1200 <groupId>io.swagger</groupId>
1201 <artifactId>swagger-codegen-maven-plugin</artifactId>
1202 <version>2.2.1</version>
1203 <executions>
1204 <execution>
1205 <goals>
1206 <goal>generate</goal>
1207 </goals>
1208 <configuration>
1209 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
1210 <output>${project.build.directory}/generated-sources</output>
1211 <language>java</language>
1212 <configOptions>
1213 <dateLibrary>joda</dateLibrary>
1214 </configOptions>
1215 <library>jersey2</library>
1216 <groupId>${project.groupId}</groupId>
1217 <artifactId>${project.artifactId}-java-sdk</artifactId>
1218 <artifactVersion>${project.version}</artifactVersion>
1219 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
1220 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
1221 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
1222 </configuration>
1223 </execution>
1224 </executions>
1225 </plugin>
1226 <plugin>
1227 <groupId>org.codehaus.mojo</groupId>
1228 <artifactId>exec-maven-plugin</artifactId>
1229 <version>1.5.0</version>
1230 <executions>
1231 <execution>
1232 <id>swagger-generate-sources</id>
1233 <phase>generate-sources</phase>
1234 <goals>
1235 <goal>exec</goal>
1236 </goals>
1237 <configuration>
1238 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
1239 </configuration>
1240 </execution>
1241 </executions>
1242 </plugin>
1243 <plugin>
1244 <groupId>org.apache.maven.plugins</groupId>
1245 <artifactId>maven-clean-plugin</artifactId>
1246 <version>3.0.0</version>
1247 <executions>
1248 <execution>
1249 <id>clean-generated-files</id>
1250 <phase>generate-sources</phase>
1251 <goals>
1252 <goal>clean</goal>
1253 </goals>
1254 <configuration>
1255 <filesets>
1256 <fileset>
1257 <directory>${project.build.directory}/generated-sources</directory>
1258 </fileset>
1259 </filesets>
1260 </configuration>
1261 </execution>
1262 </executions>
1263 </plugin>
1264 </plugins>
1265 </build>
1266 <dependencies>
1267 <dependency>
1268 <groupId>org.onap.msb.swagger-sdk</groupId>
1269 <artifactId>swagger-sdk</artifactId>
1270 <version>1.0.0</version>
1271 </dependency>
1272 </dependencies>
1273 </profile>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -05001274 <profile>
1275 <id>sonar-jacoco-aggregate</id>
1276 <activation>
1277 <property>
1278 <name>onap.jacoco.aggregateFile</name>
1279 </property>
1280 </activation>
1281 <build>
1282 <plugins>
1283 <plugin>
1284 <groupId>org.jacoco</groupId>
1285 <artifactId>jacoco-maven-plugin</artifactId>
1286 <executions>
1287 <execution>
1288 <id>merge</id>
1289 <goals>
1290 <goal>merge</goal>
1291 </goals>
1292 <phase>generate-resources</phase>
1293 <configuration>
1294 <destFile>${onap.jacoco.aggregateFile}</destFile>
1295 <fileSets>
1296 <fileSet>
1297 <directory>${project.basedir}</directory>
1298 <includes>
1299 <include>**/target/code-coverage/*.exec</include>
1300 </includes>
1301 </fileSet>
1302 </fileSets>
1303 </configuration>
1304 </execution>
1305 </executions>
1306 </plugin>
1307 </plugins>
1308 </build>
1309 </profile>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001310 <!-- End of profiles from ONAP oparent -->
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -04001311
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001312 <profile>
1313 <id>yang-compile</id>
1314 <activation>
1315 <file>
1316 <exists>src/main/yang</exists>
1317 </file>
1318 </activation>
1319 <build>
1320 <plugins>
1321 <plugin>
1322 <groupId>org.opendaylight.yangtools</groupId>
1323 <artifactId>yang-maven-plugin</artifactId>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001324 <version>5.0.5</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001325 <dependencies>
1326 <dependency>
1327 <groupId>org.opendaylight.mdsal</groupId>
1328 <artifactId>maven-sal-api-gen-plugin</artifactId>
1329 <version>${odl.mdsal.model.version}</version>
1330 <type>jar</type>
Michael Dürre2c39a4d2020-07-06 06:22:15 +02001331 <scope>compile</scope>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001332 </dependency>
1333 <dependency>
1334 <groupId>org.opendaylight.netconf</groupId>
1335 <artifactId>sal-rest-docgen-maven</artifactId>
1336 <version>${odl.netconf.sal.rest.docgen.version}</version>
1337 <type>jar</type>
1338 </dependency>
1339 </dependencies>
1340 <executions>
1341 <execution>
Singal, Kapil (ks220y)704554f2020-01-20 15:12:43 -05001342 <id>binding</id>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001343 <goals>
1344 <goal>generate-sources</goal>
1345 </goals>
1346 <configuration>
1347 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
1348 <codeGenerators>
1349 <generator>
1350 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
1351 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
1352 </generator>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001353 <!--
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001354 <generator>
1355 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
1356 <outputBaseDir>target/swagger</outputBaseDir>
1357 </generator>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001358 -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001359 </codeGenerators>
1360 <inspectDependencies>true</inspectDependencies>
1361 </configuration>
1362 </execution>
1363 </executions>
1364 </plugin>
1365 </plugins>
1366 </build>
1367 </profile>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001368 </profiles>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001369</project>