blob: 1e5218b8cbb1873db13ea9050ae2885561b0d645 [file] [log] [blame]
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -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)e7a2e742019-12-05 12:31:32 -05003 <modelVersion>4.0.0</modelVersion>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04004
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -05008 <parent>
9 <groupId>${odlparent.groupId}</groupId>
10 <artifactId>${odlparent.artifactId}</artifactId>
11 <version>${odlparent.version}</version>
12 <relativePath/>
13 </parent>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -050014
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -050015 <groupId>org.onap.ccsdk.parent</groupId>
16 <artifactId>${odlparent.artifactId}</artifactId>
17 <version>${project.version}</version>
18 <packaging>pom</packaging>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -050019
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -050026
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -050039 </snapshotRepository>
40 </distributionManagement>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -050041
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -050055 <!-- properties from oparent -->
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -050056 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
57 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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 -->
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -050066
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -050078
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -050082
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -050093 <checkstyle.skip>true</checkstyle.skip>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +010094 <odlparent.spotbugs.enforce>false</odlparent.spotbugs.enforce>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -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>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -050098
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -050099 <!-- CCSDK component versions -->
Dan Timoney22cdfa52021-09-27 12:24:00 -0400100 <ccsdk.cds.version>(1.2.99999, 1.3.99999)</ccsdk.cds.version>
101 <ccsdk.features.version>(1.2.99999, 1.3.99999)</ccsdk.features.version>
102 <ccsdk.distribution.version>(1.2.99999, 1.3.99999)</ccsdk.distribution.version>
103 <ccsdk.sli.version>(1.3.99999, 1.4.99999)</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>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500112
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500113 <!-- Support libraries used by OpenDaylight -->
Michael DÜrreb91d7912021-07-07 07:28:02 +0200114 <odl.controller.mdsal.version>1.13.2</odl.controller.mdsal.version>
115 <odl.mdsal.version>7.0.7</odl.mdsal.version>
116 <odl.mdsal.model.version>7.0.7</odl.mdsal.model.version>
117 <odl.netconf.restconf.version>1.13.2</odl.netconf.restconf.version>
118 <odl.netconf.netconf.version>1.13.2</odl.netconf.netconf.version>
119 <odl.netconf.sal.rest.docgen.version>1.13.2</odl.netconf.sal.rest.docgen.version>
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400120
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -0500123 <!-- Used by netconf, ovsdb -->
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -0400124 <commons.lang3.version>3.11</commons.lang3.version>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -0500140 <!-- Used by snmp4sdn, yangtools -->
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100141 <javassist.version>3.27.0-GA</javassist.version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -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)e7a2e742019-12-05 12:31:32 -0500146 <!-- Used by sfc -->
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100147 <jersey.client.version>2.27</jersey.client.version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500148
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500153
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500154 <!-- Used everywhere -->
Dan Timoneyd9c8dcb2021-08-23 11:36:27 -0400155 <junit.version>4.13.2</junit.version>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -0500160 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
Michael DÜrreb91d7912021-07-07 07:28:02 +0200161 <netty.version>4.1.63.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>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500166
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500170
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500171 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500172
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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 Timoneyf11f8082021-07-15 12:38:19 -0400179 <mariadb.connector.version>2.7.3</mariadb.connector.version>
Timoney, Dan (dt5972)48f55772019-12-17 10:44:04 -0500180 <mariadb4j.version>2.4.0</mariadb4j.version>
181 <testng.version>6.14.3</testng.version>
Dan Timoneybc67c402021-08-05 10:46:18 -0400182 <tomcat-jdbc.version>9.0.52</tomcat-jdbc.version>
Michael DÜrreb91d7912021-07-07 07:28:02 +0200183 <jetty.version>9.4.38.v20210224</jetty.version>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -0500186 </properties>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -0500187
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500188 <dependencyManagement>
189 <dependencies>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -0500193 <dependency>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100194 <groupId>${project.groupId}</groupId>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500195 <artifactId>dependencies-odl-bom</artifactId>
Singal, Kapil (ks220y)17d2d572019-12-05 14:12:45 -0500196 <version>${project.version}</version>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500197 <type>pom</type>
198 <scope>import</scope>
199 </dependency>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500200 <dependency>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100201 <groupId>${project.groupId}</groupId>
202 <artifactId>dependencies-bom</artifactId>
203 <version>${project.version}</version>
204 <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)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -0500230 </dependencies>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500231 </dependencyManagement>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400232
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -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)e7a2e742019-12-05 12:31:32 -0500297 <releases>
298 <enabled>false</enabled>
299 </releases>
300 <snapshots>
301 <enabled>true</enabled>
302 </snapshots>
303 </repository>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500304 </repositories>
Singal, Kapil (ks220y)9714cfc2021-05-17 13:23:11 -0400305
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500306 <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)e7a2e742019-12-05 12:31:32 -0500366 <pluginRepository>
367 <id>Restlet</id>
368 <name>Restlet Repository</name>
369 <url>http://maven.restlet.com</url>
370 </pluginRepository>
371 </pluginRepositories>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400372
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500373 <build>
374 <pluginManagement>
375 <plugins>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500376 <!-- Plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500377 <plugin>
378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-deploy-plugin</artifactId>
380 <!-- This version supports the "deployAtEnd" parameter -->
381 <version>2.8</version>
382 <configuration>
383 <skip/>
Singal, Kapil (ks220y)6fa7fc92021-02-01 16:11:38 -0500384 <deployAtEnd>true</deployAtEnd>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500385 </configuration>
386 </plugin>
387 <plugin>
388 <groupId>org.apache.maven.plugins</groupId>
389 <artifactId>maven-site-plugin</artifactId>
390 <version>3.6</version>
391 <dependencies>
392 <dependency>
393 <groupId>org.apache.maven.wagon</groupId>
394 <artifactId>wagon-webdav-jackrabbit</artifactId>
395 <version>2.10</version>
396 </dependency>
397 </dependencies>
398 </plugin>
399 <plugin>
400 <groupId>org.apache.maven.plugins</groupId>
401 <artifactId>maven-enforcer-plugin</artifactId>
402 <version>3.0.0-M2</version>
403 <executions>
404 <execution>
405 <id>enforce-property</id>
406 <goals>
407 <goal>enforce</goal>
408 </goals>
409 <configuration>
410 <rules>
411 <requireProperty>
412 <property>onap.nexus.url</property>
413 <message>You must set a onap.nexus.url property in your
414 ~/.m2/settings.xml. See oparent/settings.xml for an example.
415 </message>
416 </requireProperty>
417 </rules>
418 <fail>true</fail>
419 </configuration>
420 </execution>
421 <execution>
422 <id>enforce-no-snapshots</id>
423 <goals>
424 <goal>enforce</goal>
425 </goals>
426 <configuration>
427 <rules>
428 <requireReleaseDeps>
429 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
430 <onlyWhenRelease>true</onlyWhenRelease>
431 <level>WARN</level>
432 </requireReleaseDeps>
433 </rules>
434 </configuration>
435 </execution>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200436 <execution>
437 <id>enforce-maven</id>
438 <goals>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100439 <goal>enforce</goal>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200440 </goals>
441 <configuration>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100442 <rules>
443 <requireJavaVersion>
444 <version>8</version>
445 </requireJavaVersion>
446 <requireMavenVersion>
447 <version>[3.5.0,)</version>
448 </requireMavenVersion>
449 </rules>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200450 </configuration>
451 </execution>
452 <execution>
453 <id>enforce-banned-dependencies</id>
454 <goals>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100455 <goal>enforce</goal>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200456 </goals>
457 <configuration>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100458 <rules>
459 <bannedDependencies>
460 <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>
461 <excludes>
462 <exclude>org.mockito:mockito-all</exclude>
Singal, Kapil (ks220y)b473d3c2021-06-07 19:47:37 -0400463 <!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100464 </excludes>
465 </bannedDependencies>
466 </rules>
467 <fail>true</fail>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200468 </configuration>
469 </execution>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500470 </executions>
471 </plugin>
472 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
473 <plugin>
474 <groupId>org.sonarsource.scanner.maven</groupId>
475 <artifactId>sonar-maven-plugin</artifactId>
Dan Timoney621888e2020-01-17 09:54:02 -0500476 <version>${sonar.scanner.version}</version>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500477 </plugin>
478 <!-- end of plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500479 <!-- Plugins from ONAP oparent -->
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500480 <plugin>
481 <groupId>org.apache.maven.plugins</groupId>
482 <artifactId>maven-surefire-plugin</artifactId>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100483 <version>${maven-surefire-plugin.version}</version>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500484 <configuration>
485 <!-- Sets the VM argument line used when unit tests are run. -->
486 <argLine>\${surefireArgLine}</argLine>
487 <!-- Excludes integration tests when unit tests are run. -->
488 <excludes>
489 <exclude>**/IT*.java</exclude>
490 </excludes>
491 </configuration>
492 </plugin>
493 <plugin>
494 <groupId>org.apache.maven.plugins</groupId>
495 <artifactId>maven-failsafe-plugin</artifactId>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100496 <version>${maven-failsafe-plugin.version}</version>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500497 <executions>
498 <!-- Ensures that both integration-test and verify goals of the Failsafe
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400499 Maven plugin are executed. -->
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500500 <execution>
501 <id>integration-tests</id>
502 <goals>
503 <goal>integration-test</goal>
504 <goal>verify</goal>
505 </goals>
506 <configuration>
507 <!-- Sets the VM argument line used when integration tests are run. -->
508 <argLine>\${failsafeArgLine}</argLine>
509 </configuration>
510 </execution>
511 </executions>
512 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400513
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500514 <!-- End of plugins from ONAP oparent -->
515 <plugin>
516 <groupId>org.codehaus.mojo</groupId>
517 <artifactId>properties-maven-plugin</artifactId>
518 <version>1.0.0</version>
519 <executions>
520 <execution>
521 <goals>
522 <goal>set-system-properties</goal>
523 </goals>
524 <configuration>
525 <properties>
526 <property>
527 <name>maven.wagon.http.ssl.allowall</name>
528 <value>\${ssl.allowall}</value>
529 </property>
530 <property>
531 <name>maven.wagon.http.ssl.insecure</name>
532 <value>\${ssl.insecure}</value>
533 </property>
534 </properties>
535 </configuration>
536 </execution>
537 </executions>
538 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400539
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500540 <plugin>
541 <groupId>org.codehaus.mojo</groupId>
542 <artifactId>versions-maven-plugin</artifactId>
543 <version>2.5</version>
544 <configuration>
545 <processAllModules>true</processAllModules>
546 </configuration>
547 </plugin>
548 <plugin>
549 <artifactId>maven-scm-plugin</artifactId>
550 <version>1.8.1</version>
551 <configuration>
552 <tag>\${project.artifactId}-\${project.version}</tag>
553 </configuration>
554 </plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500555 <plugin>
556 <groupId>com.github.ferstl</groupId>
557 <artifactId>depgraph-maven-plugin</artifactId>
558 <version>3.3.0</version>
559 <configuration>
560 <graphFormat>text</graphFormat>
561 <outputFileName>\${dependency-list.file}</outputFileName>
562 <outputDirectory>\${project.basedir}</outputDirectory>
563 <transitiveExcludes>*</transitiveExcludes>
564 <showVersions>true</showVersions>
Timoney, Dan (dt5972)cc0c96a2019-12-11 10:04:52 -0500565 <showGroupIds>true</showGroupIds>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500566 </configuration>
567 </plugin>
Michael Dürre66430cc2020-08-24 14:39:08 +0200568 <plugin>
569 <groupId>de.jacks-it-lab</groupId>
570 <artifactId>frontend-maven-plugin</artifactId>
571 <version>1.7.2</version>
572 </plugin>
573 <plugin>
574 <groupId>com.github.alexcojocaru</groupId>
575 <artifactId>elasticsearch-maven-plugin</artifactId>
576 <version>6.16</version>
577 <configuration>
578 <version>7.1.1</version>
579 </configuration>
580 </plugin>
Dan Timoneye816a592020-09-03 08:56:01 -0400581 <plugin>
582 <groupId>org.apache.maven.plugins</groupId>
583 <artifactId>maven-javadoc-plugin</artifactId>
584 <version>3.2.0</version>
585 <configuration>
586 <failOnError>false</failOnError>
587 </configuration>
588 </plugin>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100589 <plugin>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100590 <groupId>com.github.spotbugs</groupId>
591 <artifactId>spotbugs-maven-plugin</artifactId>
592 <version>3.1.12.2</version>
593 <executions>
594 <execution>
595 <id>analyze-compile</id>
596 <phase>compile</phase>
597 <goals>
598 <goal>check</goal>
599 </goals>
600 <configuration>
601 <plugins>
602 <plugin>
603 <groupId>jp.skypencil.findbugs.slf4j</groupId>
604 <artifactId>bug-pattern</artifactId>
605 <version>1.5.0</version>
606 </plugin>
607 </plugins>
608 <effort>Max</effort>
609 <threshold>Low</threshold>
610 <failOnError>false</failOnError>
611 <skip>true</skip>
612 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
613 <xmlOutput>true</xmlOutput>
614 <findbugsXmlOutputDirectory>/home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs</findbugsXmlOutputDirectory>
615 </configuration>
616 </execution>
617 </executions>
618 <dependencies>
619 <dependency>
620 <groupId>com.github.spotbugs</groupId>
621 <artifactId>spotbugs</artifactId>
622 <version>3.1.12</version>
623 <scope>compile</scope>
624 </dependency>
625 <dependency>
626 <groupId>org.opendaylight.odlparent</groupId>
627 <artifactId>spotbugs</artifactId>
628 <version>7.0.5</version>
629 <scope>compile</scope>
630 </dependency>
631 <dependency>
632 <groupId>org.slf4j</groupId>
633 <artifactId>slf4j-simple</artifactId>
634 <version>1.8.0-beta2</version>
635 <scope>compile</scope>
636 </dependency>
637 </dependencies>
638 <configuration>
639 <plugins>
640 <plugin>
641 <groupId>jp.skypencil.findbugs.slf4j</groupId>
642 <artifactId>bug-pattern</artifactId>
643 <version>1.5.0</version>
644 </plugin>
645 </plugins>
646 <effort>Max</effort>
647 <threshold>Low</threshold>
648 <failOnError>false</failOnError>
649 <skip>true</skip>
650 <excludeFilterFile>spotbugs-exclude.xml</excludeFilterFile>
651 <xmlOutput>true</xmlOutput>
652 <findbugsXmlOutputDirectory>/home/jack/onap/onap-sdnr/features/sdnr/wt-aluminium-sr0-2/target/wt/common/target-ide/spotbugs</findbugsXmlOutputDirectory>
653 </configuration>
654 </plugin>
655 <plugin>
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -0400656 <groupId>org.apache.maven.plugins</groupId>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100657 <artifactId>maven-checkstyle-plugin</artifactId>
658 <version>${checkstyle.plugin.version}</version>
659 <dependencies>
660 <dependency>
661 <groupId>org.onap.oparent</groupId>
662 <artifactId>checkstyle</artifactId>
663 <version>1.2.2</version>
664 </dependency>
665 </dependencies>
666 <executions>
667 <execution>
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -0400668 <phase>process-sources</phase>
669 <goals>
670 <goal>check</goal>
671 </goals>
672 <configuration>
673 <failOnViolation>false</failOnViolation>
674 <skip>true</skip>
675 </configuration>
676 </execution>
677 <execution>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100678 <id>check-license</id>
679 <goals>
680 <goal>check</goal>
681 </goals>
682 <phase>process-sources</phase>
683 <configuration>
684 <configLocation>onap-checkstyle/check-license.xml</configLocation>
685 <includeResources>false</includeResources>
686 <includeTestSourceDirectory>true</includeTestSourceDirectory>
687 <includeTestResources>false</includeTestResources>
688 <sourceDirectories>
689 <directory>\${project.build.sourceDirectory}</directory>
690 </sourceDirectories>
691 <excludes>
692 </excludes>
693 <consoleOutput>true</consoleOutput>
694 <failOnViolation>false</failOnViolation>
695 </configuration>
696 </execution>
697 <execution>
698 <id>onap-java-style</id>
699 <goals>
700 <goal>check</goal>
701 </goals>
702 <phase>process-sources</phase>
703 <configuration>
704 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
705 with minor changes -->
706 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
707 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
708 <sourceDirectories>
709 <directory>\${project.build.sourceDirectory}/src/main/java</directory>
710 </sourceDirectories>
711 <includeResources>true</includeResources>
712 <includeTestSourceDirectory>true</includeTestSourceDirectory>
713 <includeTestResources>true</includeTestResources>
714 <excludes>
715 </excludes>
716 <consoleOutput>true</consoleOutput>
717 <failOnViolation>false</failOnViolation>
718 </configuration>
719 </execution>
720 </executions>
721 </plugin>
Michael DÜrre67cb8d52021-04-12 13:11:00 +0200722 <plugin>
723 <groupId>org.gaul</groupId>
724 <artifactId>modernizer-maven-plugin</artifactId>
725 <version>2.1.0</version>
726 <executions>
727 <execution>
728 <id>modernizer</id>
729 <phase>verify</phase>
730 <goals>
731 <goal>modernizer</goal>
732 </goals>
733 <configuration>
734 <failOnViolations>false</failOnViolations>
735 <skip>true</skip>
736 </configuration>
737 </execution>
738 </executions>
739 <configuration>
740 <failOnViolations>false</failOnViolations>
741 <skip>true</skip>
742 </configuration>
743 </plugin>
Dan Timoney22cdfa52021-09-27 12:24:00 -0400744 <!--
745 <plugin>
746 <groupId>org.apache.karaf.tooling</groupId>
747 <artifactId>karaf-maven-plugin</artifactId>
748 <configuration>
749 <useVersionRange>true</useVersionRange>
750 <includeTransitiveVersionRanges>true</includeTransitiveVersionRanges>
751 </configuration>
752 </plugin>
753 -->
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500754 </plugins>
755 </pluginManagement>
756 <plugins>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500757 <!-- Plugins from oparent version (parent of oparent) -->
758 <plugin>
759 <groupId>org.apache.maven.plugins</groupId>
760 <artifactId>maven-deploy-plugin</artifactId>
761 </plugin>
762 <plugin>
763 <groupId>org.apache.maven.plugins</groupId>
764 <artifactId>maven-site-plugin</artifactId>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100765 <!--
766 <configuration>
767 <reportPlugins>
768 <reportPlugin>
769 <groupId>org.apache.maven.plugins</groupId>
770 <artifactId>maven-checkstyle-plugin</artifactId>
771 <version>${checkstyle.plugin.version}</version>
772 </reportPlugin>
773 </reportPlugins>
774 </configuration>
775 -->
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500776 </plugin>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500777 <!-- end of plugins from oparent version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400778
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500779 <!-- Plugins from oparent -->
780 <plugin>
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -0400781 <groupId>org.apache.maven.plugins</groupId>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500782 <artifactId>maven-checkstyle-plugin</artifactId>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500783 </plugin>
784 <plugin>
785 <groupId>org.codehaus.mojo</groupId>
786 <artifactId>build-helper-maven-plugin</artifactId>
787 <version>1.12</version>
788 </plugin>
789 <!-- Jacoco / Sonar -->
790 <plugin>
791 <groupId>org.jacoco</groupId>
792 <artifactId>jacoco-maven-plugin</artifactId>
Dan Timoney621888e2020-01-17 09:54:02 -0500793 <version>\${jacoco.version}</version>
794 <executions>
795 <execution>
796 <id>pre-unit-test</id>
797 <goals>
798 <goal>prepare-agent</goal>
799 </goals>
800 <configuration>
801 <!-- Sets the path to the file which contains the execution data. -->
802 <destFile>\${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500803 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500804 <propertyName>surefireArgLine</propertyName>
805 </configuration>
806 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500807 <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500808 <execution>
809 <id>post-unit-test</id>
810 <phase>test</phase>
811 <goals>
812 <goal>report</goal>
813 </goals>
814 <configuration>
815 <!-- Sets the path to the file which contains the execution data. -->
816 <dataFile>\${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
817 <!-- Sets the output directory for the code coverage report. -->
818 <outputDirectory>\${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
819 </configuration>
820 </execution>
821 <execution>
822 <id>pre-integration-test</id>
823 <phase>pre-integration-test</phase>
824 <goals>
825 <goal>prepare-agent</goal>
826 </goals>
827 <configuration>
828 <!-- Sets the path to the file which contains the execution data. -->
829 <destFile>\${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500830 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500831 <propertyName>failsafeArgLine</propertyName>
832 </configuration>
833 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500834 <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500835 <execution>
836 <id>post-integration-test</id>
837 <phase>post-integration-test</phase>
838 <goals>
839 <goal>report</goal>
840 </goals>
841 <configuration>
842 <!-- Sets the path to the file which contains the execution data. -->
843 <dataFile>\${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
844 <!-- Sets the output directory for the code coverage report. -->
845 <outputDirectory>\${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
846 </configuration>
847 </execution>
848 <execution>
849 <id>default-prepare-agent</id>
850 <goals>
851 <goal>prepare-agent</goal>
852 </goals>
853 </execution>
854 <execution>
855 <id>default-report</id>
856 <phase>prepare-package</phase>
857 <goals>
858 <goal>report</goal>
859 </goals>
860 </execution>
861 <execution>
862 <id>default-check</id>
863 <goals>
864 <goal>check</goal>
865 </goals>
866 <configuration>
867 <rules>
868 <rule>
869 <element>PACKAGE</element>
870 <limits>
871 <limit>
872 <counter>COMPLEXITY</counter>
873 <value>COVEREDRATIO</value>
874 <minimum>0.0</minimum>
875 </limit>
876 </limits>
877 </rule>
878 </rules>
879 </configuration>
880 </execution>
881 </executions>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500882 </plugin>
883 <plugin>
884 <groupId>org.apache.maven.plugins</groupId>
885 <artifactId>maven-surefire-plugin</artifactId>
886 </plugin>
887 <plugin>
888 <groupId>org.apache.maven.plugins</groupId>
889 <artifactId>maven-failsafe-plugin</artifactId>
890 </plugin>
891 <!-- end of plugins from oparent -->
892 <plugin>
893 <groupId>org.apache.maven.plugins</groupId>
894 <artifactId>maven-javadoc-plugin</artifactId>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500895 <executions>
896 <execution>
897 <id>attach-javadocs</id>
898 <goals>
899 <goal>jar</goal>
900 </goals>
901 <configuration>
902 <additionalparam>-Xdoclint:none</additionalparam>
903 </configuration>
904 </execution>
905 </executions>
906 </plugin>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200907 <plugin>
908 <artifactId>maven-enforcer-plugin</artifactId>
909 <version>3.0.0-M2</version>
910 <executions>
911 <execution>
912 <id>enforce-property</id>
913 <goals>
914 <goal>enforce</goal>
915 </goals>
916 <configuration>
917 <rules>
918 <requireProperty>
919 <property>onap.nexus.url</property>
920 <message>You must set a onap.nexus.url property in your
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +0100921 ~/.m2/settings.xml. See oparent/settings.xml for an example.
922 </message>
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200923 </requireProperty>
924 </rules>
925 <fail>true</fail>
926 </configuration>
927 </execution>
928 <execution>
929 <id>enforce-no-snapshots</id>
930 <goals>
931 <goal>enforce</goal>
932 </goals>
933 <configuration>
934 <rules>
935 <requireReleaseDeps>
936 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
937 <onlyWhenRelease>true</onlyWhenRelease>
938 <level>WARN</level>
939 </requireReleaseDeps>
940 </rules>
941 </configuration>
942 </execution>
943 <execution>
944 <id>enforce-maven</id>
945 <goals>
946 <goal>enforce</goal>
947 </goals>
948 <configuration>
949 <rules>
950 <requireJavaVersion>
951 <version>1.8.0</version>
952 </requireJavaVersion>
953 <requireMavenVersion>
954 <version>[3.5.0,)</version>
955 </requireMavenVersion>
956 </rules>
957 </configuration>
958 </execution>
959 <execution>
960 <id>enforce-banned-dependencies</id>
961 <goals>
962 <goal>enforce</goal>
963 </goals>
964 <configuration>
965 <rules>
966 <bannedDependencies>
967 <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>
968 <excludes>
969 <exclude>org.mockito:mockito-all</exclude>
Singal, Kapil (ks220y)da2d9762020-09-04 10:34:58 -0400970 <!-- <exclude>com.google.code.findbugs:annotations</exclude> -->
Michael Dürre2c39a4d2020-07-06 06:22:15 +0200971 </excludes>
972 </bannedDependencies>
973 </rules>
974 <fail>true</fail>
975 </configuration>
976 </execution>
977 </executions>
978 </plugin>
Singal, Kapil (ks220y)da2d9762020-09-04 10:34:58 -0400979 <plugin>
980 <groupId>pl.project13.maven</groupId>
981 <artifactId>git-commit-id-plugin</artifactId>
982 <version>4.0.0</version>
983 <configuration>
984 <commitIdGenerationMode>full</commitIdGenerationMode>
985 <includeOnlyProperties>
986 <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
987 <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
988 </includeOnlyProperties>
989 </configuration>
990 </plugin>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500991 </plugins>
992 </build>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400993
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500994 <reporting>
995 <plugins>
996 <plugin>
997 <artifactId>maven-javadoc-plugin</artifactId>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -0500998 <configuration>
999 <failOnError>false</failOnError>
1000 <additionalparam>-Xdoclint:none</additionalparam>
1001 </configuration>
1002 </plugin>
1003 </plugins>
1004 </reporting>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001005
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -05001006 <profiles>
1007 <!-- Profiles from ONAP oparent -->
1008 <profile>
1009 <id>generate-json</id>
1010 <activation>
1011 <file>
1012 <exists>\${swagger-properties}</exists>
1013 </file>
1014 <property>
1015 <name>swagger-sdk.generate-json</name>
1016 </property>
1017 </activation>
1018 <build>
1019 <plugins>
1020 <plugin>
1021 <groupId>org.codehaus.mojo</groupId>
1022 <artifactId>properties-maven-plugin</artifactId>
1023 <version>1.0.0</version>
1024 <executions>
1025 <execution>
1026 <phase>initialize</phase>
1027 <goals>
1028 <goal>read-project-properties</goal>
1029 </goals>
1030 <configuration>
1031 <files>
1032 <file>\${basedir}/src/main/resources/swagger.properties</file>
1033 </files>
1034 </configuration>
1035 </execution>
1036 </executions>
1037 </plugin>
1038 <plugin>
1039 <groupId>com.github.kongchen</groupId>
1040 <artifactId>swagger-maven-plugin</artifactId>
1041 <version>3.1.4</version>
1042 <configuration>
1043 <apiSources>
1044 <apiSource>
1045 <locations>\${api-rest-package}</locations>
1046 <schemes>http,https</schemes>
1047 <host>\${api-host-ip}:\${api-host-port}</host>
1048 <basePath>\${api-base-path}</basePath>
1049 <info>
1050 <title>\${api-title}</title>
1051 <version>\${api-version}</version>
1052 <description>\${api-description}</description>
1053 <license>
1054 <name>\${api-license}</name>
1055 </license>
1056 </info>
1057 <swaggerDirectory>\${basedir}/src/main/resources</swaggerDirectory>
1058 </apiSource>
1059 </apiSources>
1060 </configuration>
1061 <executions>
1062 <execution>
1063 <phase>compile</phase>
1064 <goals>
1065 <goal>generate</goal>
1066 </goals>
1067 </execution>
1068 </executions>
1069 </plugin>
1070 <plugin>
1071 <groupId>org.apache.maven.plugins</groupId>
1072 <artifactId>maven-install-plugin</artifactId>
1073 <version>2.3.1</version>
1074 <executions>
1075 <execution>
1076 <id>install-file-id</id>
1077 <phase>install</phase>
1078 <goals>
1079 <goal>install-file</goal>
1080 </goals>
1081 <configuration>
1082 <file>\${basedir}/src/main/resources/swagger.json</file>
1083 <groupId>\${project.groupId}</groupId>
1084 <artifactId>\${project.artifactId}-swagger-schema</artifactId>
1085 <version>\${project.version}</version>
1086 <packaging>json</packaging>
1087 </configuration>
1088 </execution>
1089 </executions>
1090 </plugin>
1091 </plugins>
1092 </build>
1093 </profile>
1094 <profile>
1095 <id>generate-sdk</id>
1096 <activation>
1097 <file>
1098 <exists>\${swagger-json}</exists>
1099 </file>
1100 <property>
1101 <name>swagger-sdk.generate-java-sdk</name>
1102 </property>
1103 </activation>
1104 <build>
1105 <plugins>
1106 <plugin>
1107 <groupId>org.apache.maven.plugins</groupId>
1108 <artifactId>maven-antrun-plugin</artifactId>
1109 <version>1.8</version>
1110 <executions>
1111 <execution>
1112 <phase>initialize</phase>
1113 <id>ant-create-script</id>
1114 <configuration>
1115 <exportAntProperties>true</exportAntProperties>
1116 <tasks>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001117 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -05001118 <condition property="is_windows" value="true">
1119 <os family="windows"/>
1120 </condition>
1121 <condition property="isLinux" value="true">
1122 <os family="unix"/>
1123 </condition>
1124 <if>
1125 <equals arg1="\${is_windows}" arg2="true"/>
1126 <then>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001127 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
1128 <echo file="\${project.build.directory}\${file.separator}generated-source-script.bat" append="true"
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001129 message="cd \${project.build.directory}\${file.separator}generated-sources\${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001130 <echo file="\${project.build.directory}\${file.separator}generated-source-script.bat" append="true"
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001131 message="mvn clean install -Dmaven.test.skip=true\${line.separator}"/>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -05001132 </then>
1133 <else>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001134 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
1135 <echo file="\${project.build.directory}\${file.separator}generated-source-script.sh" append="true"
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001136 message="cd \${project.build.directory}\${file.separator}generated-sources\${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001137 <echo file="\${project.build.directory}\${file.separator}generated-source-script.sh" append="true"
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001138 message="mvn clean install -Dmaven.test.skip=true\${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001139 <chmod file="\${project.build.directory}\${file.separator}generated-source-script.sh" perm="755"/>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -05001140 </else>
1141 </if>
1142 </tasks>
1143 </configuration>
1144 <goals>
1145 <goal>run</goal>
1146 </goals>
1147 </execution>
1148 </executions>
1149 <dependencies>
1150 <dependency>
1151 <groupId>ant-contrib</groupId>
1152 <artifactId>ant-contrib</artifactId>
1153 <version>1.0b3</version>
1154 <exclusions>
1155 <exclusion>
1156 <groupId>ant</groupId>
1157 <artifactId>ant</artifactId>
1158 </exclusion>
1159 </exclusions>
1160 </dependency>
1161 </dependencies>
1162 </plugin>
1163 <plugin>
1164 <groupId>io.swagger</groupId>
1165 <artifactId>swagger-codegen-maven-plugin</artifactId>
1166 <version>2.2.1</version>
1167 <executions>
1168 <execution>
1169 <goals>
1170 <goal>generate</goal>
1171 </goals>
1172 <configuration>
1173 <inputSpec>\${basedir}/src/main/resources/swagger.json</inputSpec>
1174 <output>\${project.build.directory}/generated-sources</output>
1175 <language>java</language>
1176 <configOptions>
1177 <dateLibrary>joda</dateLibrary>
1178 </configOptions>
1179 <library>jersey2</library>
1180 <groupId>\${project.groupId}</groupId>
1181 <artifactId>\${project.artifactId}-java-sdk</artifactId>
1182 <artifactVersion>\${project.version}</artifactVersion>
1183 <modelPackage>\${project.groupId}.\${project.artifactId}.client.model</modelPackage>
1184 <apiPackage>\${project.groupId}.\${project.artifactId}.client.api</apiPackage>
1185 <invokerPackage>\${project.groupId}.\${project.artifactId}.client.invoker</invokerPackage>
1186 </configuration>
1187 </execution>
1188 </executions>
1189 </plugin>
1190 <plugin>
1191 <groupId>org.codehaus.mojo</groupId>
1192 <artifactId>exec-maven-plugin</artifactId>
1193 <version>1.5.0</version>
1194 <executions>
1195 <execution>
1196 <id>swagger-generate-sources</id>
1197 <phase>generate-sources</phase>
1198 <goals>
1199 <goal>exec</goal>
1200 </goals>
1201 <configuration>
1202 <executable>\${project.build.directory}\${file.separator}\${swagger.sdk.script.file}</executable>
1203 </configuration>
1204 </execution>
1205 </executions>
1206 </plugin>
1207 <plugin>
1208 <groupId>org.apache.maven.plugins</groupId>
1209 <artifactId>maven-clean-plugin</artifactId>
1210 <version>3.0.0</version>
1211 <executions>
1212 <execution>
1213 <id>clean-generated-files</id>
1214 <phase>generate-sources</phase>
1215 <goals>
1216 <goal>clean</goal>
1217 </goals>
1218 <configuration>
1219 <filesets>
1220 <fileset>
1221 <directory>\${project.build.directory}/generated-sources</directory>
1222 </fileset>
1223 </filesets>
1224 </configuration>
1225 </execution>
1226 </executions>
1227 </plugin>
1228 </plugins>
1229 </build>
1230 <dependencies>
1231 <dependency>
1232 <groupId>org.onap.msb.swagger-sdk</groupId>
1233 <artifactId>swagger-sdk</artifactId>
1234 <version>1.0.0</version>
1235 </dependency>
1236 </dependencies>
1237 </profile>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -05001238 <profile>
1239 <id>sonar-jacoco-aggregate</id>
1240 <activation>
1241 <property>
1242 <name>onap.jacoco.aggregateFile</name>
1243 </property>
1244 </activation>
1245 <build>
1246 <plugins>
1247 <plugin>
1248 <groupId>org.jacoco</groupId>
1249 <artifactId>jacoco-maven-plugin</artifactId>
1250 <executions>
1251 <execution>
1252 <id>merge</id>
1253 <goals>
1254 <goal>merge</goal>
1255 </goals>
1256 <phase>generate-resources</phase>
1257 <configuration>
1258 <destFile>${onap.jacoco.aggregateFile}</destFile>
1259 <fileSets>
1260 <fileSet>
1261 <directory>\${project.basedir}</directory>
1262 <includes>
1263 <include>**/target/code-coverage/*.exec</include>
1264 </includes>
1265 </fileSet>
1266 </fileSets>
1267 </configuration>
1268 </execution>
1269 </executions>
1270 </plugin>
1271 </plugins>
1272 </build>
1273 </profile>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -05001274 <!-- End of profiles from ONAP oparent -->
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -04001275
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -05001276 <profile>
1277 <id>yang-compile</id>
1278 <activation>
1279 <file>
1280 <exists>src/main/yang</exists>
1281 </file>
1282 </activation>
1283 <build>
1284 <plugins>
1285 <plugin>
1286 <groupId>org.opendaylight.yangtools</groupId>
1287 <artifactId>yang-maven-plugin</artifactId>
Singal, Kapil (ks220y)7fb88322021-07-08 20:39:34 -04001288 <version>6.0.6</version>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -05001289 <dependencies>
1290 <dependency>
1291 <groupId>org.opendaylight.mdsal</groupId>
1292 <artifactId>maven-sal-api-gen-plugin</artifactId>
1293 <version>\${odl.mdsal.model.version}</version>
1294 <type>jar</type>
Michael Dürre2c39a4d2020-07-06 06:22:15 +02001295 <scope>compile</scope>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -05001296 </dependency>
1297 <dependency>
1298 <groupId>org.opendaylight.netconf</groupId>
1299 <artifactId>sal-rest-docgen-maven</artifactId>
1300 <version>\${odl.netconf.sal.rest.docgen.version}</version>
1301 <type>jar</type>
1302 </dependency>
1303 </dependencies>
1304 <executions>
1305 <execution>
Singal, Kapil (ks220y)704554f2020-01-20 15:12:43 -05001306 <id>binding</id>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -05001307 <goals>
1308 <goal>generate-sources</goal>
1309 </goals>
1310 <configuration>
1311 <yangFilesRootDir>\${yang.file.directory}</yangFilesRootDir>
1312 <codeGenerators>
1313 <generator>
1314 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
1315 <outputBaseDir>\${salGeneratorPath}</outputBaseDir>
1316 </generator>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001317 <!--
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -05001318 <generator>
1319 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
1320 <outputBaseDir>target/swagger</outputBaseDir>
1321 </generator>
Michael DÜrrec6bdd9a2020-12-01 13:34:56 +01001322 -->
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -05001323 </codeGenerators>
1324 <inspectDependencies>true</inspectDependencies>
1325 </configuration>
1326 </execution>
1327 </executions>
1328 </plugin>
1329 </plugins>
1330 </build>
1331 </profile>
Singal, Kapil (ks220y)e7a2e742019-12-05 12:31:32 -05001332 </profiles>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -05001333</project>