blob: 8c4fdb94cbacee11be36c2cb1c24103659aec74a [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>odlparent-lite</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>odlparent-lite</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>
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 -->
96 <logging-analytics.version>1.6.4</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 Timoneyd93c1302020-01-30 13:29:02 -050099 <ccsdk.cds.version>0.7.1-SNAPSHOT</ccsdk.cds.version>
100 <ccsdk.sli.core.version>0.7.1-SNAPSHOT</ccsdk.sli.core.version>
101 <ccsdk.sli.adaptors.version>0.7.1-SNAPSHOT</ccsdk.sli.adaptors.version>
102 <ccsdk.sli.northbound.version>0.7.1-SNAPSHOT</ccsdk.sli.northbound.version>
103 <ccsdk.sli.plugins.version>0.7.1-SNAPSHOT</ccsdk.sli.plugins.version>
104 <ccsdk.distribution.version>0.7.1-SNAPSHOT</ccsdk.distribution.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500105 <sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
106 <sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
107 <sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
108 <sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
109 <sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500110
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500111 <!-- Support libraries used by OpenDaylight -->
112 <odl.controller.mdsal.version>1.9.1</odl.controller.mdsal.version>
113 <odl.mdsal.version>3.0.8</odl.mdsal.version>
114 <odl.mdsal.model.version>1.0.8</odl.mdsal.model.version>
115 <odl.netconf.restconf.version>1.9.1</odl.netconf.restconf.version>
116 <odl.netconf.netconf.version>1.6.1</odl.netconf.netconf.version>
117 <odl.netconf.sal.rest.docgen.version>1.9.1</odl.netconf.sal.rest.docgen.version>
Timoney, Dan (dt5972)135e4072019-07-01 13:08:58 -0400118
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500119 <!-- Used by aaa, vtn -->
120 <commons.codec.version>1.12</commons.codec.version>
121 <!-- Used by netconf, ovsdb -->
122 <commons.lang3.version>3.8.1</commons.lang3.version>
123 <!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
124 <commons.lang.version>2.6</commons.lang.version>
125 <!-- Used by neutron; see also controller, vtn -->
126 <commons.net.version>3.6</commons.net.version>
127 <!-- Used by neutron -->
128 <eclipse.persistence.version>2.7.3</eclipse.persistence.version>
129 <!-- Used by aaa -->
130 <felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
131 <!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
132 <gson.version>2.8.5</gson.version>
133 <!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
134 <guava.version>25.1-jre</guava.version>
135 <!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all,
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400136 integration/distribution, snmp4sdn, toolkit, ttp -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500137 <jackson.version>2.9.8</jackson.version>
138 <!-- Used by snmp4sdn, yangtools -->
139 <javassist.version>3.24.1-GA</javassist.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500140
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500141 <!-- FIXME remove all dependencies for jersey 1.17 after migration all projects -->
142 <!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all, 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>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500160 <!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500161 <slf4j.version>1.7.25</slf4j.version>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500162 <!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, tsdr, ttp -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500163 <spring.version>4.3.24.RELEASE</spring.version>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500164
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500165 <!-- Extra support libraries used by SDN-C -->
166 <jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
167 <antlr.version>4.7.2</antlr.version>
Timoney, Dan (dt5972)ebc00be2018-03-21 09:00:19 -0400168
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500169 <eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>
Timoney, Dan (dt5972)2f4cbed2018-05-04 12:05:16 -0400170
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500171 <!-- Managed dependency versions -->
Timoney, Dan (dt5972)48f55772019-12-17 10:44:04 -0500172 <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version>
173 <apache.httpcomponents.client.version>4.5.10</apache.httpcomponents.client.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500174 <derby.version>10.14.2.0</derby.version>
175 <eelf.version>1.0.0</eelf.version>
Timoney, Dan (dt5972)48f55772019-12-17 10:44:04 -0500176 <grpc.version>1.21.1</grpc.version>
177 <mariadb.connector.version>2.4.4</mariadb.connector.version>
178 <mariadb4j.version>2.4.0</mariadb4j.version>
179 <testng.version>6.14.3</testng.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500180 <tomcat-jdbc.version>9.0.27</tomcat-jdbc.version>
181 <jetty.version>9.4.12.v20180830</jetty.version>
182 <skip.karaf.featureTest>true</skip.karaf.featureTest>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500183 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500184 </properties>
Dan Timoney0f2db3f2018-01-25 16:23:27 -0500185
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500186 <dependencyManagement>
187 <dependencies>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500188 <!-- Note: If value in BOM conflicts with value inherited from
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400189 parent pom, inherited value takes precedence. This seems more like
190 a bug than a feature, but this is how maven 3.6 works -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500191 <dependency>
192 <groupId>org.onap.ccsdk.parent</groupId>
193 <artifactId>dependencies-odl-bom</artifactId>
Dan Timoneyd5fccc72020-01-23 14:06:18 -0500194 <version>1.5.2-SNAPSHOT</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500195 <type>pom</type>
196 <scope>import</scope>
197 </dependency>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500198 <dependency>
199 <groupId>org.onap.logging-analytics</groupId>
200 <artifactId>logging-slf4j</artifactId>
Smokowski, Kevin (ks6305)9548ff82020-02-06 18:33:18 +0000201 <version>${logging-analytics.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500202 </dependency>
203 <dependency>
204 <groupId>org.onap.logging-analytics</groupId>
205 <artifactId>logging-filter-base</artifactId>
Smokowski, Kevin (ks6305)9548ff82020-02-06 18:33:18 +0000206 <version>${logging-analytics.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500207 </dependency>
208 </dependencies>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500209 </dependencyManagement>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400210
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500211 <repositories>
212 <repository>
213 <id>onap-public</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500214 <url>${onap.nexus.public-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500215 <releases>
216 <enabled>true</enabled>
217 <updatePolicy>never</updatePolicy>
218 </releases>
219 <snapshots>
220 <enabled>true</enabled>
221 <updatePolicy>always</updatePolicy>
222 </snapshots>
223 </repository>
224 <repository>
225 <id>onap-staging</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500226 <url>${onap.nexus.staging-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500227 <releases>
228 <enabled>true</enabled>
229 <updatePolicy>never</updatePolicy>
230 </releases>
231 <snapshots>
232 <enabled>true</enabled>
233 <updatePolicy>always</updatePolicy>
234 </snapshots>
235 </repository>
236 <repository>
237 <id>ecomp-release</id>
238 <name>onap-repository-releases</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500239 <url>${onap.nexus.release-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500240 <releases>
241 <enabled>true</enabled>
242 <updatePolicy>never</updatePolicy>
243 </releases>
244 <snapshots>
245 <enabled>false</enabled>
246 </snapshots>
247 </repository>
248 <repository>
249 <id>ecomp-snapshot</id>
250 <name>onap-repository-snapshots</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500251 <url>${onap.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500252 <releases>
253 <enabled>false</enabled>
254 </releases>
255 <snapshots>
256 <enabled>true</enabled>
257 </snapshots>
258 </repository>
259 <repository>
260 <id>opendaylight-mirror</id>
261 <name>opendaylight-mirror</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500262 <url>${opendaylight.nexus.public-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500263 <releases>
264 <enabled>true</enabled>
265 <updatePolicy>never</updatePolicy>
266 </releases>
267 <snapshots>
268 <enabled>false</enabled>
269 </snapshots>
270 </repository>
271 <repository>
272 <id>opendaylight-snapshot</id>
273 <name>opendaylight-snapshot</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500274 <url>${opendaylight.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500275 <releases>
276 <enabled>false</enabled>
277 </releases>
278 <snapshots>
279 <enabled>true</enabled>
280 </snapshots>
281 </repository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400282
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500283 </repositories>
284 <pluginRepositories>
285 <pluginRepository>
286 <id>onap-public</id>
287 <url>${onap.nexus.public-url}</url>
288 <releases>
289 <enabled>true</enabled>
290 </releases>
291 <snapshots>
292 <enabled>true</enabled>
293 </snapshots>
294 </pluginRepository>
295 <pluginRepository>
296 <id>onap-staging</id>
297 <url>${onap.nexus.staging-url}</url>
298 <releases>
299 <enabled>true</enabled>
300 </releases>
301 <snapshots>
302 <enabled>true</enabled>
303 </snapshots>
304 </pluginRepository>
305 <pluginRepository>
306 <id>onap-snapshot</id>
307 <url>${onap.nexus.snapshot-url}</url>
308 <releases>
309 <enabled>false</enabled>
310 </releases>
311 <snapshots>
312 <enabled>true</enabled>
313 </snapshots>
314 </pluginRepository>
315 <pluginRepository>
316 <id>opendaylight-mirror</id>
317 <name>opendaylight-mirror</name>
318 <url>${opendaylight.nexus.public-url}</url>
319 <releases>
320 <enabled>true</enabled>
321 <updatePolicy>never</updatePolicy>
322 </releases>
323 <snapshots>
324 <enabled>false</enabled>
325 </snapshots>
326 </pluginRepository>
327 <pluginRepository>
328 <id>opendaylight-snapshot</id>
329 <name>opendaylight-snapshot</name>
330 <url>${opendaylight.nexus.snapshot-url}</url>
331 <releases>
332 <enabled>false</enabled>
333 </releases>
334 <snapshots>
335 <enabled>true</enabled>
336 </snapshots>
337 </pluginRepository>
338 <!-- Black Duck plugin dependencies -->
339 <pluginRepository>
340 <id>JCenter</id>
341 <name>JCenter Repository</name>
342 <url>http://jcenter.bintray.com</url>
343 </pluginRepository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400344
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500345 <pluginRepository>
346 <id>Restlet</id>
347 <name>Restlet Repository</name>
348 <url>http://maven.restlet.com</url>
349 </pluginRepository>
350 </pluginRepositories>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400351
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500352 <build>
353 <pluginManagement>
354 <plugins>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500355 <!-- Plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500356 <plugin>
357 <groupId>org.apache.maven.plugins</groupId>
358 <artifactId>maven-deploy-plugin</artifactId>
359 <!-- This version supports the "deployAtEnd" parameter -->
360 <version>2.8</version>
361 <configuration>
362 <skip/>
363 </configuration>
364 </plugin>
365 <plugin>
366 <groupId>org.apache.maven.plugins</groupId>
367 <artifactId>maven-site-plugin</artifactId>
368 <version>3.6</version>
369 <dependencies>
370 <dependency>
371 <groupId>org.apache.maven.wagon</groupId>
372 <artifactId>wagon-webdav-jackrabbit</artifactId>
373 <version>2.10</version>
374 </dependency>
375 </dependencies>
376 </plugin>
377 <plugin>
378 <groupId>org.apache.maven.plugins</groupId>
379 <artifactId>maven-enforcer-plugin</artifactId>
380 <version>3.0.0-M2</version>
381 <executions>
382 <execution>
383 <id>enforce-property</id>
384 <goals>
385 <goal>enforce</goal>
386 </goals>
387 <configuration>
388 <rules>
389 <requireProperty>
390 <property>onap.nexus.url</property>
391 <message>You must set a onap.nexus.url property in your
392 ~/.m2/settings.xml. See oparent/settings.xml for an example.
393 </message>
394 </requireProperty>
395 </rules>
396 <fail>true</fail>
397 </configuration>
398 </execution>
399 <execution>
400 <id>enforce-no-snapshots</id>
401 <goals>
402 <goal>enforce</goal>
403 </goals>
404 <configuration>
405 <rules>
406 <requireReleaseDeps>
407 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
408 <onlyWhenRelease>true</onlyWhenRelease>
409 <level>WARN</level>
410 </requireReleaseDeps>
411 </rules>
412 </configuration>
413 </execution>
414 </executions>
415 </plugin>
416 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
417 <plugin>
418 <groupId>org.sonarsource.scanner.maven</groupId>
419 <artifactId>sonar-maven-plugin</artifactId>
Dan Timoney621888e2020-01-17 09:54:02 -0500420 <version>${sonar.scanner.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500421 </plugin>
422 <!-- end of plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400423
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500424 <!-- Plugins from ONAP oparent -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500425 <plugin>
426 <groupId>org.apache.maven.plugins</groupId>
427 <artifactId>maven-surefire-plugin</artifactId>
428 <version>2.22.0</version>
429 <configuration>
430 <!-- Sets the VM argument line used when unit tests are run. -->
431 <argLine>${surefireArgLine}</argLine>
432 <!-- Excludes integration tests when unit tests are run. -->
433 <excludes>
434 <exclude>**/IT*.java</exclude>
435 </excludes>
436 </configuration>
437 </plugin>
438 <plugin>
439 <groupId>org.apache.maven.plugins</groupId>
440 <artifactId>maven-failsafe-plugin</artifactId>
441 <version>2.22.0</version>
442 <executions>
443 <!-- Ensures that both integration-test and verify goals of the Failsafe
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400444 Maven plugin are executed. -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500445 <execution>
446 <id>integration-tests</id>
447 <goals>
448 <goal>integration-test</goal>
449 <goal>verify</goal>
450 </goals>
451 <configuration>
452 <!-- Sets the VM argument line used when integration tests are run. -->
453 <argLine>${failsafeArgLine}</argLine>
454 </configuration>
455 </execution>
456 </executions>
457 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400458
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500459 <!-- End of plugins from ONAP oparent -->
460 <plugin>
461 <groupId>org.codehaus.mojo</groupId>
462 <artifactId>properties-maven-plugin</artifactId>
463 <version>1.0.0</version>
464 <executions>
465 <execution>
466 <goals>
467 <goal>set-system-properties</goal>
468 </goals>
469 <configuration>
470 <properties>
471 <property>
472 <name>maven.wagon.http.ssl.allowall</name>
473 <value>${ssl.allowall}</value>
474 </property>
475 <property>
476 <name>maven.wagon.http.ssl.insecure</name>
477 <value>${ssl.insecure}</value>
478 </property>
479 </properties>
480 </configuration>
481 </execution>
482 </executions>
483 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400484
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500485 <plugin>
486 <groupId>org.codehaus.mojo</groupId>
487 <artifactId>versions-maven-plugin</artifactId>
488 <version>2.5</version>
489 <configuration>
490 <processAllModules>true</processAllModules>
491 </configuration>
492 </plugin>
493 <plugin>
494 <artifactId>maven-scm-plugin</artifactId>
495 <version>1.8.1</version>
496 <configuration>
497 <tag>${project.artifactId}-${project.version}</tag>
498 </configuration>
499 </plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500500 <plugin>
501 <groupId>com.github.ferstl</groupId>
502 <artifactId>depgraph-maven-plugin</artifactId>
503 <version>3.3.0</version>
504 <configuration>
505 <graphFormat>text</graphFormat>
506 <outputFileName>${dependency-list.file}</outputFileName>
507 <outputDirectory>${project.basedir}</outputDirectory>
508 <transitiveExcludes>*</transitiveExcludes>
509 <showVersions>true</showVersions>
Timoney, Dan (dt5972)cc0c96a2019-12-11 10:04:52 -0500510 <showGroupIds>true</showGroupIds>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500511 </configuration>
512 </plugin>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500513 </plugins>
514 </pluginManagement>
515 <plugins>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400516
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500517 <!-- Plugins from oparent version (parent of oparent) -->
518 <plugin>
519 <groupId>org.apache.maven.plugins</groupId>
520 <artifactId>maven-deploy-plugin</artifactId>
521 </plugin>
522 <plugin>
523 <groupId>org.apache.maven.plugins</groupId>
524 <artifactId>maven-site-plugin</artifactId>
525 </plugin>
526 <plugin>
527 <groupId>org.apache.maven.plugins</groupId>
528 <artifactId>maven-enforcer-plugin</artifactId>
529 </plugin>
530 <!-- end of plugins from oparent version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400531
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500532 <!-- Plugins from oparent -->
533 <plugin>
534 <artifactId>maven-checkstyle-plugin</artifactId>
535 <version>2.17</version>
536 <dependencies>
537 <dependency>
538 <groupId>org.onap.oparent</groupId>
539 <artifactId>checkstyle</artifactId>
540 <version>1.2.2</version>
541 </dependency>
542 </dependencies>
543 <executions>
544 <execution>
545 <id>onap-license</id>
546 <goals>
547 <goal>check</goal>
548 </goals>
549 <phase>process-sources</phase>
550 <configuration>
551 <configLocation>onap-checkstyle/check-license.xml</configLocation>
552 <includeResources>false</includeResources>
553 <includeTestSourceDirectory>true</includeTestSourceDirectory>
554 <includeTestResources>false</includeTestResources>
555 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
556 <excludes>
557 </excludes>
558 <consoleOutput>true</consoleOutput>
559 <failOnViolation>false</failOnViolation>
560 </configuration>
561 </execution>
562 <execution>
563 <id>onap-java-style</id>
564 <goals>
565 <goal>check</goal>
566 </goals>
567 <phase>process-sources</phase>
568 <configuration>
569 <!-- 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 -0400570 with minor changes -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500571 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500572 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500573 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
574 <includeResources>true</includeResources>
575 <includeTestSourceDirectory>true</includeTestSourceDirectory>
576 <includeTestResources>true</includeTestResources>
577 <excludes>
578 </excludes>
579 <consoleOutput>true</consoleOutput>
580 <failOnViolation>false</failOnViolation>
581 </configuration>
582 </execution>
583 </executions>
584 </plugin>
585 <plugin>
586 <groupId>org.codehaus.mojo</groupId>
587 <artifactId>build-helper-maven-plugin</artifactId>
588 <version>1.12</version>
589 </plugin>
590 <!-- Jacoco / Sonar -->
591 <plugin>
592 <groupId>org.jacoco</groupId>
593 <artifactId>jacoco-maven-plugin</artifactId>
Dan Timoney621888e2020-01-17 09:54:02 -0500594 <version>${jacoco.version}</version>
595 <executions>
596 <execution>
597 <id>pre-unit-test</id>
598 <goals>
599 <goal>prepare-agent</goal>
600 </goals>
601 <configuration>
602 <!-- Sets the path to the file which contains the execution data. -->
603 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500604 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500605 <propertyName>surefireArgLine</propertyName>
606 </configuration>
607 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500608 <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500609 <execution>
610 <id>post-unit-test</id>
611 <phase>test</phase>
612 <goals>
613 <goal>report</goal>
614 </goals>
615 <configuration>
616 <!-- Sets the path to the file which contains the execution data. -->
617 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
618 <!-- Sets the output directory for the code coverage report. -->
619 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
620 </configuration>
621 </execution>
622 <execution>
623 <id>pre-integration-test</id>
624 <phase>pre-integration-test</phase>
625 <goals>
626 <goal>prepare-agent</goal>
627 </goals>
628 <configuration>
629 <!-- Sets the path to the file which contains the execution data. -->
630 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500631 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500632 <propertyName>failsafeArgLine</propertyName>
633 </configuration>
634 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500635 <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500636 <execution>
637 <id>post-integration-test</id>
638 <phase>post-integration-test</phase>
639 <goals>
640 <goal>report</goal>
641 </goals>
642 <configuration>
643 <!-- Sets the path to the file which contains the execution data. -->
644 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
645 <!-- Sets the output directory for the code coverage report. -->
646 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
647 </configuration>
648 </execution>
649 <execution>
650 <id>default-prepare-agent</id>
651 <goals>
652 <goal>prepare-agent</goal>
653 </goals>
654 </execution>
655 <execution>
656 <id>default-report</id>
657 <phase>prepare-package</phase>
658 <goals>
659 <goal>report</goal>
660 </goals>
661 </execution>
662 <execution>
663 <id>default-check</id>
664 <goals>
665 <goal>check</goal>
666 </goals>
667 <configuration>
668 <rules>
669 <rule>
670 <element>PACKAGE</element>
671 <limits>
672 <limit>
673 <counter>COMPLEXITY</counter>
674 <value>COVEREDRATIO</value>
675 <minimum>0.0</minimum>
676 </limit>
677 </limits>
678 </rule>
679 </rules>
680 </configuration>
681 </execution>
682 </executions>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500683 </plugin>
684 <plugin>
685 <groupId>org.apache.maven.plugins</groupId>
686 <artifactId>maven-surefire-plugin</artifactId>
687 </plugin>
688 <plugin>
689 <groupId>org.apache.maven.plugins</groupId>
690 <artifactId>maven-failsafe-plugin</artifactId>
691 </plugin>
692 <!-- end of plugins from oparent -->
693 <plugin>
694 <groupId>org.apache.maven.plugins</groupId>
695 <artifactId>maven-javadoc-plugin</artifactId>
696 <version>2.10.4</version>
697 <executions>
698 <execution>
699 <id>attach-javadocs</id>
700 <goals>
701 <goal>jar</goal>
702 </goals>
703 <configuration>
704 <additionalparam>-Xdoclint:none</additionalparam>
705 </configuration>
706 </execution>
707 </executions>
708 </plugin>
709 </plugins>
710 </build>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400711
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500712 <reporting>
713 <plugins>
714 <plugin>
715 <artifactId>maven-javadoc-plugin</artifactId>
716 <version>2.10.4</version>
717 <configuration>
718 <failOnError>false</failOnError>
719 <additionalparam>-Xdoclint:none</additionalparam>
720 </configuration>
721 </plugin>
Dan Timoney621888e2020-01-17 09:54:02 -0500722 <plugin>
723 <groupId>org.jacoco</groupId>
724 <artifactId>jacoco-maven-plugin</artifactId>
725 <version>${jacoco.version}</version>
726 <reportSets>
727 <reportSet>
728 <reports>
729 <!-- select non-aggregate reports -->
730 <report>report</report>
731 </reports>
732 </reportSet>
733 </reportSets>
734 </plugin>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500735 </plugins>
736 </reporting>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400737
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500738 <profiles>
739 <!-- Profiles from ONAP oparent -->
740 <profile>
741 <id>generate-json</id>
742 <activation>
743 <file>
744 <exists>${swagger-properties}</exists>
745 </file>
746 <property>
747 <name>swagger-sdk.generate-json</name>
748 </property>
749 </activation>
750 <build>
751 <plugins>
752 <plugin>
753 <groupId>org.codehaus.mojo</groupId>
754 <artifactId>properties-maven-plugin</artifactId>
755 <version>1.0.0</version>
756 <executions>
757 <execution>
758 <phase>initialize</phase>
759 <goals>
760 <goal>read-project-properties</goal>
761 </goals>
762 <configuration>
763 <files>
764 <file>${basedir}/src/main/resources/swagger.properties</file>
765 </files>
766 </configuration>
767 </execution>
768 </executions>
769 </plugin>
770 <plugin>
771 <groupId>com.github.kongchen</groupId>
772 <artifactId>swagger-maven-plugin</artifactId>
773 <version>3.1.4</version>
774 <configuration>
775 <apiSources>
776 <apiSource>
777 <locations>${api-rest-package}</locations>
778 <schemes>http,https</schemes>
779 <host>${api-host-ip}:${api-host-port}</host>
780 <basePath>${api-base-path}</basePath>
781 <info>
782 <title>${api-title}</title>
783 <version>${api-version}</version>
784 <description>${api-description}</description>
785 <license>
786 <name>${api-license}</name>
787 </license>
788 </info>
789 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
790 </apiSource>
791 </apiSources>
792 </configuration>
793 <executions>
794 <execution>
795 <phase>compile</phase>
796 <goals>
797 <goal>generate</goal>
798 </goals>
799 </execution>
800 </executions>
801 </plugin>
802 <plugin>
803 <groupId>org.apache.maven.plugins</groupId>
804 <artifactId>maven-install-plugin</artifactId>
805 <version>2.3.1</version>
806 <executions>
807 <execution>
808 <id>install-file-id</id>
809 <phase>install</phase>
810 <goals>
811 <goal>install-file</goal>
812 </goals>
813 <configuration>
814 <file>${basedir}/src/main/resources/swagger.json</file>
815 <groupId>${project.groupId}</groupId>
816 <artifactId>${project.artifactId}-swagger-schema</artifactId>
817 <version>${project.version}</version>
818 <packaging>json</packaging>
819 </configuration>
820 </execution>
821 </executions>
822 </plugin>
823 </plugins>
824 </build>
825 </profile>
826 <profile>
827 <id>generate-sdk</id>
828 <activation>
829 <file>
830 <exists>${swagger-json}</exists>
831 </file>
832 <property>
833 <name>swagger-sdk.generate-java-sdk</name>
834 </property>
835 </activation>
836 <build>
837 <plugins>
838 <plugin>
839 <groupId>org.apache.maven.plugins</groupId>
840 <artifactId>maven-antrun-plugin</artifactId>
841 <version>1.8</version>
842 <executions>
843 <execution>
844 <phase>initialize</phase>
845 <id>ant-create-script</id>
846 <configuration>
847 <exportAntProperties>true</exportAntProperties>
848 <tasks>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500849 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500850 <condition property="is_windows" value="true">
851 <os family="windows"/>
852 </condition>
853 <condition property="isLinux" value="true">
854 <os family="unix"/>
855 </condition>
856 <if>
857 <equals arg1="${is_windows}" arg2="true"/>
858 <then>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500859 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
860 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true"
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500861 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500862 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true"
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500863 message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
864 </then>
865 <else>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500866 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
867 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" 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.sh" append="true"
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500870 message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500871 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500872 </else>
873 </if>
874 </tasks>
875 </configuration>
876 <goals>
877 <goal>run</goal>
878 </goals>
879 </execution>
880 </executions>
881 <dependencies>
882 <dependency>
883 <groupId>ant-contrib</groupId>
884 <artifactId>ant-contrib</artifactId>
885 <version>1.0b3</version>
886 <exclusions>
887 <exclusion>
888 <groupId>ant</groupId>
889 <artifactId>ant</artifactId>
890 </exclusion>
891 </exclusions>
892 </dependency>
893 </dependencies>
894 </plugin>
895 <plugin>
896 <groupId>io.swagger</groupId>
897 <artifactId>swagger-codegen-maven-plugin</artifactId>
898 <version>2.2.1</version>
899 <executions>
900 <execution>
901 <goals>
902 <goal>generate</goal>
903 </goals>
904 <configuration>
905 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
906 <output>${project.build.directory}/generated-sources</output>
907 <language>java</language>
908 <configOptions>
909 <dateLibrary>joda</dateLibrary>
910 </configOptions>
911 <library>jersey2</library>
912 <groupId>${project.groupId}</groupId>
913 <artifactId>${project.artifactId}-java-sdk</artifactId>
914 <artifactVersion>${project.version}</artifactVersion>
915 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
916 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
917 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
918 </configuration>
919 </execution>
920 </executions>
921 </plugin>
922 <plugin>
923 <groupId>org.codehaus.mojo</groupId>
924 <artifactId>exec-maven-plugin</artifactId>
925 <version>1.5.0</version>
926 <executions>
927 <execution>
928 <id>swagger-generate-sources</id>
929 <phase>generate-sources</phase>
930 <goals>
931 <goal>exec</goal>
932 </goals>
933 <configuration>
934 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
935 </configuration>
936 </execution>
937 </executions>
938 </plugin>
939 <plugin>
940 <groupId>org.apache.maven.plugins</groupId>
941 <artifactId>maven-clean-plugin</artifactId>
942 <version>3.0.0</version>
943 <executions>
944 <execution>
945 <id>clean-generated-files</id>
946 <phase>generate-sources</phase>
947 <goals>
948 <goal>clean</goal>
949 </goals>
950 <configuration>
951 <filesets>
952 <fileset>
953 <directory>${project.build.directory}/generated-sources</directory>
954 </fileset>
955 </filesets>
956 </configuration>
957 </execution>
958 </executions>
959 </plugin>
960 </plugins>
961 </build>
962 <dependencies>
963 <dependency>
964 <groupId>org.onap.msb.swagger-sdk</groupId>
965 <artifactId>swagger-sdk</artifactId>
966 <version>1.0.0</version>
967 </dependency>
968 </dependencies>
969 </profile>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -0500970 <profile>
971 <id>sonar-jacoco-aggregate</id>
972 <activation>
973 <property>
974 <name>onap.jacoco.aggregateFile</name>
975 </property>
976 </activation>
977 <build>
978 <plugins>
979 <plugin>
980 <groupId>org.jacoco</groupId>
981 <artifactId>jacoco-maven-plugin</artifactId>
982 <executions>
983 <execution>
984 <id>merge</id>
985 <goals>
986 <goal>merge</goal>
987 </goals>
988 <phase>generate-resources</phase>
989 <configuration>
990 <destFile>${onap.jacoco.aggregateFile}</destFile>
991 <fileSets>
992 <fileSet>
993 <directory>${project.basedir}</directory>
994 <includes>
995 <include>**/target/code-coverage/*.exec</include>
996 </includes>
997 </fileSet>
998 </fileSets>
999 </configuration>
1000 </execution>
1001 </executions>
1002 </plugin>
1003 </plugins>
1004 </build>
1005 </profile>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001006 <!-- End of profiles from ONAP oparent -->
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -04001007
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001008 <profile>
1009 <id>yang-compile</id>
1010 <activation>
1011 <file>
1012 <exists>src/main/yang</exists>
1013 </file>
1014 </activation>
1015 <build>
1016 <plugins>
1017 <plugin>
1018 <groupId>org.opendaylight.yangtools</groupId>
1019 <artifactId>yang-maven-plugin</artifactId>
1020 <version>2.1.8</version>
1021 <dependencies>
1022 <dependency>
1023 <groupId>org.opendaylight.mdsal</groupId>
1024 <artifactId>maven-sal-api-gen-plugin</artifactId>
1025 <version>${odl.mdsal.model.version}</version>
1026 <type>jar</type>
1027 </dependency>
1028 <dependency>
1029 <groupId>org.opendaylight.netconf</groupId>
1030 <artifactId>sal-rest-docgen-maven</artifactId>
1031 <version>${odl.netconf.sal.rest.docgen.version}</version>
1032 <type>jar</type>
1033 </dependency>
1034 </dependencies>
1035 <executions>
1036 <execution>
Singal, Kapil (ks220y)704554f2020-01-20 15:12:43 -05001037 <id>binding</id>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001038 <goals>
1039 <goal>generate-sources</goal>
1040 </goals>
1041 <configuration>
1042 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
1043 <codeGenerators>
1044 <generator>
1045 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
1046 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
1047 </generator>
1048 <generator>
1049 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
1050 <outputBaseDir>target/swagger</outputBaseDir>
1051 </generator>
1052 </codeGenerators>
1053 <inspectDependencies>true</inspectDependencies>
1054 </configuration>
1055 </execution>
1056 </executions>
1057 </plugin>
1058 </plugins>
1059 </build>
1060 </profile>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001061 </profiles>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001062</project>