blob: bcb5b72833ca568041ea62d0895308724537b891 [file] [log] [blame]
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001<?xml version="1.0" encoding="UTF-8"?>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04002<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05003 <modelVersion>4.0.0</modelVersion>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04004
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05005 <!-- PLEASE READ !!!!! This file is generated from ccsdk/parent/setup/src/main/template/pom-template.xml
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04006 Any updates needed should be made to that template and not to the generated
7 pom.xml file -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05008 <parent>
9 <groupId>org.opendaylight.odlparent</groupId>
10 <artifactId>karaf4-parent</artifactId>
11 <version>4.0.10</version>
12 <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>karaf4-parent</artifactId>
Dan Timoney90e6d902020-05-28 15:38:05 -040017 <version>1.5.8-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 -->
56 <maven.compiler.source>1.8</maven.compiler.source>
57 <maven.compiler.target>1.8</maven.compiler.target>
58 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
59 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
60 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
61 <!-- sitePath may be overridden in the inheriting POM if desired -->
62 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
Singal, Kapil (ks220y)e14c10b2020-01-07 11:54:24 -050063
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050064 <!-- If following file exist, auto-generation of swagger.json will be done -->
65 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
66 <!-- If following file exist, auto-generation of sdk will be done -->
67 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
68 <!-- end of properties from oparent -->
Dan Timoney0f2db3f2018-01-25 16:23:27 -050069
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050070 <!-- ONAP repositories -->
71 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
72 <onap.nexus.port>443</onap.nexus.port>
73 <onap.nexus.protocol>https</onap.nexus.protocol>
74 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
75 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
76 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
77 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
78 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
79 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050080
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050081 <!-- OpenDaylight repositories -->
82 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
83 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050084
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050085 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
86 <java.version.source>1.8</java.version.source>
87 <java.version.target>1.8</java.version.target>
88 <bundle.plugin.version>2.5.0</bundle.plugin.version>
89 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
90 <features.file>features.xml</features.file>
91 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
92 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
93 <checkstyle.skip>true</checkstyle.skip>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050094
Smokowski, Kevin (ks6305)9548ff82020-02-06 18:33:18 +000095 <!-- logging-analytics versions -->
Singal, Kapil (ks220y)ffff34a2020-02-27 11:02:51 -050096 <logging-analytics.version>1.6.5</logging-analytics.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050097
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050098 <!-- CCSDK component versions -->
Dan Timoney90e6d902020-05-28 15:38:05 -040099 <ccsdk.cds.version>0.7.4-SNAPSHOT</ccsdk.cds.version>
100 <ccsdk.features.version>0.7.6-SNAPSHOT</ccsdk.features.version>
Dan Timoney91b71492020-05-14 13:53:13 -0400101 <ccsdk.sli.core.version>0.7.2</ccsdk.sli.core.version>
Dan Timoney90e6d902020-05-28 15:38:05 -0400102 <ccsdk.sli.adaptors.version>0.7.3</ccsdk.sli.adaptors.version>
103 <ccsdk.sli.northbound.version>0.7.4</ccsdk.sli.northbound.version>
Dan Timoney91b71492020-05-14 13:53:13 -0400104 <ccsdk.sli.plugins.version>0.7.2</ccsdk.sli.plugins.version>
Dan Timoney90e6d902020-05-28 15:38:05 -0400105 <ccsdk.distribution.version>0.7.4-SNAPSHOT</ccsdk.distribution.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500106 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
107 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
108 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
109 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
110 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500111
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500112 <!-- Support libraries used by OpenDaylight -->
113 <odl.controller.mdsal.version>1.9.1</odl.controller.mdsal.version>
114 <odl.mdsal.version>3.0.8</odl.mdsal.version>
115 <odl.mdsal.model.version>1.0.8</odl.mdsal.model.version>
116 <odl.netconf.restconf.version>1.9.1</odl.netconf.restconf.version>
117 <odl.netconf.netconf.version>1.6.1</odl.netconf.netconf.version>
118 <odl.netconf.sal.rest.docgen.version>1.9.1</odl.netconf.sal.rest.docgen.version>
Timoney, Dan (dt5972)cf7a3882019-09-25 08:56:47 -0400119
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500120 <!-- Used by aaa, vtn -->
121 <commons.codec.version>1.12</commons.codec.version>
122 <!-- Used by netconf, ovsdb -->
123 <commons.lang3.version>3.8.1</commons.lang3.version>
124 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
125 <commons.lang.version>2.6</commons.lang.version>
126 <!-- Used by neutron; see also controller, vtn -->
127 <commons.net.version>3.6</commons.net.version>
128 <!-- Used by neutron -->
129 <eclipse.persistence.version>2.7.3</eclipse.persistence.version>
130 <!-- Used by aaa -->
131 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
132 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
133 <gson.version>2.8.5</gson.version>
134 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
135 <guava.version>25.1-jre</guava.version>
136 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400137 integration/distribution, snmp4sdn, toolkit, ttp -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500138 <jackson.version>2.9.8</jackson.version>
139 <!-- Used by snmp4sdn, yangtools -->
140 <javassist.version>3.24.1-GA</javassist.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500141
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500142 <!-- FIXME remove all dependencies for jersey 1.17 after migration all projects -->
143 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all, snmp4sdn, toolkit -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500144 <jersey.version>2.25.1</jersey.version>
145 <!-- Used by sfc -->
146 <jersey.client.version>2.25.1</jersey.client.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500147
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500148 <!-- New packages for jersey migration 1.17 to 2.8 -->
149 <!-- appache.geronimo.bundle for DocGen -->
150 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
151 <org.json.version>20131018</org.json.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500152
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500153 <!-- Used everywhere -->
154 <junit.version>4.12</junit.version>
155 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
156 <logback.version>1.2.3</logback.version>
157 <!-- Used by nic, sfc, sxp, tsdr -->
158 <mockito.version>1.10.19</mockito.version>
159 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
160 <netty.version>4.1.34.Final</netty.version>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500161 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500162 <slf4j.version>1.7.25</slf4j.version>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500163 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, tsdr, ttp -->
Singal, Kapil (ks220y)b5adc452020-02-20 13:53:41 -0500164 <spring.version>4.3.25.RELEASE</spring.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500165
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500166 <!-- Extra support libraries used by SDN-C -->
167 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
168 <antlr.version>4.7.2</antlr.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500169
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500170 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
Timoney, Dan (dt5972)ebc00be2018-03-21 09:00:19 -0400171
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500172 <!-- Managed dependency versions -->
Timoney, Dan (dt5972)48f55772019-12-17 10:44:04 -0500173 <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version>
174 <apache.httpcomponents.client.version>4.5.10</apache.httpcomponents.client.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500175 <derby.version>10.14.2.0</derby.version>
176 <eelf.version>1.0.0</eelf.version>
Timoney, Dan (dt5972)48f55772019-12-17 10:44:04 -0500177 <grpc.version>1.21.1</grpc.version>
178 <mariadb.connector.version>2.4.4</mariadb.connector.version>
179 <mariadb4j.version>2.4.0</mariadb4j.version>
180 <testng.version>6.14.3</testng.version>
Rich Tabedzki1d8c3372020-03-11 11:06:57 -0400181 <tomcat-jdbc.version>9.0.30</tomcat-jdbc.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500182 <jetty.version>9.4.12.v20180830</jetty.version>
183 <skip.karaf.featureTest>true</skip.karaf.featureTest>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500184 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500185 </properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500186
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500187 <dependencyManagement>
188 <dependencies>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500189 <!-- Note: If value in BOM conflicts with value inherited from
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400190 parent pom, inherited value takes precedence. This seems more like
191 a bug than a feature, but this is how maven 3.6 works -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500192 <dependency>
193 <groupId>org.onap.ccsdk.parent</groupId>
194 <artifactId>dependencies-odl-bom</artifactId>
Dan Timoney90e6d902020-05-28 15:38:05 -0400195 <version>1.5.8-SNAPSHOT</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500196 <type>pom</type>
197 <scope>import</scope>
198 </dependency>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500199 <dependency>
200 <groupId>org.onap.logging-analytics</groupId>
201 <artifactId>logging-slf4j</artifactId>
Smokowski, Kevin (ks6305)9548ff82020-02-06 18:33:18 +0000202 <version>${logging-analytics.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500203 </dependency>
204 <dependency>
205 <groupId>org.onap.logging-analytics</groupId>
206 <artifactId>logging-filter-base</artifactId>
Smokowski, Kevin (ks6305)9548ff82020-02-06 18:33:18 +0000207 <version>${logging-analytics.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500208 </dependency>
Singal, Kapil (ks220y)ffff34a2020-02-27 11:02:51 -0500209 <dependency>
210 <groupId>junit</groupId>
211 <artifactId>junit</artifactId>
212 <version>${junit.version}</version>
213 <scope>test</scope>
214 </dependency>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500215 </dependencies>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500216 </dependencyManagement>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400217
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500218 <repositories>
219 <repository>
220 <id>onap-public</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500221 <url>${onap.nexus.public-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500222 <releases>
223 <enabled>true</enabled>
224 <updatePolicy>never</updatePolicy>
225 </releases>
226 <snapshots>
227 <enabled>true</enabled>
228 <updatePolicy>always</updatePolicy>
229 </snapshots>
230 </repository>
231 <repository>
232 <id>onap-staging</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500233 <url>${onap.nexus.staging-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500234 <releases>
235 <enabled>true</enabled>
236 <updatePolicy>never</updatePolicy>
237 </releases>
238 <snapshots>
239 <enabled>true</enabled>
240 <updatePolicy>always</updatePolicy>
241 </snapshots>
242 </repository>
243 <repository>
244 <id>ecomp-release</id>
245 <name>onap-repository-releases</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500246 <url>${onap.nexus.release-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500247 <releases>
248 <enabled>true</enabled>
249 <updatePolicy>never</updatePolicy>
250 </releases>
251 <snapshots>
252 <enabled>false</enabled>
253 </snapshots>
254 </repository>
255 <repository>
256 <id>ecomp-snapshot</id>
257 <name>onap-repository-snapshots</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500258 <url>${onap.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500259 <releases>
260 <enabled>false</enabled>
261 </releases>
262 <snapshots>
263 <enabled>true</enabled>
264 </snapshots>
265 </repository>
266 <repository>
267 <id>opendaylight-mirror</id>
268 <name>opendaylight-mirror</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500269 <url>${opendaylight.nexus.public-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500270 <releases>
271 <enabled>true</enabled>
272 <updatePolicy>never</updatePolicy>
273 </releases>
274 <snapshots>
275 <enabled>false</enabled>
276 </snapshots>
277 </repository>
278 <repository>
279 <id>opendaylight-snapshot</id>
280 <name>opendaylight-snapshot</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500281 <url>${opendaylight.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500282 <releases>
283 <enabled>false</enabled>
284 </releases>
285 <snapshots>
286 <enabled>true</enabled>
287 </snapshots>
288 </repository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400289
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500290 </repositories>
291 <pluginRepositories>
292 <pluginRepository>
293 <id>onap-public</id>
294 <url>${onap.nexus.public-url}</url>
295 <releases>
296 <enabled>true</enabled>
297 </releases>
298 <snapshots>
299 <enabled>true</enabled>
300 </snapshots>
301 </pluginRepository>
302 <pluginRepository>
303 <id>onap-staging</id>
304 <url>${onap.nexus.staging-url}</url>
305 <releases>
306 <enabled>true</enabled>
307 </releases>
308 <snapshots>
309 <enabled>true</enabled>
310 </snapshots>
311 </pluginRepository>
312 <pluginRepository>
313 <id>onap-snapshot</id>
314 <url>${onap.nexus.snapshot-url}</url>
315 <releases>
316 <enabled>false</enabled>
317 </releases>
318 <snapshots>
319 <enabled>true</enabled>
320 </snapshots>
321 </pluginRepository>
322 <pluginRepository>
323 <id>opendaylight-mirror</id>
324 <name>opendaylight-mirror</name>
325 <url>${opendaylight.nexus.public-url}</url>
326 <releases>
327 <enabled>true</enabled>
328 <updatePolicy>never</updatePolicy>
329 </releases>
330 <snapshots>
331 <enabled>false</enabled>
332 </snapshots>
333 </pluginRepository>
334 <pluginRepository>
335 <id>opendaylight-snapshot</id>
336 <name>opendaylight-snapshot</name>
337 <url>${opendaylight.nexus.snapshot-url}</url>
338 <releases>
339 <enabled>false</enabled>
340 </releases>
341 <snapshots>
342 <enabled>true</enabled>
343 </snapshots>
344 </pluginRepository>
345 <!-- Black Duck plugin dependencies -->
346 <pluginRepository>
347 <id>JCenter</id>
348 <name>JCenter Repository</name>
349 <url>http://jcenter.bintray.com</url>
350 </pluginRepository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400351
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500352 <pluginRepository>
353 <id>Restlet</id>
354 <name>Restlet Repository</name>
355 <url>http://maven.restlet.com</url>
356 </pluginRepository>
357 </pluginRepositories>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400358
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500359 <build>
360 <pluginManagement>
361 <plugins>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500362 <!-- Plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500363 <plugin>
364 <groupId>org.apache.maven.plugins</groupId>
365 <artifactId>maven-deploy-plugin</artifactId>
366 <!-- This version supports the "deployAtEnd" parameter -->
367 <version>2.8</version>
368 <configuration>
369 <skip/>
370 </configuration>
371 </plugin>
372 <plugin>
373 <groupId>org.apache.maven.plugins</groupId>
374 <artifactId>maven-site-plugin</artifactId>
375 <version>3.6</version>
376 <dependencies>
377 <dependency>
378 <groupId>org.apache.maven.wagon</groupId>
379 <artifactId>wagon-webdav-jackrabbit</artifactId>
380 <version>2.10</version>
381 </dependency>
382 </dependencies>
383 </plugin>
384 <plugin>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-enforcer-plugin</artifactId>
387 <version>3.0.0-M2</version>
388 <executions>
389 <execution>
390 <id>enforce-property</id>
391 <goals>
392 <goal>enforce</goal>
393 </goals>
394 <configuration>
395 <rules>
396 <requireProperty>
397 <property>onap.nexus.url</property>
398 <message>You must set a onap.nexus.url property in your
399 ~/.m2/settings.xml. See oparent/settings.xml for an example.
400 </message>
401 </requireProperty>
402 </rules>
403 <fail>true</fail>
404 </configuration>
405 </execution>
406 <execution>
407 <id>enforce-no-snapshots</id>
408 <goals>
409 <goal>enforce</goal>
410 </goals>
411 <configuration>
412 <rules>
413 <requireReleaseDeps>
414 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
415 <onlyWhenRelease>true</onlyWhenRelease>
416 <level>WARN</level>
417 </requireReleaseDeps>
418 </rules>
419 </configuration>
420 </execution>
421 </executions>
422 </plugin>
423 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
424 <plugin>
425 <groupId>org.sonarsource.scanner.maven</groupId>
426 <artifactId>sonar-maven-plugin</artifactId>
Dan Timoney621888e2020-01-17 09:54:02 -0500427 <version>${sonar.scanner.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500428 </plugin>
429 <!-- end of plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400430
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500431 <!-- Plugins from ONAP oparent -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500432 <plugin>
433 <groupId>org.apache.maven.plugins</groupId>
434 <artifactId>maven-surefire-plugin</artifactId>
435 <version>2.22.0</version>
436 <configuration>
437 <!-- Sets the VM argument line used when unit tests are run. -->
438 <argLine>${surefireArgLine}</argLine>
439 <!-- Excludes integration tests when unit tests are run. -->
440 <excludes>
441 <exclude>**/IT*.java</exclude>
442 </excludes>
443 </configuration>
444 </plugin>
445 <plugin>
446 <groupId>org.apache.maven.plugins</groupId>
447 <artifactId>maven-failsafe-plugin</artifactId>
448 <version>2.22.0</version>
449 <executions>
450 <!-- Ensures that both integration-test and verify goals of the Failsafe
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400451 Maven plugin are executed. -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500452 <execution>
453 <id>integration-tests</id>
454 <goals>
455 <goal>integration-test</goal>
456 <goal>verify</goal>
457 </goals>
458 <configuration>
459 <!-- Sets the VM argument line used when integration tests are run. -->
460 <argLine>${failsafeArgLine}</argLine>
461 </configuration>
462 </execution>
463 </executions>
464 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400465
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500466 <!-- End of plugins from ONAP oparent -->
467 <plugin>
468 <groupId>org.codehaus.mojo</groupId>
469 <artifactId>properties-maven-plugin</artifactId>
470 <version>1.0.0</version>
471 <executions>
472 <execution>
473 <goals>
474 <goal>set-system-properties</goal>
475 </goals>
476 <configuration>
477 <properties>
478 <property>
479 <name>maven.wagon.http.ssl.allowall</name>
480 <value>${ssl.allowall}</value>
481 </property>
482 <property>
483 <name>maven.wagon.http.ssl.insecure</name>
484 <value>${ssl.insecure}</value>
485 </property>
486 </properties>
487 </configuration>
488 </execution>
489 </executions>
490 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400491
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500492 <plugin>
493 <groupId>org.codehaus.mojo</groupId>
494 <artifactId>versions-maven-plugin</artifactId>
495 <version>2.5</version>
496 <configuration>
497 <processAllModules>true</processAllModules>
498 </configuration>
499 </plugin>
500 <plugin>
501 <artifactId>maven-scm-plugin</artifactId>
502 <version>1.8.1</version>
503 <configuration>
504 <tag>${project.artifactId}-${project.version}</tag>
505 </configuration>
506 </plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500507 <plugin>
508 <groupId>com.github.ferstl</groupId>
509 <artifactId>depgraph-maven-plugin</artifactId>
510 <version>3.3.0</version>
511 <configuration>
512 <graphFormat>text</graphFormat>
513 <outputFileName>${dependency-list.file}</outputFileName>
514 <outputDirectory>${project.basedir}</outputDirectory>
515 <transitiveExcludes>*</transitiveExcludes>
516 <showVersions>true</showVersions>
Timoney, Dan (dt5972)cc0c96a2019-12-11 10:04:52 -0500517 <showGroupIds>true</showGroupIds>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500518 </configuration>
519 </plugin>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500520 </plugins>
521 </pluginManagement>
522 <plugins>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400523
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500524 <!-- Plugins from oparent version (parent of oparent) -->
525 <plugin>
526 <groupId>org.apache.maven.plugins</groupId>
527 <artifactId>maven-deploy-plugin</artifactId>
528 </plugin>
529 <plugin>
530 <groupId>org.apache.maven.plugins</groupId>
531 <artifactId>maven-site-plugin</artifactId>
532 </plugin>
533 <plugin>
534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-enforcer-plugin</artifactId>
536 </plugin>
537 <!-- end of plugins from oparent version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400538
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500539 <!-- Plugins from oparent -->
540 <plugin>
541 <artifactId>maven-checkstyle-plugin</artifactId>
542 <version>2.17</version>
543 <dependencies>
544 <dependency>
545 <groupId>org.onap.oparent</groupId>
546 <artifactId>checkstyle</artifactId>
547 <version>1.2.2</version>
548 </dependency>
549 </dependencies>
550 <executions>
551 <execution>
552 <id>onap-license</id>
553 <goals>
554 <goal>check</goal>
555 </goals>
556 <phase>process-sources</phase>
557 <configuration>
558 <configLocation>onap-checkstyle/check-license.xml</configLocation>
559 <includeResources>false</includeResources>
560 <includeTestSourceDirectory>true</includeTestSourceDirectory>
561 <includeTestResources>false</includeTestResources>
562 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
563 <excludes>
564 </excludes>
565 <consoleOutput>true</consoleOutput>
566 <failOnViolation>false</failOnViolation>
567 </configuration>
568 </execution>
569 <execution>
570 <id>onap-java-style</id>
571 <goals>
572 <goal>check</goal>
573 </goals>
574 <phase>process-sources</phase>
575 <configuration>
576 <!-- 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 -0400577 with minor changes -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500578 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500579 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500580 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
581 <includeResources>true</includeResources>
582 <includeTestSourceDirectory>true</includeTestSourceDirectory>
583 <includeTestResources>true</includeTestResources>
584 <excludes>
585 </excludes>
586 <consoleOutput>true</consoleOutput>
587 <failOnViolation>false</failOnViolation>
588 </configuration>
589 </execution>
590 </executions>
591 </plugin>
592 <plugin>
593 <groupId>org.codehaus.mojo</groupId>
594 <artifactId>build-helper-maven-plugin</artifactId>
595 <version>1.12</version>
596 </plugin>
597 <!-- Jacoco / Sonar -->
598 <plugin>
599 <groupId>org.jacoco</groupId>
600 <artifactId>jacoco-maven-plugin</artifactId>
Dan Timoney621888e2020-01-17 09:54:02 -0500601 <version>${jacoco.version}</version>
602 <executions>
603 <execution>
604 <id>pre-unit-test</id>
605 <goals>
606 <goal>prepare-agent</goal>
607 </goals>
608 <configuration>
609 <!-- Sets the path to the file which contains the execution data. -->
610 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500611 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500612 <propertyName>surefireArgLine</propertyName>
613 </configuration>
614 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500615 <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500616 <execution>
617 <id>post-unit-test</id>
618 <phase>test</phase>
619 <goals>
620 <goal>report</goal>
621 </goals>
622 <configuration>
623 <!-- Sets the path to the file which contains the execution data. -->
624 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
625 <!-- Sets the output directory for the code coverage report. -->
626 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
627 </configuration>
628 </execution>
629 <execution>
630 <id>pre-integration-test</id>
631 <phase>pre-integration-test</phase>
632 <goals>
633 <goal>prepare-agent</goal>
634 </goals>
635 <configuration>
636 <!-- Sets the path to the file which contains the execution data. -->
637 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500638 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500639 <propertyName>failsafeArgLine</propertyName>
640 </configuration>
641 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500642 <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500643 <execution>
644 <id>post-integration-test</id>
645 <phase>post-integration-test</phase>
646 <goals>
647 <goal>report</goal>
648 </goals>
649 <configuration>
650 <!-- Sets the path to the file which contains the execution data. -->
651 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
652 <!-- Sets the output directory for the code coverage report. -->
653 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
654 </configuration>
655 </execution>
656 <execution>
657 <id>default-prepare-agent</id>
658 <goals>
659 <goal>prepare-agent</goal>
660 </goals>
661 </execution>
662 <execution>
663 <id>default-report</id>
664 <phase>prepare-package</phase>
665 <goals>
666 <goal>report</goal>
667 </goals>
668 </execution>
669 <execution>
670 <id>default-check</id>
671 <goals>
672 <goal>check</goal>
673 </goals>
674 <configuration>
675 <rules>
676 <rule>
677 <element>PACKAGE</element>
678 <limits>
679 <limit>
680 <counter>COMPLEXITY</counter>
681 <value>COVEREDRATIO</value>
682 <minimum>0.0</minimum>
683 </limit>
684 </limits>
685 </rule>
686 </rules>
687 </configuration>
688 </execution>
689 </executions>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500690 </plugin>
691 <plugin>
692 <groupId>org.apache.maven.plugins</groupId>
693 <artifactId>maven-surefire-plugin</artifactId>
694 </plugin>
695 <plugin>
696 <groupId>org.apache.maven.plugins</groupId>
697 <artifactId>maven-failsafe-plugin</artifactId>
698 </plugin>
699 <!-- end of plugins from oparent -->
700 <plugin>
701 <groupId>org.apache.maven.plugins</groupId>
702 <artifactId>maven-javadoc-plugin</artifactId>
703 <version>2.10.4</version>
704 <executions>
705 <execution>
706 <id>attach-javadocs</id>
707 <goals>
708 <goal>jar</goal>
709 </goals>
710 <configuration>
711 <additionalparam>-Xdoclint:none</additionalparam>
712 </configuration>
713 </execution>
714 </executions>
715 </plugin>
716 </plugins>
717 </build>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400718
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500719 <reporting>
720 <plugins>
721 <plugin>
722 <artifactId>maven-javadoc-plugin</artifactId>
723 <version>2.10.4</version>
724 <configuration>
725 <failOnError>false</failOnError>
726 <additionalparam>-Xdoclint:none</additionalparam>
727 </configuration>
728 </plugin>
Dan Timoney621888e2020-01-17 09:54:02 -0500729 <plugin>
730 <groupId>org.jacoco</groupId>
731 <artifactId>jacoco-maven-plugin</artifactId>
732 <version>${jacoco.version}</version>
733 <reportSets>
734 <reportSet>
735 <reports>
736 <!-- select non-aggregate reports -->
737 <report>report</report>
738 </reports>
739 </reportSet>
740 </reportSets>
741 </plugin>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500742 </plugins>
743 </reporting>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400744
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500745 <profiles>
746 <!-- Profiles from ONAP oparent -->
747 <profile>
748 <id>generate-json</id>
749 <activation>
750 <file>
751 <exists>${swagger-properties}</exists>
752 </file>
753 <property>
754 <name>swagger-sdk.generate-json</name>
755 </property>
756 </activation>
757 <build>
758 <plugins>
759 <plugin>
760 <groupId>org.codehaus.mojo</groupId>
761 <artifactId>properties-maven-plugin</artifactId>
762 <version>1.0.0</version>
763 <executions>
764 <execution>
765 <phase>initialize</phase>
766 <goals>
767 <goal>read-project-properties</goal>
768 </goals>
769 <configuration>
770 <files>
771 <file>${basedir}/src/main/resources/swagger.properties</file>
772 </files>
773 </configuration>
774 </execution>
775 </executions>
776 </plugin>
777 <plugin>
778 <groupId>com.github.kongchen</groupId>
779 <artifactId>swagger-maven-plugin</artifactId>
780 <version>3.1.4</version>
781 <configuration>
782 <apiSources>
783 <apiSource>
784 <locations>${api-rest-package}</locations>
785 <schemes>http,https</schemes>
786 <host>${api-host-ip}:${api-host-port}</host>
787 <basePath>${api-base-path}</basePath>
788 <info>
789 <title>${api-title}</title>
790 <version>${api-version}</version>
791 <description>${api-description}</description>
792 <license>
793 <name>${api-license}</name>
794 </license>
795 </info>
796 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
797 </apiSource>
798 </apiSources>
799 </configuration>
800 <executions>
801 <execution>
802 <phase>compile</phase>
803 <goals>
804 <goal>generate</goal>
805 </goals>
806 </execution>
807 </executions>
808 </plugin>
809 <plugin>
810 <groupId>org.apache.maven.plugins</groupId>
811 <artifactId>maven-install-plugin</artifactId>
812 <version>2.3.1</version>
813 <executions>
814 <execution>
815 <id>install-file-id</id>
816 <phase>install</phase>
817 <goals>
818 <goal>install-file</goal>
819 </goals>
820 <configuration>
821 <file>${basedir}/src/main/resources/swagger.json</file>
822 <groupId>${project.groupId}</groupId>
823 <artifactId>${project.artifactId}-swagger-schema</artifactId>
824 <version>${project.version}</version>
825 <packaging>json</packaging>
826 </configuration>
827 </execution>
828 </executions>
829 </plugin>
830 </plugins>
831 </build>
832 </profile>
833 <profile>
834 <id>generate-sdk</id>
835 <activation>
836 <file>
837 <exists>${swagger-json}</exists>
838 </file>
839 <property>
840 <name>swagger-sdk.generate-java-sdk</name>
841 </property>
842 </activation>
843 <build>
844 <plugins>
845 <plugin>
846 <groupId>org.apache.maven.plugins</groupId>
847 <artifactId>maven-antrun-plugin</artifactId>
848 <version>1.8</version>
849 <executions>
850 <execution>
851 <phase>initialize</phase>
852 <id>ant-create-script</id>
853 <configuration>
854 <exportAntProperties>true</exportAntProperties>
855 <tasks>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500856 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500857 <condition property="is_windows" value="true">
858 <os family="windows"/>
859 </condition>
860 <condition property="isLinux" value="true">
861 <os family="unix"/>
862 </condition>
863 <if>
864 <equals arg1="${is_windows}" arg2="true"/>
865 <then>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500866 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
867 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true"
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500868 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500869 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true"
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500870 message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
871 </then>
872 <else>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500873 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
874 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true"
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500875 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500876 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true"
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500877 message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500878 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500879 </else>
880 </if>
881 </tasks>
882 </configuration>
883 <goals>
884 <goal>run</goal>
885 </goals>
886 </execution>
887 </executions>
888 <dependencies>
889 <dependency>
890 <groupId>ant-contrib</groupId>
891 <artifactId>ant-contrib</artifactId>
892 <version>1.0b3</version>
893 <exclusions>
894 <exclusion>
895 <groupId>ant</groupId>
896 <artifactId>ant</artifactId>
897 </exclusion>
898 </exclusions>
899 </dependency>
900 </dependencies>
901 </plugin>
902 <plugin>
903 <groupId>io.swagger</groupId>
904 <artifactId>swagger-codegen-maven-plugin</artifactId>
905 <version>2.2.1</version>
906 <executions>
907 <execution>
908 <goals>
909 <goal>generate</goal>
910 </goals>
911 <configuration>
912 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
913 <output>${project.build.directory}/generated-sources</output>
914 <language>java</language>
915 <configOptions>
916 <dateLibrary>joda</dateLibrary>
917 </configOptions>
918 <library>jersey2</library>
919 <groupId>${project.groupId}</groupId>
920 <artifactId>${project.artifactId}-java-sdk</artifactId>
921 <artifactVersion>${project.version}</artifactVersion>
922 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
923 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
924 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
925 </configuration>
926 </execution>
927 </executions>
928 </plugin>
929 <plugin>
930 <groupId>org.codehaus.mojo</groupId>
931 <artifactId>exec-maven-plugin</artifactId>
932 <version>1.5.0</version>
933 <executions>
934 <execution>
935 <id>swagger-generate-sources</id>
936 <phase>generate-sources</phase>
937 <goals>
938 <goal>exec</goal>
939 </goals>
940 <configuration>
941 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
942 </configuration>
943 </execution>
944 </executions>
945 </plugin>
946 <plugin>
947 <groupId>org.apache.maven.plugins</groupId>
948 <artifactId>maven-clean-plugin</artifactId>
949 <version>3.0.0</version>
950 <executions>
951 <execution>
952 <id>clean-generated-files</id>
953 <phase>generate-sources</phase>
954 <goals>
955 <goal>clean</goal>
956 </goals>
957 <configuration>
958 <filesets>
959 <fileset>
960 <directory>${project.build.directory}/generated-sources</directory>
961 </fileset>
962 </filesets>
963 </configuration>
964 </execution>
965 </executions>
966 </plugin>
967 </plugins>
968 </build>
969 <dependencies>
970 <dependency>
971 <groupId>org.onap.msb.swagger-sdk</groupId>
972 <artifactId>swagger-sdk</artifactId>
973 <version>1.0.0</version>
974 </dependency>
975 </dependencies>
976 </profile>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -0500977 <profile>
978 <id>sonar-jacoco-aggregate</id>
979 <activation>
980 <property>
981 <name>onap.jacoco.aggregateFile</name>
982 </property>
983 </activation>
984 <build>
985 <plugins>
986 <plugin>
987 <groupId>org.jacoco</groupId>
988 <artifactId>jacoco-maven-plugin</artifactId>
989 <executions>
990 <execution>
991 <id>merge</id>
992 <goals>
993 <goal>merge</goal>
994 </goals>
995 <phase>generate-resources</phase>
996 <configuration>
997 <destFile>${onap.jacoco.aggregateFile}</destFile>
998 <fileSets>
999 <fileSet>
1000 <directory>${project.basedir}</directory>
1001 <includes>
1002 <include>**/target/code-coverage/*.exec</include>
1003 </includes>
1004 </fileSet>
1005 </fileSets>
1006 </configuration>
1007 </execution>
1008 </executions>
1009 </plugin>
1010 </plugins>
1011 </build>
1012 </profile>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001013 <!-- End of profiles from ONAP oparent -->
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001014
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001015 <profile>
1016 <id>yang-compile</id>
1017 <activation>
1018 <file>
1019 <exists>src/main/yang</exists>
1020 </file>
1021 </activation>
1022 <build>
1023 <plugins>
1024 <plugin>
1025 <groupId>org.opendaylight.yangtools</groupId>
1026 <artifactId>yang-maven-plugin</artifactId>
1027 <version>2.1.8</version>
1028 <dependencies>
1029 <dependency>
1030 <groupId>org.opendaylight.mdsal</groupId>
1031 <artifactId>maven-sal-api-gen-plugin</artifactId>
1032 <version>${odl.mdsal.model.version}</version>
1033 <type>jar</type>
1034 </dependency>
1035 <dependency>
1036 <groupId>org.opendaylight.netconf</groupId>
1037 <artifactId>sal-rest-docgen-maven</artifactId>
1038 <version>${odl.netconf.sal.rest.docgen.version}</version>
1039 <type>jar</type>
1040 </dependency>
1041 </dependencies>
1042 <executions>
1043 <execution>
Singal, Kapil (ks220y)704554f2020-01-20 15:12:43 -05001044 <id>binding</id>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001045 <goals>
1046 <goal>generate-sources</goal>
1047 </goals>
1048 <configuration>
1049 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
1050 <codeGenerators>
1051 <generator>
1052 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
1053 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
1054 </generator>
1055 <generator>
1056 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
1057 <outputBaseDir>target/swagger</outputBaseDir>
1058 </generator>
1059 </codeGenerators>
1060 <inspectDependencies>true</inspectDependencies>
1061 </configuration>
1062 </execution>
1063 </executions>
1064 </plugin>
1065 </plugins>
1066 </build>
1067 </profile>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001068 </profiles>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001069</project>