blob: c668c5b484c3ce06154a0ae9fa926784a934e299 [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.mdsal</groupId>
10 <artifactId>binding-parent</artifactId>
11 <version>3.0.8</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>binding-parent</artifactId>
17 <version>1.5.1-SNAPSHOT</version>
18 <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
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050044 <!-- properties from oparent -->
45 <maven.compiler.source>1.8</maven.compiler.source>
46 <maven.compiler.target>1.8</maven.compiler.target>
47 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
48 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
49 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
50 <!-- sitePath may be overridden in the inheriting POM if desired -->
51 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
52 <jacoco.version>0.7.7.201606060606</jacoco.version>
53 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
54 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
55 <!-- Default Sonar configuration -->
56 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
57 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040058 below -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050059 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
60 <!-- If following file exist, auto-generation of swagger.json will be done -->
61 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
62 <!-- If following file exist, auto-generation of sdk will be done -->
63 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
64 <!-- end of properties from oparent -->
Dan Timoney0f2db3f2018-01-25 16:23:27 -050065
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050066 <!-- ONAP repositories -->
67 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
68 <onap.nexus.port>443</onap.nexus.port>
69 <onap.nexus.protocol>https</onap.nexus.protocol>
70 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
71 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
72 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
73 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
74 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
75 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050076
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050077 <!-- OpenDaylight repositories -->
78 <opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
79 <opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050080
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050081 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
82 <java.version.source>1.8</java.version.source>
83 <java.version.target>1.8</java.version.target>
84 <bundle.plugin.version>2.5.0</bundle.plugin.version>
85 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
86 <features.file>features.xml</features.file>
87 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
88 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
89 <checkstyle.skip>true</checkstyle.skip>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050090
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050091 <sonar.language>java</sonar.language>
92 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
93 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
94 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
95 <sonar.projectVersion>${project.version}</sonar.projectVersion>
Dan Timoney0f2db3f2018-01-25 16:23:27 -050096
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -050097 <!-- CCSDK component versions -->
98 <ccsdk.sli.core.version>0.7.0-SNAPSHOT</ccsdk.sli.core.version>
99 <ccsdk.sli.adaptors.version>0.7.0-SNAPSHOT</ccsdk.sli.adaptors.version>
100 <ccsdk.sli.northbound.version>0.7.0-SNAPSHOT</ccsdk.sli.northbound.version>
101 <ccsdk.sli.plugins.version>0.7.0-SNAPSHOT</ccsdk.sli.plugins.version>
102 <ccsdk.distribution.version>0.7.0-SNAPSHOT</ccsdk.distribution.version>
103 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
104 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
105 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
106 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
107 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500108
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500109 <!-- Support libraries used by OpenDaylight -->
110 <odl.controller.mdsal.version>1.9.1</odl.controller.mdsal.version>
111 <odl.mdsal.version>3.0.8</odl.mdsal.version>
112 <odl.mdsal.model.version>1.0.8</odl.mdsal.model.version>
113 <odl.netconf.restconf.version>1.9.1</odl.netconf.restconf.version>
114 <odl.netconf.netconf.version>1.6.1</odl.netconf.netconf.version>
115 <odl.netconf.sal.rest.docgen.version>1.9.1</odl.netconf.sal.rest.docgen.version>
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400116
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500117 <!-- Used by aaa, vtn -->
118 <commons.codec.version>1.12</commons.codec.version>
119 <!-- Used by netconf, ovsdb -->
120 <commons.lang3.version>3.8.1</commons.lang3.version>
121 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
122 <commons.lang.version>2.6</commons.lang.version>
123 <!-- Used by neutron; see also controller, vtn -->
124 <commons.net.version>3.6</commons.net.version>
125 <!-- Used by neutron -->
126 <eclipse.persistence.version>2.7.3</eclipse.persistence.version>
127 <!-- Used by aaa -->
128 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
129 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
130 <gson.version>2.8.5</gson.version>
131 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
132 <guava.version>25.1-jre</guava.version>
133 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400134 integration/distribution, snmp4sdn, toolkit, ttp -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500135 <jackson.version>2.9.8</jackson.version>
136 <!-- Used by snmp4sdn, yangtools -->
137 <javassist.version>3.24.1-GA</javassist.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500138
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500139 <!-- FIXME remove all dependencies for jersey 1.17 after migration all
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400140 projects -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500141 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all,
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400142 snmp4sdn, toolkit -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500143 <jersey.version>2.25.1</jersey.version>
144 <!-- Used by sfc -->
145 <jersey.client.version>2.25.1</jersey.client.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500146
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500147 <!-- New packages for jersey migration 1.17 to 2.8 -->
148 <!-- appache.geronimo.bundle for DocGen -->
149 <!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
150 <org.json.version>20131018</org.json.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500151
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500152 <!-- Used everywhere -->
153 <junit.version>4.12</junit.version>
154 <!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
155 <logback.version>1.2.3</logback.version>
156 <!-- Used by nic, sfc, sxp, tsdr -->
157 <mockito.version>1.10.19</mockito.version>
158 <!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
159 <netty.version>4.1.34.Final</netty.version>
160 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity,
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400161 toolkit -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500162 <slf4j.version>1.7.25</slf4j.version>
163 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit,
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400164 tsdr, ttp -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500165 <spring.version>4.3.24.RELEASE</spring.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500166
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500167 <!-- Extra support libraries used by SDN-C -->
168 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
169 <antlr.version>4.7.2</antlr.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500170
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500171 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
Timoney, Dan (dt5972)ebc00be2018-03-21 09:00:19 -0400172
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500173 <!-- Managed dependency versions -->
174 <apache.httpcomponents.core.version>4.4.10</apache.httpcomponents.core.version>
175 <apache.httpcomponents.client.version>4.5.6</apache.httpcomponents.client.version>
176 <derby.version>10.14.2.0</derby.version>
177 <eelf.version>1.0.0</eelf.version>
178 <grpc.version>1.17.1</grpc.version>
179 <mariadb.connector.version>2.1.1</mariadb.connector.version>
180 <mariadb4j.version>2.2.3</mariadb4j.version>
181 <testng.version>6.11</testng.version>
182 <tomcat-jdbc.version>9.0.27</tomcat-jdbc.version>
183 <jetty.version>9.4.12.v20180830</jetty.version>
184 <skip.karaf.featureTest>true</skip.karaf.featureTest>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500185
186 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500187 </properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500188
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500189 <dependencyManagement>
190 <dependencies>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400191
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500192 <!-- Note: If value in BOM conflicts with value inherited from
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400193 parent pom, inherited value takes precedence. This seems more like
194 a bug than a feature, but this is how maven 3.6 works -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500195 <dependency>
196 <groupId>org.onap.ccsdk.parent</groupId>
197 <artifactId>dependencies-odl-bom</artifactId>
Singal, Kapil (ks220y)17d2d572019-12-05 14:12:45 -0500198 <version>1.5.1-SNAPSHOT</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500199 <type>pom</type>
200 <scope>import</scope>
201 </dependency>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400202
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500203 <!-- Override incorrect versions in ODL parent poms -->
204 <!-- to match versions actually installed in ODL Neon -->
205 <dependency>
206 <groupId>com.google.protobuf</groupId>
207 <artifactId>protobuf-java</artifactId>
208 <version>3.6.1</version>
209 </dependency>
210 <dependency>
211 <groupId>io.netty</groupId>
212 <artifactId>netty-transport</artifactId>
213 <version>4.1.34.Final</version>
214 </dependency>
215 <dependency>
216 <groupId>io.netty</groupId>
217 <artifactId>netty-all</artifactId>
218 <version>4.1.34.Final</version>
219 <!-- <version>${netty.version}</version> -->
220 </dependency>
221 <dependency>
222 <groupId>junit</groupId>
223 <artifactId>junit</artifactId>
224 <version>4.12</version>
225 <scope>test</scope>
226 </dependency>
227 <dependency>
228 <groupId>org.eclipse.jetty</groupId>
229 <artifactId>jetty-server</artifactId>
230 <version>9.4.12.v20180830</version>
231 </dependency>
232 <dependency>
233 <groupId>org.eclipse.jetty</groupId>
234 <artifactId>jetty-servlets</artifactId>
235 <version>9.4.12.v20180830</version>
236 </dependency>
237 <dependency>
238 <groupId>org.glassfish.jersey.bundles.repackaged</groupId>
239 <artifactId>jersey-guava</artifactId>
240 <version>2.25.1</version>
241 </dependency>
242 <dependency>
243 <groupId>org.codehaus.jettison</groupId>
244 <artifactId>jettison</artifactId>
245 <version>1.3.8</version>
246 </dependency>
247 <dependency>
248 <groupId>org.onap.logging-analytics</groupId>
249 <artifactId>logging-slf4j</artifactId>
250 <version>1.6.1</version>
251 </dependency>
252 <dependency>
253 <groupId>org.onap.logging-analytics</groupId>
254 <artifactId>logging-filter-base</artifactId>
255 <version>1.6.1</version>
256 </dependency>
257 </dependencies>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400258
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500259 </dependencyManagement>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400260
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500261 <repositories>
262 <repository>
263 <id>onap-public</id>
264 <url>https://nexus.onap.org/content/groups/public</url>
265 <releases>
266 <enabled>true</enabled>
267 <updatePolicy>never</updatePolicy>
268 </releases>
269 <snapshots>
270 <enabled>true</enabled>
271 <updatePolicy>always</updatePolicy>
272 </snapshots>
273 </repository>
274 <repository>
275 <id>onap-staging</id>
276 <url>https://nexus.onap.org/content/groups/staging</url>
277 <releases>
278 <enabled>true</enabled>
279 <updatePolicy>never</updatePolicy>
280 </releases>
281 <snapshots>
282 <enabled>true</enabled>
283 <updatePolicy>always</updatePolicy>
284 </snapshots>
285 </repository>
286 <repository>
287 <id>ecomp-release</id>
288 <name>onap-repository-releases</name>
289 <url>https://nexus.onap.org/content/repositories/releases</url>
290 <releases>
291 <enabled>true</enabled>
292 <updatePolicy>never</updatePolicy>
293 </releases>
294 <snapshots>
295 <enabled>false</enabled>
296 </snapshots>
297 </repository>
298 <repository>
299 <id>ecomp-snapshot</id>
300 <name>onap-repository-snapshots</name>
301 <url>https://nexus.onap.org/content/repositories/snapshots</url>
302 <releases>
303 <enabled>false</enabled>
304 </releases>
305 <snapshots>
306 <enabled>true</enabled>
307 </snapshots>
308 </repository>
309 <repository>
310 <id>opendaylight-mirror</id>
311 <name>opendaylight-mirror</name>
312 <url>https://nexus.opendaylight.org/content/repositories/public/</url>
313 <releases>
314 <enabled>true</enabled>
315 <updatePolicy>never</updatePolicy>
316 </releases>
317 <snapshots>
318 <enabled>false</enabled>
319 </snapshots>
320 </repository>
321 <repository>
322 <id>opendaylight-snapshot</id>
323 <name>opendaylight-snapshot</name>
324 <url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
325 <releases>
326 <enabled>false</enabled>
327 </releases>
328 <snapshots>
329 <enabled>true</enabled>
330 </snapshots>
331 </repository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400332
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500333 </repositories>
334 <pluginRepositories>
335 <pluginRepository>
336 <id>onap-public</id>
337 <url>${onap.nexus.public-url}</url>
338 <releases>
339 <enabled>true</enabled>
340 </releases>
341 <snapshots>
342 <enabled>true</enabled>
343 </snapshots>
344 </pluginRepository>
345 <pluginRepository>
346 <id>onap-staging</id>
347 <url>${onap.nexus.staging-url}</url>
348 <releases>
349 <enabled>true</enabled>
350 </releases>
351 <snapshots>
352 <enabled>true</enabled>
353 </snapshots>
354 </pluginRepository>
355 <pluginRepository>
356 <id>onap-snapshot</id>
357 <url>${onap.nexus.snapshot-url}</url>
358 <releases>
359 <enabled>false</enabled>
360 </releases>
361 <snapshots>
362 <enabled>true</enabled>
363 </snapshots>
364 </pluginRepository>
365 <pluginRepository>
366 <id>opendaylight-mirror</id>
367 <name>opendaylight-mirror</name>
368 <url>${opendaylight.nexus.public-url}</url>
369 <releases>
370 <enabled>true</enabled>
371 <updatePolicy>never</updatePolicy>
372 </releases>
373 <snapshots>
374 <enabled>false</enabled>
375 </snapshots>
376 </pluginRepository>
377 <pluginRepository>
378 <id>opendaylight-snapshot</id>
379 <name>opendaylight-snapshot</name>
380 <url>${opendaylight.nexus.snapshot-url}</url>
381 <releases>
382 <enabled>false</enabled>
383 </releases>
384 <snapshots>
385 <enabled>true</enabled>
386 </snapshots>
387 </pluginRepository>
388 <!-- Black Duck plugin dependencies -->
389 <pluginRepository>
390 <id>JCenter</id>
391 <name>JCenter Repository</name>
392 <url>http://jcenter.bintray.com</url>
393 </pluginRepository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400394
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500395 <pluginRepository>
396 <id>Restlet</id>
397 <name>Restlet Repository</name>
398 <url>http://maven.restlet.com</url>
399 </pluginRepository>
400 </pluginRepositories>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400401
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500402 <build>
403 <pluginManagement>
404 <plugins>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400405
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500406 <!-- Plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400407
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500408 <plugin>
409 <groupId>org.apache.maven.plugins</groupId>
410 <artifactId>maven-deploy-plugin</artifactId>
411 <!-- This version supports the "deployAtEnd" parameter -->
412 <version>2.8</version>
413 <configuration>
414 <skip/>
415 </configuration>
416 </plugin>
417 <plugin>
418 <groupId>org.apache.maven.plugins</groupId>
419 <artifactId>maven-site-plugin</artifactId>
420 <version>3.6</version>
421 <dependencies>
422 <dependency>
423 <groupId>org.apache.maven.wagon</groupId>
424 <artifactId>wagon-webdav-jackrabbit</artifactId>
425 <version>2.10</version>
426 </dependency>
427 </dependencies>
428 </plugin>
429 <plugin>
430 <groupId>org.apache.maven.plugins</groupId>
431 <artifactId>maven-enforcer-plugin</artifactId>
432 <version>3.0.0-M2</version>
433 <executions>
434 <execution>
435 <id>enforce-property</id>
436 <goals>
437 <goal>enforce</goal>
438 </goals>
439 <configuration>
440 <rules>
441 <requireProperty>
442 <property>onap.nexus.url</property>
443 <message>You must set a onap.nexus.url property in your
444 ~/.m2/settings.xml. See oparent/settings.xml for an example.
445 </message>
446 </requireProperty>
447 </rules>
448 <fail>true</fail>
449 </configuration>
450 </execution>
451 <execution>
452 <id>enforce-no-snapshots</id>
453 <goals>
454 <goal>enforce</goal>
455 </goals>
456 <configuration>
457 <rules>
458 <requireReleaseDeps>
459 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
460 <onlyWhenRelease>true</onlyWhenRelease>
461 <level>WARN</level>
462 </requireReleaseDeps>
463 </rules>
464 </configuration>
465 </execution>
466 </executions>
467 </plugin>
468 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
469 <plugin>
470 <groupId>org.sonarsource.scanner.maven</groupId>
471 <artifactId>sonar-maven-plugin</artifactId>
472 <version>3.6.0.1398</version>
473 </plugin>
474 <!-- end of plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400475
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500476 <!-- Plugins from ONAP oparent -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400477
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500478 <plugin>
479 <groupId>org.jacoco</groupId>
480 <artifactId>jacoco-maven-plugin</artifactId>
481 <version>${jacoco.version}</version>
482 <configuration>
483 <!-- Note: This exclusion list should match <sonar.exclusions> property
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400484 above -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500485 <excludes>
486 <exclude>**/gen/**</exclude>
487 <exclude>**/generated-sources/**</exclude>
488 <exclude>**/yang-gen/**</exclude>
489 <exclude>**/pax/**</exclude>
490 </excludes>
491 </configuration>
492 <executions>
493 <!-- Prepares the property pointing to the JaCoCo runtime agent which
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400494 is passed as VM argument when Maven the Surefire plugin is executed. -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500495 <execution>
496 <id>pre-unit-test</id>
497 <goals>
498 <goal>prepare-agent</goal>
499 </goals>
500 <configuration>
501 <!-- Sets the path to the file which contains the execution data. -->
502 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
503 <!-- Sets the name of the property containing the settings for JaCoCo
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400504 runtime agent. -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500505 <propertyName>surefireArgLine</propertyName>
506 </configuration>
507 </execution>
508 <!-- Ensures that the code coverage report for unit tests is created
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400509 after unit tests have been run. -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500510 <execution>
511 <id>post-unit-test</id>
512 <phase>test</phase>
513 <goals>
514 <goal>report</goal>
515 </goals>
516 <configuration>
517 <!-- Sets the path to the file which contains the execution data. -->
518 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
519 <!-- Sets the output directory for the code coverage report. -->
520 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
521 </configuration>
522 </execution>
523 <execution>
524 <id>pre-integration-test</id>
525 <phase>pre-integration-test</phase>
526 <goals>
527 <goal>prepare-agent</goal>
528 </goals>
529 <configuration>
530 <!-- Sets the path to the file which contains the execution data. -->
531 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
532 <!-- Sets the name of the property containing the settings for JaCoCo
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400533 runtime agent. -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500534 <propertyName>failsafeArgLine</propertyName>
535 </configuration>
536 </execution>
537 <!-- Ensures that the code coverage report for integration tests after
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400538 integration tests have been run. -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500539 <execution>
540 <id>post-integration-test</id>
541 <phase>post-integration-test</phase>
542 <goals>
543 <goal>report</goal>
544 </goals>
545 <configuration>
546 <!-- Sets the path to the file which contains the execution data. -->
547 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
548 <!-- Sets the output directory for the code coverage report. -->
549 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
550 </configuration>
551 </execution>
552 </executions>
553 </plugin>
554 <plugin>
555 <groupId>org.apache.maven.plugins</groupId>
556 <artifactId>maven-surefire-plugin</artifactId>
557 <version>2.22.0</version>
558 <configuration>
559 <!-- Sets the VM argument line used when unit tests are run. -->
560 <argLine>${surefireArgLine}</argLine>
561 <!-- Excludes integration tests when unit tests are run. -->
562 <excludes>
563 <exclude>**/IT*.java</exclude>
564 </excludes>
565 </configuration>
566 </plugin>
567 <plugin>
568 <groupId>org.apache.maven.plugins</groupId>
569 <artifactId>maven-failsafe-plugin</artifactId>
570 <version>2.22.0</version>
571 <executions>
572 <!-- Ensures that both integration-test and verify goals of the Failsafe
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400573 Maven plugin are executed. -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500574 <execution>
575 <id>integration-tests</id>
576 <goals>
577 <goal>integration-test</goal>
578 <goal>verify</goal>
579 </goals>
580 <configuration>
581 <!-- Sets the VM argument line used when integration tests are run. -->
582 <argLine>${failsafeArgLine}</argLine>
583 </configuration>
584 </execution>
585 </executions>
586 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400587
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500588 <!-- End of plugins from ONAP oparent -->
589 <plugin>
590 <groupId>org.codehaus.mojo</groupId>
591 <artifactId>properties-maven-plugin</artifactId>
592 <version>1.0.0</version>
593 <executions>
594 <execution>
595 <goals>
596 <goal>set-system-properties</goal>
597 </goals>
598 <configuration>
599 <properties>
600 <property>
601 <name>maven.wagon.http.ssl.allowall</name>
602 <value>${ssl.allowall}</value>
603 </property>
604 <property>
605 <name>maven.wagon.http.ssl.insecure</name>
606 <value>${ssl.insecure}</value>
607 </property>
608 </properties>
609 </configuration>
610 </execution>
611 </executions>
612 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400613
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500614 <plugin>
615 <groupId>org.codehaus.mojo</groupId>
616 <artifactId>versions-maven-plugin</artifactId>
617 <version>2.5</version>
618 <configuration>
619 <processAllModules>true</processAllModules>
620 </configuration>
621 </plugin>
622 <plugin>
623 <artifactId>maven-scm-plugin</artifactId>
624 <version>1.8.1</version>
625 <configuration>
626 <tag>${project.artifactId}-${project.version}</tag>
627 </configuration>
628 </plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500629 <plugin>
630 <groupId>com.github.ferstl</groupId>
631 <artifactId>depgraph-maven-plugin</artifactId>
632 <version>3.3.0</version>
633 <configuration>
634 <graphFormat>text</graphFormat>
635 <outputFileName>${dependency-list.file}</outputFileName>
636 <outputDirectory>${project.basedir}</outputDirectory>
637 <transitiveExcludes>*</transitiveExcludes>
638 <showVersions>true</showVersions>
639 </configuration>
640 </plugin>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500641 </plugins>
642 </pluginManagement>
643 <plugins>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400644
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500645 <!-- Plugins from oparent version (parent of oparent) -->
646 <plugin>
647 <groupId>org.apache.maven.plugins</groupId>
648 <artifactId>maven-deploy-plugin</artifactId>
649 </plugin>
650 <plugin>
651 <groupId>org.apache.maven.plugins</groupId>
652 <artifactId>maven-site-plugin</artifactId>
653 </plugin>
654 <plugin>
655 <groupId>org.apache.maven.plugins</groupId>
656 <artifactId>maven-enforcer-plugin</artifactId>
657 </plugin>
658 <!-- end of plugins from oparent version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400659
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500660 <!-- Plugins from oparent -->
661 <plugin>
662 <artifactId>maven-checkstyle-plugin</artifactId>
663 <version>2.17</version>
664 <dependencies>
665 <dependency>
666 <groupId>org.onap.oparent</groupId>
667 <artifactId>checkstyle</artifactId>
668 <version>1.2.2</version>
669 </dependency>
670 </dependencies>
671 <executions>
672 <execution>
673 <id>onap-license</id>
674 <goals>
675 <goal>check</goal>
676 </goals>
677 <phase>process-sources</phase>
678 <configuration>
679 <configLocation>onap-checkstyle/check-license.xml</configLocation>
680 <includeResources>false</includeResources>
681 <includeTestSourceDirectory>true</includeTestSourceDirectory>
682 <includeTestResources>false</includeTestResources>
683 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
684 <excludes>
685 </excludes>
686 <consoleOutput>true</consoleOutput>
687 <failOnViolation>false</failOnViolation>
688 </configuration>
689 </execution>
690 <execution>
691 <id>onap-java-style</id>
692 <goals>
693 <goal>check</goal>
694 </goals>
695 <phase>process-sources</phase>
696 <configuration>
697 <!-- 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 -0400698 with minor changes -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500699 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
700 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400701 sources directory -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500702 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
703 <includeResources>true</includeResources>
704 <includeTestSourceDirectory>true</includeTestSourceDirectory>
705 <includeTestResources>true</includeTestResources>
706 <excludes>
707 </excludes>
708 <consoleOutput>true</consoleOutput>
709 <failOnViolation>false</failOnViolation>
710 </configuration>
711 </execution>
712 </executions>
713 </plugin>
714 <plugin>
715 <groupId>org.codehaus.mojo</groupId>
716 <artifactId>build-helper-maven-plugin</artifactId>
717 <version>1.12</version>
718 </plugin>
719 <!-- Jacoco / Sonar -->
720 <plugin>
721 <groupId>org.jacoco</groupId>
722 <artifactId>jacoco-maven-plugin</artifactId>
723 </plugin>
724 <plugin>
725 <groupId>org.apache.maven.plugins</groupId>
726 <artifactId>maven-surefire-plugin</artifactId>
727 </plugin>
728 <plugin>
729 <groupId>org.apache.maven.plugins</groupId>
730 <artifactId>maven-failsafe-plugin</artifactId>
731 </plugin>
732 <!-- end of plugins from oparent -->
733 <plugin>
734 <groupId>org.apache.maven.plugins</groupId>
735 <artifactId>maven-javadoc-plugin</artifactId>
736 <version>2.10.4</version>
737 <executions>
738 <execution>
739 <id>attach-javadocs</id>
740 <goals>
741 <goal>jar</goal>
742 </goals>
743 <configuration>
744 <additionalparam>-Xdoclint:none</additionalparam>
745 </configuration>
746 </execution>
747 </executions>
748 </plugin>
749 </plugins>
750 </build>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400751
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500752 <reporting>
753 <plugins>
754 <plugin>
755 <artifactId>maven-javadoc-plugin</artifactId>
756 <version>2.10.4</version>
757 <configuration>
758 <failOnError>false</failOnError>
759 <additionalparam>-Xdoclint:none</additionalparam>
760 </configuration>
761 </plugin>
762 </plugins>
763 </reporting>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400764
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500765 <profiles>
766 <!-- Profiles from ONAP oparent -->
767 <profile>
768 <id>generate-json</id>
769 <activation>
770 <file>
771 <exists>${swagger-properties}</exists>
772 </file>
773 <property>
774 <name>swagger-sdk.generate-json</name>
775 </property>
776 </activation>
777 <build>
778 <plugins>
779 <plugin>
780 <groupId>org.codehaus.mojo</groupId>
781 <artifactId>properties-maven-plugin</artifactId>
782 <version>1.0.0</version>
783 <executions>
784 <execution>
785 <phase>initialize</phase>
786 <goals>
787 <goal>read-project-properties</goal>
788 </goals>
789 <configuration>
790 <files>
791 <file>${basedir}/src/main/resources/swagger.properties</file>
792 </files>
793 </configuration>
794 </execution>
795 </executions>
796 </plugin>
797 <plugin>
798 <groupId>com.github.kongchen</groupId>
799 <artifactId>swagger-maven-plugin</artifactId>
800 <version>3.1.4</version>
801 <configuration>
802 <apiSources>
803 <apiSource>
804 <locations>${api-rest-package}</locations>
805 <schemes>http,https</schemes>
806 <host>${api-host-ip}:${api-host-port}</host>
807 <basePath>${api-base-path}</basePath>
808 <info>
809 <title>${api-title}</title>
810 <version>${api-version}</version>
811 <description>${api-description}</description>
812 <license>
813 <name>${api-license}</name>
814 </license>
815 </info>
816 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
817 </apiSource>
818 </apiSources>
819 </configuration>
820 <executions>
821 <execution>
822 <phase>compile</phase>
823 <goals>
824 <goal>generate</goal>
825 </goals>
826 </execution>
827 </executions>
828 </plugin>
829 <plugin>
830 <groupId>org.apache.maven.plugins</groupId>
831 <artifactId>maven-install-plugin</artifactId>
832 <version>2.3.1</version>
833 <executions>
834 <execution>
835 <id>install-file-id</id>
836 <phase>install</phase>
837 <goals>
838 <goal>install-file</goal>
839 </goals>
840 <configuration>
841 <file>${basedir}/src/main/resources/swagger.json</file>
842 <groupId>${project.groupId}</groupId>
843 <artifactId>${project.artifactId}-swagger-schema</artifactId>
844 <version>${project.version}</version>
845 <packaging>json</packaging>
846 </configuration>
847 </execution>
848 </executions>
849 </plugin>
850 </plugins>
851 </build>
852 </profile>
853 <profile>
854 <id>generate-sdk</id>
855 <activation>
856 <file>
857 <exists>${swagger-json}</exists>
858 </file>
859 <property>
860 <name>swagger-sdk.generate-java-sdk</name>
861 </property>
862 </activation>
863 <build>
864 <plugins>
865 <plugin>
866 <groupId>org.apache.maven.plugins</groupId>
867 <artifactId>maven-antrun-plugin</artifactId>
868 <version>1.8</version>
869 <executions>
870 <execution>
871 <phase>initialize</phase>
872 <id>ant-create-script</id>
873 <configuration>
874 <exportAntProperties>true</exportAntProperties>
875 <tasks>
876 <taskdef resource="net/sf/antcontrib/antlib.xml"
877 classpathref="maven.plugin.classpath"/>
878 <condition property="is_windows" value="true">
879 <os family="windows"/>
880 </condition>
881 <condition property="isLinux" value="true">
882 <os family="unix"/>
883 </condition>
884 <if>
885 <equals arg1="${is_windows}" arg2="true"/>
886 <then>
887 <property name="swagger.sdk.script.file"
888 value="generated-source-script.bat"/>
889 <echo
890 file="${project.build.directory}${file.separator}generated-source-script.bat"
891 append="true"
892 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
893 <echo
894 file="${project.build.directory}${file.separator}generated-source-script.bat"
895 append="true"
896 message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
897 </then>
898 <else>
899 <property name="swagger.sdk.script.file"
900 value="generated-source-script.sh"/>
901 <echo
902 file="${project.build.directory}${file.separator}generated-source-script.sh"
903 append="true"
904 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
905 <echo
906 file="${project.build.directory}${file.separator}generated-source-script.sh"
907 append="true"
908 message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
909 <chmod
910 file="${project.build.directory}${file.separator}generated-source-script.sh"
911 perm="755"/>
912 </else>
913 </if>
914 </tasks>
915 </configuration>
916 <goals>
917 <goal>run</goal>
918 </goals>
919 </execution>
920 </executions>
921 <dependencies>
922 <dependency>
923 <groupId>ant-contrib</groupId>
924 <artifactId>ant-contrib</artifactId>
925 <version>1.0b3</version>
926 <exclusions>
927 <exclusion>
928 <groupId>ant</groupId>
929 <artifactId>ant</artifactId>
930 </exclusion>
931 </exclusions>
932 </dependency>
933 </dependencies>
934 </plugin>
935 <plugin>
936 <groupId>io.swagger</groupId>
937 <artifactId>swagger-codegen-maven-plugin</artifactId>
938 <version>2.2.1</version>
939 <executions>
940 <execution>
941 <goals>
942 <goal>generate</goal>
943 </goals>
944 <configuration>
945 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
946 <output>${project.build.directory}/generated-sources</output>
947 <language>java</language>
948 <configOptions>
949 <dateLibrary>joda</dateLibrary>
950 </configOptions>
951 <library>jersey2</library>
952 <groupId>${project.groupId}</groupId>
953 <artifactId>${project.artifactId}-java-sdk</artifactId>
954 <artifactVersion>${project.version}</artifactVersion>
955 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
956 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
957 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
958 </configuration>
959 </execution>
960 </executions>
961 </plugin>
962 <plugin>
963 <groupId>org.codehaus.mojo</groupId>
964 <artifactId>exec-maven-plugin</artifactId>
965 <version>1.5.0</version>
966 <executions>
967 <execution>
968 <id>swagger-generate-sources</id>
969 <phase>generate-sources</phase>
970 <goals>
971 <goal>exec</goal>
972 </goals>
973 <configuration>
974 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
975 </configuration>
976 </execution>
977 </executions>
978 </plugin>
979 <plugin>
980 <groupId>org.apache.maven.plugins</groupId>
981 <artifactId>maven-clean-plugin</artifactId>
982 <version>3.0.0</version>
983 <executions>
984 <execution>
985 <id>clean-generated-files</id>
986 <phase>generate-sources</phase>
987 <goals>
988 <goal>clean</goal>
989 </goals>
990 <configuration>
991 <filesets>
992 <fileset>
993 <directory>${project.build.directory}/generated-sources</directory>
994 </fileset>
995 </filesets>
996 </configuration>
997 </execution>
998 </executions>
999 </plugin>
1000 </plugins>
1001 </build>
1002 <dependencies>
1003 <dependency>
1004 <groupId>org.onap.msb.swagger-sdk</groupId>
1005 <artifactId>swagger-sdk</artifactId>
1006 <version>1.0.0</version>
1007 </dependency>
1008 </dependencies>
1009 </profile>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -05001010 <profile>
1011 <id>sonar-jacoco-aggregate</id>
1012 <activation>
1013 <property>
1014 <name>onap.jacoco.aggregateFile</name>
1015 </property>
1016 </activation>
1017 <build>
1018 <plugins>
1019 <plugin>
1020 <groupId>org.jacoco</groupId>
1021 <artifactId>jacoco-maven-plugin</artifactId>
1022 <executions>
1023 <execution>
1024 <id>merge</id>
1025 <goals>
1026 <goal>merge</goal>
1027 </goals>
1028 <phase>generate-resources</phase>
1029 <configuration>
1030 <destFile>${onap.jacoco.aggregateFile}</destFile>
1031 <fileSets>
1032 <fileSet>
1033 <directory>${project.basedir}</directory>
1034 <includes>
1035 <include>**/target/code-coverage/*.exec</include>
1036 </includes>
1037 </fileSet>
1038 </fileSets>
1039 </configuration>
1040 </execution>
1041 </executions>
1042 </plugin>
1043 </plugins>
1044 </build>
1045 </profile>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001046 <!-- End of profiles from ONAP oparent -->
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -04001047
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001048 <profile>
1049 <id>yang-compile</id>
1050 <activation>
1051 <file>
1052 <exists>src/main/yang</exists>
1053 </file>
1054 </activation>
1055 <build>
1056 <plugins>
1057 <plugin>
1058 <groupId>org.opendaylight.yangtools</groupId>
1059 <artifactId>yang-maven-plugin</artifactId>
1060 <version>2.1.8</version>
1061 <dependencies>
1062 <dependency>
1063 <groupId>org.opendaylight.mdsal</groupId>
1064 <artifactId>maven-sal-api-gen-plugin</artifactId>
1065 <version>${odl.mdsal.model.version}</version>
1066 <type>jar</type>
1067 </dependency>
1068 <dependency>
1069 <groupId>org.opendaylight.netconf</groupId>
1070 <artifactId>sal-rest-docgen-maven</artifactId>
1071 <version>${odl.netconf.sal.rest.docgen.version}</version>
1072 <type>jar</type>
1073 </dependency>
1074 </dependencies>
1075 <executions>
1076 <execution>
1077 <goals>
1078 <goal>generate-sources</goal>
1079 </goals>
1080 <configuration>
1081 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
1082 <codeGenerators>
1083 <generator>
1084 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
1085 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
1086 </generator>
1087 <generator>
1088 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
1089 <outputBaseDir>target/swagger</outputBaseDir>
1090 </generator>
1091 </codeGenerators>
1092 <inspectDependencies>true</inspectDependencies>
1093 </configuration>
1094 </execution>
1095 </executions>
1096 </plugin>
1097 </plugins>
1098 </build>
1099 </profile>
Dan Timoneyb75556a2018-02-22 17:14:21 -06001100
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001101 </profiles>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001102</project>