blob: 2e3860249f60fff80d7449caeafa7de99934cfc4 [file] [log] [blame]
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001<?xml version="1.0" encoding="UTF-8"?>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04002<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05003 <modelVersion>4.0.0</modelVersion>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04004
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05005 <!-- PLEASE READ !!!!! This file is generated from ccsdk/parent/setup/src/main/template/pom-template.xml
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04006 Any updates needed should be made to that template and not to the generated
7 pom.xml file -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05008 <parent>
9 <groupId>org.opendaylight.controller</groupId>
10 <artifactId>mdsal-it-parent</artifactId>
11 <version>1.9.1</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>mdsal-it-parent</artifactId>
Dan Timoneyd5fccc72020-01-23 14:06:18 -050017 <version>1.5.2-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>
34 <url>https://nexus.onap.org/content/repositories/releases</url>
35 </repository>
36 <snapshotRepository>
37 <id>ecomp-snapshots</id>
38 <url>https://nexus.onap.org/content/repositories/snapshots</url>
39 </snapshotRepository>
40 </distributionManagement>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050041
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050042 <properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050043
Dan Timoney621888e2020-01-17 09:54:02 -050044 <!-- Sonar properties -->
45 <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
46 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
47 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
48 <!-- Default Sonar configuration -->
49 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
50 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
51 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
52
53 <!-- Jacoco properties -->
54 <jacoco.version>0.8.5</jacoco.version>
55
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050056 <!-- properties from oparent -->
57 <maven.compiler.source>1.8</maven.compiler.source>
58 <maven.compiler.target>1.8</maven.compiler.target>
59 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
60 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
61 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
62 <!-- sitePath may be overridden in the inheriting POM if desired -->
63 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
Singal, Kapil (ks220y)e14c10b2020-01-07 11:54:24 -050064
Dan Timoney621888e2020-01-17 09:54:02 -050065
66
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050067 <!-- If following file exist, auto-generation of swagger.json will be done -->
68 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
69 <!-- If following file exist, auto-generation of sdk will be done -->
70 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
71 <!-- end of properties from oparent -->
Dan Timoney0f2db3f2018-01-25 16:23:27 -050072
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050073 <!-- ONAP repositories -->
74 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
75 <onap.nexus.port>443</onap.nexus.port>
76 <onap.nexus.protocol>https</onap.nexus.protocol>
77 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
78 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
79 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
80 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
81 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
82 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050083
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050084 <!-- OpenDaylight repositories -->
85 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
86 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050087
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050088 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
89 <java.version.source>1.8</java.version.source>
90 <java.version.target>1.8</java.version.target>
91 <bundle.plugin.version>2.5.0</bundle.plugin.version>
92 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
93 <features.file>features.xml</features.file>
94 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
95 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
96 <checkstyle.skip>true</checkstyle.skip>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050097
Smokowski, Kevin (ks6305)9548ff82020-02-06 18:33:18 +000098 <!-- logging-analytics versions -->
99 <logging-analytics.version>1.6.4</logging-analytics.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500100
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500101 <!-- CCSDK component versions -->
Dan Timoneyd93c1302020-01-30 13:29:02 -0500102 <ccsdk.cds.version>0.7.1-SNAPSHOT</ccsdk.cds.version>
103 <ccsdk.sli.core.version>0.7.1-SNAPSHOT</ccsdk.sli.core.version>
104 <ccsdk.sli.adaptors.version>0.7.1-SNAPSHOT</ccsdk.sli.adaptors.version>
105 <ccsdk.sli.northbound.version>0.7.1-SNAPSHOT</ccsdk.sli.northbound.version>
106 <ccsdk.sli.plugins.version>0.7.1-SNAPSHOT</ccsdk.sli.plugins.version>
107 <ccsdk.distribution.version>0.7.1-SNAPSHOT</ccsdk.distribution.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500108 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
109 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
110 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
111 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
112 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500113
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500114 <!-- Support libraries used by OpenDaylight -->
115 <odl.controller.mdsal.version>1.9.1</odl.controller.mdsal.version>
116 <odl.mdsal.version>3.0.8</odl.mdsal.version>
117 <odl.mdsal.model.version>1.0.8</odl.mdsal.model.version>
118 <odl.netconf.restconf.version>1.9.1</odl.netconf.restconf.version>
119 <odl.netconf.netconf.version>1.6.1</odl.netconf.netconf.version>
120 <odl.netconf.sal.rest.docgen.version>1.9.1</odl.netconf.sal.rest.docgen.version>
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400121
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500122 <!-- Used by aaa, vtn -->
123 <commons.codec.version>1.12</commons.codec.version>
124 <!-- Used by netconf, ovsdb -->
125 <commons.lang3.version>3.8.1</commons.lang3.version>
126 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
127 <commons.lang.version>2.6</commons.lang.version>
128 <!-- Used by neutron; see also controller, vtn -->
129 <commons.net.version>3.6</commons.net.version>
130 <!-- Used by neutron -->
131 <eclipse.persistence.version>2.7.3</eclipse.persistence.version>
132 <!-- Used by aaa -->
133 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
134 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
135 <gson.version>2.8.5</gson.version>
136 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
137 <guava.version>25.1-jre</guava.version>
138 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400139 integration/distribution, snmp4sdn, toolkit, ttp -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500140 <jackson.version>2.9.8</jackson.version>
141 <!-- Used by snmp4sdn, yangtools -->
142 <javassist.version>3.24.1-GA</javassist.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500143
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500144 <!-- FIXME remove all dependencies for jersey 1.17 after migration all
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400145 projects -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500146 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400147 snmp4sdn, toolkit -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500148 <jersey.version>2.25.1</jersey.version>
149 <!-- Used by sfc -->
150 <jersey.client.version>2.25.1</jersey.client.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500151
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500152 <!-- New packages for jersey migration 1.17 to 2.8 -->
153 <!-- appache.geronimo.bundle for DocGen -->
154 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
155 <org.json.version>20131018</org.json.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500156
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500157 <!-- Used everywhere -->
158 <junit.version>4.12</junit.version>
159 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
160 <logback.version>1.2.3</logback.version>
161 <!-- Used by nic, sfc, sxp, tsdr -->
162 <mockito.version>1.10.19</mockito.version>
163 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
164 <netty.version>4.1.34.Final</netty.version>
165 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400166 toolkit -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500167 <slf4j.version>1.7.25</slf4j.version>
168 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400169 tsdr, ttp -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500170 <spring.version>4.3.24.RELEASE</spring.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500171
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500172 <!-- Extra support libraries used by SDN-C -->
173 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
174 <antlr.version>4.7.2</antlr.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500175
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500176 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
Timoney, Dan (dt5972)ebc00be2018-03-21 09:00:19 -0400177
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500178 <!-- Managed dependency versions -->
Timoney, Dan (dt5972)48f55772019-12-17 10:44:04 -0500179 <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version>
180 <apache.httpcomponents.client.version>4.5.10</apache.httpcomponents.client.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500181 <derby.version>10.14.2.0</derby.version>
182 <eelf.version>1.0.0</eelf.version>
Timoney, Dan (dt5972)48f55772019-12-17 10:44:04 -0500183 <grpc.version>1.21.1</grpc.version>
184 <mariadb.connector.version>2.4.4</mariadb.connector.version>
185 <mariadb4j.version>2.4.0</mariadb4j.version>
186 <testng.version>6.14.3</testng.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500187 <tomcat-jdbc.version>9.0.27</tomcat-jdbc.version>
188 <jetty.version>9.4.12.v20180830</jetty.version>
189 <skip.karaf.featureTest>true</skip.karaf.featureTest>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500190
191 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500192 </properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500193
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500194 <dependencyManagement>
195 <dependencies>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400196
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500197 <!-- Note: If value in BOM conflicts with value inherited from
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400198 parent pom, inherited value takes precedence. This seems more like
199 a bug than a feature, but this is how maven 3.6 works -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500200 <dependency>
201 <groupId>org.onap.ccsdk.parent</groupId>
202 <artifactId>dependencies-odl-bom</artifactId>
Dan Timoneyd5fccc72020-01-23 14:06:18 -0500203 <version>1.5.2-SNAPSHOT</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500204 <type>pom</type>
205 <scope>import</scope>
206 </dependency>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400207
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500208 <!-- Override incorrect versions in ODL parent poms -->
209 <!-- to match versions actually installed in ODL Neon -->
210 <dependency>
211 <groupId>com.google.protobuf</groupId>
212 <artifactId>protobuf-java</artifactId>
213 <version>3.6.1</version>
214 </dependency>
215 <dependency>
216 <groupId>io.netty</groupId>
217 <artifactId>netty-transport</artifactId>
218 <version>4.1.34.Final</version>
219 </dependency>
220 <dependency>
221 <groupId>io.netty</groupId>
222 <artifactId>netty-all</artifactId>
223 <version>4.1.34.Final</version>
224 <!-- <version>${netty.version}</version> -->
225 </dependency>
226 <dependency>
227 <groupId>junit</groupId>
228 <artifactId>junit</artifactId>
229 <version>4.12</version>
230 <scope>test</scope>
231 </dependency>
232 <dependency>
233 <groupId>org.eclipse.jetty</groupId>
234 <artifactId>jetty-server</artifactId>
235 <version>9.4.12.v20180830</version>
236 </dependency>
237 <dependency>
238 <groupId>org.eclipse.jetty</groupId>
239 <artifactId>jetty-servlets</artifactId>
240 <version>9.4.12.v20180830</version>
241 </dependency>
242 <dependency>
243 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
244 <artifactId>jersey-guava</artifactId>
245 <version>2.25.1</version>
246 </dependency>
247 <dependency>
248 <groupId>org.codehaus.jettison</groupId>
249 <artifactId>jettison</artifactId>
250 <version>1.3.8</version>
251 </dependency>
252 <dependency>
253 <groupId>org.onap.logging-analytics</groupId>
254 <artifactId>logging-slf4j</artifactId>
Smokowski, Kevin (ks6305)9548ff82020-02-06 18:33:18 +0000255 <version>${logging-analytics.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500256 </dependency>
257 <dependency>
258 <groupId>org.onap.logging-analytics</groupId>
259 <artifactId>logging-filter-base</artifactId>
Smokowski, Kevin (ks6305)9548ff82020-02-06 18:33:18 +0000260 <version>${logging-analytics.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500261 </dependency>
262 </dependencies>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400263
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500264 </dependencyManagement>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400265
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500266 <repositories>
267 <repository>
268 <id>onap-public</id>
269 <url>https://nexus.onap.org/content/groups/public</url>
270 <releases>
271 <enabled>true</enabled>
272 <updatePolicy>never</updatePolicy>
273 </releases>
274 <snapshots>
275 <enabled>true</enabled>
276 <updatePolicy>always</updatePolicy>
277 </snapshots>
278 </repository>
279 <repository>
280 <id>onap-staging</id>
281 <url>https://nexus.onap.org/content/groups/staging</url>
282 <releases>
283 <enabled>true</enabled>
284 <updatePolicy>never</updatePolicy>
285 </releases>
286 <snapshots>
287 <enabled>true</enabled>
288 <updatePolicy>always</updatePolicy>
289 </snapshots>
290 </repository>
291 <repository>
292 <id>ecomp-release</id>
293 <name>onap-repository-releases</name>
294 <url>https://nexus.onap.org/content/repositories/releases</url>
295 <releases>
296 <enabled>true</enabled>
297 <updatePolicy>never</updatePolicy>
298 </releases>
299 <snapshots>
300 <enabled>false</enabled>
301 </snapshots>
302 </repository>
303 <repository>
304 <id>ecomp-snapshot</id>
305 <name>onap-repository-snapshots</name>
306 <url>https://nexus.onap.org/content/repositories/snapshots</url>
307 <releases>
308 <enabled>false</enabled>
309 </releases>
310 <snapshots>
311 <enabled>true</enabled>
312 </snapshots>
313 </repository>
314 <repository>
315 <id>opendaylight-mirror</id>
316 <name>opendaylight-mirror</name>
317 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
318 <releases>
319 <enabled>true</enabled>
320 <updatePolicy>never</updatePolicy>
321 </releases>
322 <snapshots>
323 <enabled>false</enabled>
324 </snapshots>
325 </repository>
326 <repository>
327 <id>opendaylight-snapshot</id>
328 <name>opendaylight-snapshot</name>
329 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
330 <releases>
331 <enabled>false</enabled>
332 </releases>
333 <snapshots>
334 <enabled>true</enabled>
335 </snapshots>
336 </repository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400337
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500338 </repositories>
339 <pluginRepositories>
340 <pluginRepository>
341 <id>onap-public</id>
342 <url>${onap.nexus.public-url}</url>
343 <releases>
344 <enabled>true</enabled>
345 </releases>
346 <snapshots>
347 <enabled>true</enabled>
348 </snapshots>
349 </pluginRepository>
350 <pluginRepository>
351 <id>onap-staging</id>
352 <url>${onap.nexus.staging-url}</url>
353 <releases>
354 <enabled>true</enabled>
355 </releases>
356 <snapshots>
357 <enabled>true</enabled>
358 </snapshots>
359 </pluginRepository>
360 <pluginRepository>
361 <id>onap-snapshot</id>
362 <url>${onap.nexus.snapshot-url}</url>
363 <releases>
364 <enabled>false</enabled>
365 </releases>
366 <snapshots>
367 <enabled>true</enabled>
368 </snapshots>
369 </pluginRepository>
370 <pluginRepository>
371 <id>opendaylight-mirror</id>
372 <name>opendaylight-mirror</name>
373 <url>${opendaylight.nexus.public-url}</url>
374 <releases>
375 <enabled>true</enabled>
376 <updatePolicy>never</updatePolicy>
377 </releases>
378 <snapshots>
379 <enabled>false</enabled>
380 </snapshots>
381 </pluginRepository>
382 <pluginRepository>
383 <id>opendaylight-snapshot</id>
384 <name>opendaylight-snapshot</name>
385 <url>${opendaylight.nexus.snapshot-url}</url>
386 <releases>
387 <enabled>false</enabled>
388 </releases>
389 <snapshots>
390 <enabled>true</enabled>
391 </snapshots>
392 </pluginRepository>
393 <!-- Black Duck plugin dependencies -->
394 <pluginRepository>
395 <id>JCenter</id>
396 <name>JCenter Repository</name>
397 <url>http://jcenter.bintray.com</url>
398 </pluginRepository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400399
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500400 <pluginRepository>
401 <id>Restlet</id>
402 <name>Restlet Repository</name>
403 <url>http://maven.restlet.com</url>
404 </pluginRepository>
405 </pluginRepositories>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400406
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500407 <build>
408 <pluginManagement>
409 <plugins>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400410
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500411 <!-- Plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400412
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500413 <plugin>
414 <groupId>org.apache.maven.plugins</groupId>
415 <artifactId>maven-deploy-plugin</artifactId>
416 <!-- This version supports the "deployAtEnd" parameter -->
417 <version>2.8</version>
418 <configuration>
419 <skip/>
420 </configuration>
421 </plugin>
422 <plugin>
423 <groupId>org.apache.maven.plugins</groupId>
424 <artifactId>maven-site-plugin</artifactId>
425 <version>3.6</version>
426 <dependencies>
427 <dependency>
428 <groupId>org.apache.maven.wagon</groupId>
429 <artifactId>wagon-webdav-jackrabbit</artifactId>
430 <version>2.10</version>
431 </dependency>
432 </dependencies>
433 </plugin>
434 <plugin>
435 <groupId>org.apache.maven.plugins</groupId>
436 <artifactId>maven-enforcer-plugin</artifactId>
437 <version>3.0.0-M2</version>
438 <executions>
439 <execution>
440 <id>enforce-property</id>
441 <goals>
442 <goal>enforce</goal>
443 </goals>
444 <configuration>
445 <rules>
446 <requireProperty>
447 <property>onap.nexus.url</property>
448 <message>You must set a onap.nexus.url property in your
449 ~/.m2/settings.xml. See oparent/settings.xml for an example.
450 </message>
451 </requireProperty>
452 </rules>
453 <fail>true</fail>
454 </configuration>
455 </execution>
456 <execution>
457 <id>enforce-no-snapshots</id>
458 <goals>
459 <goal>enforce</goal>
460 </goals>
461 <configuration>
462 <rules>
463 <requireReleaseDeps>
464 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
465 <onlyWhenRelease>true</onlyWhenRelease>
466 <level>WARN</level>
467 </requireReleaseDeps>
468 </rules>
469 </configuration>
470 </execution>
471 </executions>
472 </plugin>
473 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
474 <plugin>
475 <groupId>org.sonarsource.scanner.maven</groupId>
476 <artifactId>sonar-maven-plugin</artifactId>
Dan Timoney621888e2020-01-17 09:54:02 -0500477 <version>${sonar.scanner.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500478 </plugin>
479 <!-- end of plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400480
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500481 <!-- Plugins from ONAP oparent -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400482
Dan Timoney621888e2020-01-17 09:54:02 -0500483
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500484 <plugin>
485 <groupId>org.apache.maven.plugins</groupId>
486 <artifactId>maven-surefire-plugin</artifactId>
487 <version>2.22.0</version>
488 <configuration>
489 <!-- Sets the VM argument line used when unit tests are run. -->
490 <argLine>${surefireArgLine}</argLine>
491 <!-- Excludes integration tests when unit tests are run. -->
492 <excludes>
493 <exclude>**/IT*.java</exclude>
494 </excludes>
495 </configuration>
496 </plugin>
497 <plugin>
498 <groupId>org.apache.maven.plugins</groupId>
499 <artifactId>maven-failsafe-plugin</artifactId>
500 <version>2.22.0</version>
501 <executions>
502 <!-- Ensures that both integration-test and verify goals of the Failsafe
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400503 Maven plugin are executed. -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500504 <execution>
505 <id>integration-tests</id>
506 <goals>
507 <goal>integration-test</goal>
508 <goal>verify</goal>
509 </goals>
510 <configuration>
511 <!-- Sets the VM argument line used when integration tests are run. -->
512 <argLine>${failsafeArgLine}</argLine>
513 </configuration>
514 </execution>
515 </executions>
516 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400517
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500518 <!-- End of plugins from ONAP oparent -->
519 <plugin>
520 <groupId>org.codehaus.mojo</groupId>
521 <artifactId>properties-maven-plugin</artifactId>
522 <version>1.0.0</version>
523 <executions>
524 <execution>
525 <goals>
526 <goal>set-system-properties</goal>
527 </goals>
528 <configuration>
529 <properties>
530 <property>
531 <name>maven.wagon.http.ssl.allowall</name>
532 <value>${ssl.allowall}</value>
533 </property>
534 <property>
535 <name>maven.wagon.http.ssl.insecure</name>
536 <value>${ssl.insecure}</value>
537 </property>
538 </properties>
539 </configuration>
540 </execution>
541 </executions>
542 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400543
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500544 <plugin>
545 <groupId>org.codehaus.mojo</groupId>
546 <artifactId>versions-maven-plugin</artifactId>
547 <version>2.5</version>
548 <configuration>
549 <processAllModules>true</processAllModules>
550 </configuration>
551 </plugin>
552 <plugin>
553 <artifactId>maven-scm-plugin</artifactId>
554 <version>1.8.1</version>
555 <configuration>
556 <tag>${project.artifactId}-${project.version}</tag>
557 </configuration>
558 </plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500559 <plugin>
560 <groupId>com.github.ferstl</groupId>
561 <artifactId>depgraph-maven-plugin</artifactId>
562 <version>3.3.0</version>
563 <configuration>
564 <graphFormat>text</graphFormat>
565 <outputFileName>${dependency-list.file}</outputFileName>
566 <outputDirectory>${project.basedir}</outputDirectory>
567 <transitiveExcludes>*</transitiveExcludes>
568 <showVersions>true</showVersions>
Timoney, Dan (dt5972)cc0c96a2019-12-11 10:04:52 -0500569 <showGroupIds>true</showGroupIds>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500570 </configuration>
571 </plugin>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500572 </plugins>
573 </pluginManagement>
574 <plugins>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400575
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500576 <!-- Plugins from oparent version (parent of oparent) -->
577 <plugin>
578 <groupId>org.apache.maven.plugins</groupId>
579 <artifactId>maven-deploy-plugin</artifactId>
580 </plugin>
581 <plugin>
582 <groupId>org.apache.maven.plugins</groupId>
583 <artifactId>maven-site-plugin</artifactId>
584 </plugin>
585 <plugin>
586 <groupId>org.apache.maven.plugins</groupId>
587 <artifactId>maven-enforcer-plugin</artifactId>
588 </plugin>
589 <!-- end of plugins from oparent version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400590
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500591 <!-- Plugins from oparent -->
592 <plugin>
593 <artifactId>maven-checkstyle-plugin</artifactId>
594 <version>2.17</version>
595 <dependencies>
596 <dependency>
597 <groupId>org.onap.oparent</groupId>
598 <artifactId>checkstyle</artifactId>
599 <version>1.2.2</version>
600 </dependency>
601 </dependencies>
602 <executions>
603 <execution>
604 <id>onap-license</id>
605 <goals>
606 <goal>check</goal>
607 </goals>
608 <phase>process-sources</phase>
609 <configuration>
610 <configLocation>onap-checkstyle/check-license.xml</configLocation>
611 <includeResources>false</includeResources>
612 <includeTestSourceDirectory>true</includeTestSourceDirectory>
613 <includeTestResources>false</includeTestResources>
614 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
615 <excludes>
616 </excludes>
617 <consoleOutput>true</consoleOutput>
618 <failOnViolation>false</failOnViolation>
619 </configuration>
620 </execution>
621 <execution>
622 <id>onap-java-style</id>
623 <goals>
624 <goal>check</goal>
625 </goals>
626 <phase>process-sources</phase>
627 <configuration>
628 <!-- 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 -0400629 with minor changes -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500630 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
631 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400632 sources directory -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500633 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
634 <includeResources>true</includeResources>
635 <includeTestSourceDirectory>true</includeTestSourceDirectory>
636 <includeTestResources>true</includeTestResources>
637 <excludes>
638 </excludes>
639 <consoleOutput>true</consoleOutput>
640 <failOnViolation>false</failOnViolation>
641 </configuration>
642 </execution>
643 </executions>
644 </plugin>
645 <plugin>
646 <groupId>org.codehaus.mojo</groupId>
647 <artifactId>build-helper-maven-plugin</artifactId>
648 <version>1.12</version>
649 </plugin>
650 <!-- Jacoco / Sonar -->
651 <plugin>
652 <groupId>org.jacoco</groupId>
653 <artifactId>jacoco-maven-plugin</artifactId>
Dan Timoney621888e2020-01-17 09:54:02 -0500654 <version>${jacoco.version}</version>
655 <executions>
656 <execution>
657 <id>pre-unit-test</id>
658 <goals>
659 <goal>prepare-agent</goal>
660 </goals>
661 <configuration>
662 <!-- Sets the path to the file which contains the execution data. -->
663 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
664 <!-- Sets the name of the property containing the settings for JaCoCo
665 runtime agent. -->
666 <propertyName>surefireArgLine</propertyName>
667 </configuration>
668 </execution>
669 <!-- Ensures that the code coverage report for unit tests is created
670 after unit tests have been run. -->
671 <execution>
672 <id>post-unit-test</id>
673 <phase>test</phase>
674 <goals>
675 <goal>report</goal>
676 </goals>
677 <configuration>
678 <!-- Sets the path to the file which contains the execution data. -->
679 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
680 <!-- Sets the output directory for the code coverage report. -->
681 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
682 </configuration>
683 </execution>
684 <execution>
685 <id>pre-integration-test</id>
686 <phase>pre-integration-test</phase>
687 <goals>
688 <goal>prepare-agent</goal>
689 </goals>
690 <configuration>
691 <!-- Sets the path to the file which contains the execution data. -->
692 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
693 <!-- Sets the name of the property containing the settings for JaCoCo
694 runtime agent. -->
695 <propertyName>failsafeArgLine</propertyName>
696 </configuration>
697 </execution>
698 <!-- Ensures that the code coverage report for integration tests after
699 integration tests have been run. -->
700 <execution>
701 <id>post-integration-test</id>
702 <phase>post-integration-test</phase>
703 <goals>
704 <goal>report</goal>
705 </goals>
706 <configuration>
707 <!-- Sets the path to the file which contains the execution data. -->
708 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
709 <!-- Sets the output directory for the code coverage report. -->
710 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
711 </configuration>
712 </execution>
713 <execution>
714 <id>default-prepare-agent</id>
715 <goals>
716 <goal>prepare-agent</goal>
717 </goals>
718 </execution>
719 <execution>
720 <id>default-report</id>
721 <phase>prepare-package</phase>
722 <goals>
723 <goal>report</goal>
724 </goals>
725 </execution>
726 <execution>
727 <id>default-check</id>
728 <goals>
729 <goal>check</goal>
730 </goals>
731 <configuration>
732 <rules>
733 <rule>
734 <element>PACKAGE</element>
735 <limits>
736 <limit>
737 <counter>COMPLEXITY</counter>
738 <value>COVEREDRATIO</value>
739 <minimum>0.0</minimum>
740 </limit>
741 </limits>
742 </rule>
743 </rules>
744 </configuration>
745 </execution>
746 </executions>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500747 </plugin>
748 <plugin>
749 <groupId>org.apache.maven.plugins</groupId>
750 <artifactId>maven-surefire-plugin</artifactId>
751 </plugin>
752 <plugin>
753 <groupId>org.apache.maven.plugins</groupId>
754 <artifactId>maven-failsafe-plugin</artifactId>
755 </plugin>
756 <!-- end of plugins from oparent -->
757 <plugin>
758 <groupId>org.apache.maven.plugins</groupId>
759 <artifactId>maven-javadoc-plugin</artifactId>
760 <version>2.10.4</version>
761 <executions>
762 <execution>
763 <id>attach-javadocs</id>
764 <goals>
765 <goal>jar</goal>
766 </goals>
767 <configuration>
768 <additionalparam>-Xdoclint:none</additionalparam>
769 </configuration>
770 </execution>
771 </executions>
772 </plugin>
773 </plugins>
774 </build>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400775
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500776 <reporting>
777 <plugins>
778 <plugin>
779 <artifactId>maven-javadoc-plugin</artifactId>
780 <version>2.10.4</version>
781 <configuration>
782 <failOnError>false</failOnError>
783 <additionalparam>-Xdoclint:none</additionalparam>
784 </configuration>
785 </plugin>
Dan Timoney621888e2020-01-17 09:54:02 -0500786 <plugin>
787 <groupId>org.jacoco</groupId>
788 <artifactId>jacoco-maven-plugin</artifactId>
789 <version>${jacoco.version}</version>
790 <reportSets>
791 <reportSet>
792 <reports>
793 <!-- select non-aggregate reports -->
794 <report>report</report>
795 </reports>
796 </reportSet>
797 </reportSets>
798 </plugin>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500799 </plugins>
800 </reporting>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400801
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500802 <profiles>
803 <!-- Profiles from ONAP oparent -->
804 <profile>
805 <id>generate-json</id>
806 <activation>
807 <file>
808 <exists>${swagger-properties}</exists>
809 </file>
810 <property>
811 <name>swagger-sdk.generate-json</name>
812 </property>
813 </activation>
814 <build>
815 <plugins>
816 <plugin>
817 <groupId>org.codehaus.mojo</groupId>
818 <artifactId>properties-maven-plugin</artifactId>
819 <version>1.0.0</version>
820 <executions>
821 <execution>
822 <phase>initialize</phase>
823 <goals>
824 <goal>read-project-properties</goal>
825 </goals>
826 <configuration>
827 <files>
828 <file>${basedir}/src/main/resources/swagger.properties</file>
829 </files>
830 </configuration>
831 </execution>
832 </executions>
833 </plugin>
834 <plugin>
835 <groupId>com.github.kongchen</groupId>
836 <artifactId>swagger-maven-plugin</artifactId>
837 <version>3.1.4</version>
838 <configuration>
839 <apiSources>
840 <apiSource>
841 <locations>${api-rest-package}</locations>
842 <schemes>http,https</schemes>
843 <host>${api-host-ip}:${api-host-port}</host>
844 <basePath>${api-base-path}</basePath>
845 <info>
846 <title>${api-title}</title>
847 <version>${api-version}</version>
848 <description>${api-description}</description>
849 <license>
850 <name>${api-license}</name>
851 </license>
852 </info>
853 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
854 </apiSource>
855 </apiSources>
856 </configuration>
857 <executions>
858 <execution>
859 <phase>compile</phase>
860 <goals>
861 <goal>generate</goal>
862 </goals>
863 </execution>
864 </executions>
865 </plugin>
866 <plugin>
867 <groupId>org.apache.maven.plugins</groupId>
868 <artifactId>maven-install-plugin</artifactId>
869 <version>2.3.1</version>
870 <executions>
871 <execution>
872 <id>install-file-id</id>
873 <phase>install</phase>
874 <goals>
875 <goal>install-file</goal>
876 </goals>
877 <configuration>
878 <file>${basedir}/src/main/resources/swagger.json</file>
879 <groupId>${project.groupId}</groupId>
880 <artifactId>${project.artifactId}-swagger-schema</artifactId>
881 <version>${project.version}</version>
882 <packaging>json</packaging>
883 </configuration>
884 </execution>
885 </executions>
886 </plugin>
887 </plugins>
888 </build>
889 </profile>
890 <profile>
891 <id>generate-sdk</id>
892 <activation>
893 <file>
894 <exists>${swagger-json}</exists>
895 </file>
896 <property>
897 <name>swagger-sdk.generate-java-sdk</name>
898 </property>
899 </activation>
900 <build>
901 <plugins>
902 <plugin>
903 <groupId>org.apache.maven.plugins</groupId>
904 <artifactId>maven-antrun-plugin</artifactId>
905 <version>1.8</version>
906 <executions>
907 <execution>
908 <phase>initialize</phase>
909 <id>ant-create-script</id>
910 <configuration>
911 <exportAntProperties>true</exportAntProperties>
912 <tasks>
913 <taskdef resource="net/sf/antcontrib/antlib.xml"
914 classpathref="maven.plugin.classpath"/>
915 <condition property="is_windows" value="true">
916 <os family="windows"/>
917 </condition>
918 <condition property="isLinux" value="true">
919 <os family="unix"/>
920 </condition>
921 <if>
922 <equals arg1="${is_windows}" arg2="true"/>
923 <then>
924 <property name="swagger.sdk.script.file"
925 value="generated-source-script.bat"/>
926 <echo
927 file="${project.build.directory}${file.separator}generated-source-script.bat"
928 append="true"
929 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
930 <echo
931 file="${project.build.directory}${file.separator}generated-source-script.bat"
932 append="true"
933 message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
934 </then>
935 <else>
936 <property name="swagger.sdk.script.file"
937 value="generated-source-script.sh"/>
938 <echo
939 file="${project.build.directory}${file.separator}generated-source-script.sh"
940 append="true"
941 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
942 <echo
943 file="${project.build.directory}${file.separator}generated-source-script.sh"
944 append="true"
945 message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
946 <chmod
947 file="${project.build.directory}${file.separator}generated-source-script.sh"
948 perm="755"/>
949 </else>
950 </if>
951 </tasks>
952 </configuration>
953 <goals>
954 <goal>run</goal>
955 </goals>
956 </execution>
957 </executions>
958 <dependencies>
959 <dependency>
960 <groupId>ant-contrib</groupId>
961 <artifactId>ant-contrib</artifactId>
962 <version>1.0b3</version>
963 <exclusions>
964 <exclusion>
965 <groupId>ant</groupId>
966 <artifactId>ant</artifactId>
967 </exclusion>
968 </exclusions>
969 </dependency>
970 </dependencies>
971 </plugin>
972 <plugin>
973 <groupId>io.swagger</groupId>
974 <artifactId>swagger-codegen-maven-plugin</artifactId>
975 <version>2.2.1</version>
976 <executions>
977 <execution>
978 <goals>
979 <goal>generate</goal>
980 </goals>
981 <configuration>
982 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
983 <output>${project.build.directory}/generated-sources</output>
984 <language>java</language>
985 <configOptions>
986 <dateLibrary>joda</dateLibrary>
987 </configOptions>
988 <library>jersey2</library>
989 <groupId>${project.groupId}</groupId>
990 <artifactId>${project.artifactId}-java-sdk</artifactId>
991 <artifactVersion>${project.version}</artifactVersion>
992 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
993 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
994 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
995 </configuration>
996 </execution>
997 </executions>
998 </plugin>
999 <plugin>
1000 <groupId>org.codehaus.mojo</groupId>
1001 <artifactId>exec-maven-plugin</artifactId>
1002 <version>1.5.0</version>
1003 <executions>
1004 <execution>
1005 <id>swagger-generate-sources</id>
1006 <phase>generate-sources</phase>
1007 <goals>
1008 <goal>exec</goal>
1009 </goals>
1010 <configuration>
1011 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
1012 </configuration>
1013 </execution>
1014 </executions>
1015 </plugin>
1016 <plugin>
1017 <groupId>org.apache.maven.plugins</groupId>
1018 <artifactId>maven-clean-plugin</artifactId>
1019 <version>3.0.0</version>
1020 <executions>
1021 <execution>
1022 <id>clean-generated-files</id>
1023 <phase>generate-sources</phase>
1024 <goals>
1025 <goal>clean</goal>
1026 </goals>
1027 <configuration>
1028 <filesets>
1029 <fileset>
1030 <directory>${project.build.directory}/generated-sources</directory>
1031 </fileset>
1032 </filesets>
1033 </configuration>
1034 </execution>
1035 </executions>
1036 </plugin>
1037 </plugins>
1038 </build>
1039 <dependencies>
1040 <dependency>
1041 <groupId>org.onap.msb.swagger-sdk</groupId>
1042 <artifactId>swagger-sdk</artifactId>
1043 <version>1.0.0</version>
1044 </dependency>
1045 </dependencies>
1046 </profile>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -05001047 <profile>
1048 <id>sonar-jacoco-aggregate</id>
1049 <activation>
1050 <property>
1051 <name>onap.jacoco.aggregateFile</name>
1052 </property>
1053 </activation>
1054 <build>
1055 <plugins>
1056 <plugin>
1057 <groupId>org.jacoco</groupId>
1058 <artifactId>jacoco-maven-plugin</artifactId>
1059 <executions>
1060 <execution>
1061 <id>merge</id>
1062 <goals>
1063 <goal>merge</goal>
1064 </goals>
1065 <phase>generate-resources</phase>
1066 <configuration>
1067 <destFile>${onap.jacoco.aggregateFile}</destFile>
1068 <fileSets>
1069 <fileSet>
1070 <directory>${project.basedir}</directory>
1071 <includes>
1072 <include>**/target/code-coverage/*.exec</include>
1073 </includes>
1074 </fileSet>
1075 </fileSets>
1076 </configuration>
1077 </execution>
1078 </executions>
1079 </plugin>
1080 </plugins>
1081 </build>
1082 </profile>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001083 <!-- End of profiles from ONAP oparent -->
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -04001084
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001085 <profile>
1086 <id>yang-compile</id>
1087 <activation>
1088 <file>
1089 <exists>src/main/yang</exists>
1090 </file>
1091 </activation>
1092 <build>
1093 <plugins>
1094 <plugin>
1095 <groupId>org.opendaylight.yangtools</groupId>
1096 <artifactId>yang-maven-plugin</artifactId>
1097 <version>2.1.8</version>
1098 <dependencies>
1099 <dependency>
1100 <groupId>org.opendaylight.mdsal</groupId>
1101 <artifactId>maven-sal-api-gen-plugin</artifactId>
1102 <version>${odl.mdsal.model.version}</version>
1103 <type>jar</type>
1104 </dependency>
1105 <dependency>
1106 <groupId>org.opendaylight.netconf</groupId>
1107 <artifactId>sal-rest-docgen-maven</artifactId>
1108 <version>${odl.netconf.sal.rest.docgen.version}</version>
1109 <type>jar</type>
1110 </dependency>
1111 </dependencies>
1112 <executions>
1113 <execution>
Singal, Kapil (ks220y)704554f2020-01-20 15:12:43 -05001114 <id>binding</id>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001115 <goals>
1116 <goal>generate-sources</goal>
1117 </goals>
1118 <configuration>
1119 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
1120 <codeGenerators>
1121 <generator>
1122 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
1123 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
1124 </generator>
1125 <generator>
1126 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
1127 <outputBaseDir>target/swagger</outputBaseDir>
1128 </generator>
1129 </codeGenerators>
1130 <inspectDependencies>true</inspectDependencies>
1131 </configuration>
1132 </execution>
1133 </executions>
1134 </plugin>
1135 </plugins>
1136 </build>
1137 </profile>
Timoney, Dan (dt5972)3beea0e2018-12-18 16:05:41 -05001138
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001139 </profiles>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001140</project>