blob: 4f2e154bfd63a2cad0d5cd8db2d1ec3977db89a3 [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 Timoney8c76c982020-03-04 11:02:01 -050017 <version>2.0.0-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 -->
Smokowski, Kevin (ks6305)3c69d3a2020-03-24 15:56:42 +000096 <logging-analytics.version>1.6.6</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 Timoney2fce2f52020-03-24 08:40:37 -040099 <ccsdk.cds.version>1.0.0-SNAPSHOT</ccsdk.cds.version>
100 <ccsdk.sli.core.version>1.0.0-SNAPSHOT</ccsdk.sli.core.version>
101 <ccsdk.sli.adaptors.version>1.0.0-SNAPSHOT</ccsdk.sli.adaptors.version>
102 <ccsdk.sli.northbound.version>1.0.0-SNAPSHOT</ccsdk.sli.northbound.version>
103 <ccsdk.sli.plugins.version>1.0.0-SNAPSHOT</ccsdk.sli.plugins.version>
104 <ccsdk.distribution.version>1.0.0-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)b5adc452020-02-20 13:53:41 -0500163 <spring.version>4.3.25.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>
Rich Tabedzkifce995d2020-03-11 11:06:57 -0400180 <tomcat-jdbc.version>9.0.30</tomcat-jdbc.version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500181 <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 Timoney8c76c982020-03-04 11:02:01 -0500194 <version>2.0.0-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>
Singal, Kapil (ks220y)ffff34a2020-02-27 11:02:51 -0500208 <dependency>
209 <groupId>junit</groupId>
210 <artifactId>junit</artifactId>
211 <version>${junit.version}</version>
212 <scope>test</scope>
213 </dependency>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500214 </dependencies>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500215 </dependencyManagement>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400216
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500217 <repositories>
218 <repository>
219 <id>onap-public</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500220 <url>${onap.nexus.public-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500221 <releases>
222 <enabled>true</enabled>
223 <updatePolicy>never</updatePolicy>
224 </releases>
225 <snapshots>
226 <enabled>true</enabled>
227 <updatePolicy>always</updatePolicy>
228 </snapshots>
229 </repository>
230 <repository>
231 <id>onap-staging</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500232 <url>${onap.nexus.staging-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500233 <releases>
234 <enabled>true</enabled>
235 <updatePolicy>never</updatePolicy>
236 </releases>
237 <snapshots>
238 <enabled>true</enabled>
239 <updatePolicy>always</updatePolicy>
240 </snapshots>
241 </repository>
242 <repository>
243 <id>ecomp-release</id>
244 <name>onap-repository-releases</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500245 <url>${onap.nexus.release-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500246 <releases>
247 <enabled>true</enabled>
248 <updatePolicy>never</updatePolicy>
249 </releases>
250 <snapshots>
251 <enabled>false</enabled>
252 </snapshots>
253 </repository>
254 <repository>
255 <id>ecomp-snapshot</id>
256 <name>onap-repository-snapshots</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500257 <url>${onap.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500258 <releases>
259 <enabled>false</enabled>
260 </releases>
261 <snapshots>
262 <enabled>true</enabled>
263 </snapshots>
264 </repository>
265 <repository>
266 <id>opendaylight-mirror</id>
267 <name>opendaylight-mirror</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500268 <url>${opendaylight.nexus.public-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500269 <releases>
270 <enabled>true</enabled>
271 <updatePolicy>never</updatePolicy>
272 </releases>
273 <snapshots>
274 <enabled>false</enabled>
275 </snapshots>
276 </repository>
277 <repository>
278 <id>opendaylight-snapshot</id>
279 <name>opendaylight-snapshot</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500280 <url>${opendaylight.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500281 <releases>
282 <enabled>false</enabled>
283 </releases>
284 <snapshots>
285 <enabled>true</enabled>
286 </snapshots>
287 </repository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400288
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500289 </repositories>
290 <pluginRepositories>
291 <pluginRepository>
292 <id>onap-public</id>
293 <url>${onap.nexus.public-url}</url>
294 <releases>
295 <enabled>true</enabled>
296 </releases>
297 <snapshots>
298 <enabled>true</enabled>
299 </snapshots>
300 </pluginRepository>
301 <pluginRepository>
302 <id>onap-staging</id>
303 <url>${onap.nexus.staging-url}</url>
304 <releases>
305 <enabled>true</enabled>
306 </releases>
307 <snapshots>
308 <enabled>true</enabled>
309 </snapshots>
310 </pluginRepository>
311 <pluginRepository>
312 <id>onap-snapshot</id>
313 <url>${onap.nexus.snapshot-url}</url>
314 <releases>
315 <enabled>false</enabled>
316 </releases>
317 <snapshots>
318 <enabled>true</enabled>
319 </snapshots>
320 </pluginRepository>
321 <pluginRepository>
322 <id>opendaylight-mirror</id>
323 <name>opendaylight-mirror</name>
324 <url>${opendaylight.nexus.public-url}</url>
325 <releases>
326 <enabled>true</enabled>
327 <updatePolicy>never</updatePolicy>
328 </releases>
329 <snapshots>
330 <enabled>false</enabled>
331 </snapshots>
332 </pluginRepository>
333 <pluginRepository>
334 <id>opendaylight-snapshot</id>
335 <name>opendaylight-snapshot</name>
336 <url>${opendaylight.nexus.snapshot-url}</url>
337 <releases>
338 <enabled>false</enabled>
339 </releases>
340 <snapshots>
341 <enabled>true</enabled>
342 </snapshots>
343 </pluginRepository>
344 <!-- Black Duck plugin dependencies -->
345 <pluginRepository>
346 <id>JCenter</id>
347 <name>JCenter Repository</name>
348 <url>http://jcenter.bintray.com</url>
349 </pluginRepository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400350
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500351 <pluginRepository>
352 <id>Restlet</id>
353 <name>Restlet Repository</name>
354 <url>http://maven.restlet.com</url>
355 </pluginRepository>
356 </pluginRepositories>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400357
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500358 <build>
359 <pluginManagement>
360 <plugins>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500361 <!-- Plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500362 <plugin>
363 <groupId>org.apache.maven.plugins</groupId>
364 <artifactId>maven-deploy-plugin</artifactId>
365 <!-- This version supports the "deployAtEnd" parameter -->
366 <version>2.8</version>
367 <configuration>
368 <skip/>
369 </configuration>
370 </plugin>
371 <plugin>
372 <groupId>org.apache.maven.plugins</groupId>
373 <artifactId>maven-site-plugin</artifactId>
374 <version>3.6</version>
375 <dependencies>
376 <dependency>
377 <groupId>org.apache.maven.wagon</groupId>
378 <artifactId>wagon-webdav-jackrabbit</artifactId>
379 <version>2.10</version>
380 </dependency>
381 </dependencies>
382 </plugin>
383 <plugin>
384 <groupId>org.apache.maven.plugins</groupId>
385 <artifactId>maven-enforcer-plugin</artifactId>
386 <version>3.0.0-M2</version>
387 <executions>
388 <execution>
389 <id>enforce-property</id>
390 <goals>
391 <goal>enforce</goal>
392 </goals>
393 <configuration>
394 <rules>
395 <requireProperty>
396 <property>onap.nexus.url</property>
397 <message>You must set a onap.nexus.url property in your
398 ~/.m2/settings.xml. See oparent/settings.xml for an example.
399 </message>
400 </requireProperty>
401 </rules>
402 <fail>true</fail>
403 </configuration>
404 </execution>
405 <execution>
406 <id>enforce-no-snapshots</id>
407 <goals>
408 <goal>enforce</goal>
409 </goals>
410 <configuration>
411 <rules>
412 <requireReleaseDeps>
413 <failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
414 <onlyWhenRelease>true</onlyWhenRelease>
415 <level>WARN</level>
416 </requireReleaseDeps>
417 </rules>
418 </configuration>
419 </execution>
420 </executions>
421 </plugin>
422 <!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
423 <plugin>
424 <groupId>org.sonarsource.scanner.maven</groupId>
425 <artifactId>sonar-maven-plugin</artifactId>
Dan Timoney621888e2020-01-17 09:54:02 -0500426 <version>${sonar.scanner.version}</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500427 </plugin>
428 <!-- end of plugins from ONAP version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400429
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500430 <!-- Plugins from ONAP oparent -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500431 <plugin>
432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-surefire-plugin</artifactId>
434 <version>2.22.0</version>
435 <configuration>
436 <!-- Sets the VM argument line used when unit tests are run. -->
437 <argLine>${surefireArgLine}</argLine>
438 <!-- Excludes integration tests when unit tests are run. -->
439 <excludes>
440 <exclude>**/IT*.java</exclude>
441 </excludes>
442 </configuration>
443 </plugin>
444 <plugin>
445 <groupId>org.apache.maven.plugins</groupId>
446 <artifactId>maven-failsafe-plugin</artifactId>
447 <version>2.22.0</version>
448 <executions>
449 <!-- Ensures that both integration-test and verify goals of the Failsafe
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400450 Maven plugin are executed. -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500451 <execution>
452 <id>integration-tests</id>
453 <goals>
454 <goal>integration-test</goal>
455 <goal>verify</goal>
456 </goals>
457 <configuration>
458 <!-- Sets the VM argument line used when integration tests are run. -->
459 <argLine>${failsafeArgLine}</argLine>
460 </configuration>
461 </execution>
462 </executions>
463 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400464
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500465 <!-- End of plugins from ONAP oparent -->
466 <plugin>
467 <groupId>org.codehaus.mojo</groupId>
468 <artifactId>properties-maven-plugin</artifactId>
469 <version>1.0.0</version>
470 <executions>
471 <execution>
472 <goals>
473 <goal>set-system-properties</goal>
474 </goals>
475 <configuration>
476 <properties>
477 <property>
478 <name>maven.wagon.http.ssl.allowall</name>
479 <value>${ssl.allowall}</value>
480 </property>
481 <property>
482 <name>maven.wagon.http.ssl.insecure</name>
483 <value>${ssl.insecure}</value>
484 </property>
485 </properties>
486 </configuration>
487 </execution>
488 </executions>
489 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400490
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500491 <plugin>
492 <groupId>org.codehaus.mojo</groupId>
493 <artifactId>versions-maven-plugin</artifactId>
494 <version>2.5</version>
495 <configuration>
496 <processAllModules>true</processAllModules>
497 </configuration>
498 </plugin>
499 <plugin>
500 <artifactId>maven-scm-plugin</artifactId>
501 <version>1.8.1</version>
502 <configuration>
503 <tag>${project.artifactId}-${project.version}</tag>
504 </configuration>
505 </plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500506 <plugin>
507 <groupId>com.github.ferstl</groupId>
508 <artifactId>depgraph-maven-plugin</artifactId>
509 <version>3.3.0</version>
510 <configuration>
511 <graphFormat>text</graphFormat>
512 <outputFileName>${dependency-list.file}</outputFileName>
513 <outputDirectory>${project.basedir}</outputDirectory>
514 <transitiveExcludes>*</transitiveExcludes>
515 <showVersions>true</showVersions>
Timoney, Dan (dt5972)cc0c96a2019-12-11 10:04:52 -0500516 <showGroupIds>true</showGroupIds>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500517 </configuration>
518 </plugin>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500519 </plugins>
520 </pluginManagement>
521 <plugins>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400522
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500523 <!-- Plugins from oparent version (parent of oparent) -->
524 <plugin>
525 <groupId>org.apache.maven.plugins</groupId>
526 <artifactId>maven-deploy-plugin</artifactId>
527 </plugin>
528 <plugin>
529 <groupId>org.apache.maven.plugins</groupId>
530 <artifactId>maven-site-plugin</artifactId>
531 </plugin>
532 <plugin>
533 <groupId>org.apache.maven.plugins</groupId>
534 <artifactId>maven-enforcer-plugin</artifactId>
535 </plugin>
536 <!-- end of plugins from oparent version (parent of oparent) -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400537
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500538 <!-- Plugins from oparent -->
539 <plugin>
540 <artifactId>maven-checkstyle-plugin</artifactId>
541 <version>2.17</version>
542 <dependencies>
543 <dependency>
544 <groupId>org.onap.oparent</groupId>
545 <artifactId>checkstyle</artifactId>
546 <version>1.2.2</version>
547 </dependency>
548 </dependencies>
549 <executions>
550 <execution>
551 <id>onap-license</id>
552 <goals>
553 <goal>check</goal>
554 </goals>
555 <phase>process-sources</phase>
556 <configuration>
557 <configLocation>onap-checkstyle/check-license.xml</configLocation>
558 <includeResources>false</includeResources>
559 <includeTestSourceDirectory>true</includeTestSourceDirectory>
560 <includeTestResources>false</includeTestResources>
561 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
562 <excludes>
563 </excludes>
564 <consoleOutput>true</consoleOutput>
565 <failOnViolation>false</failOnViolation>
566 </configuration>
567 </execution>
568 <execution>
569 <id>onap-java-style</id>
570 <goals>
571 <goal>check</goal>
572 </goals>
573 <phase>process-sources</phase>
574 <configuration>
575 <!-- 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 -0400576 with minor changes -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500577 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500578 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500579 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
580 <includeResources>true</includeResources>
581 <includeTestSourceDirectory>true</includeTestSourceDirectory>
582 <includeTestResources>true</includeTestResources>
583 <excludes>
584 </excludes>
585 <consoleOutput>true</consoleOutput>
586 <failOnViolation>false</failOnViolation>
587 </configuration>
588 </execution>
589 </executions>
590 </plugin>
591 <plugin>
592 <groupId>org.codehaus.mojo</groupId>
593 <artifactId>build-helper-maven-plugin</artifactId>
594 <version>1.12</version>
595 </plugin>
596 <!-- Jacoco / Sonar -->
597 <plugin>
598 <groupId>org.jacoco</groupId>
599 <artifactId>jacoco-maven-plugin</artifactId>
Dan Timoney621888e2020-01-17 09:54:02 -0500600 <version>${jacoco.version}</version>
601 <executions>
602 <execution>
603 <id>pre-unit-test</id>
604 <goals>
605 <goal>prepare-agent</goal>
606 </goals>
607 <configuration>
608 <!-- Sets the path to the file which contains the execution data. -->
609 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500610 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500611 <propertyName>surefireArgLine</propertyName>
612 </configuration>
613 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500614 <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500615 <execution>
616 <id>post-unit-test</id>
617 <phase>test</phase>
618 <goals>
619 <goal>report</goal>
620 </goals>
621 <configuration>
622 <!-- Sets the path to the file which contains the execution data. -->
623 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
624 <!-- Sets the output directory for the code coverage report. -->
625 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
626 </configuration>
627 </execution>
628 <execution>
629 <id>pre-integration-test</id>
630 <phase>pre-integration-test</phase>
631 <goals>
632 <goal>prepare-agent</goal>
633 </goals>
634 <configuration>
635 <!-- Sets the path to the file which contains the execution data. -->
636 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500637 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500638 <propertyName>failsafeArgLine</propertyName>
639 </configuration>
640 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500641 <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500642 <execution>
643 <id>post-integration-test</id>
644 <phase>post-integration-test</phase>
645 <goals>
646 <goal>report</goal>
647 </goals>
648 <configuration>
649 <!-- Sets the path to the file which contains the execution data. -->
650 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
651 <!-- Sets the output directory for the code coverage report. -->
652 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
653 </configuration>
654 </execution>
655 <execution>
656 <id>default-prepare-agent</id>
657 <goals>
658 <goal>prepare-agent</goal>
659 </goals>
660 </execution>
661 <execution>
662 <id>default-report</id>
663 <phase>prepare-package</phase>
664 <goals>
665 <goal>report</goal>
666 </goals>
667 </execution>
668 <execution>
669 <id>default-check</id>
670 <goals>
671 <goal>check</goal>
672 </goals>
673 <configuration>
674 <rules>
675 <rule>
676 <element>PACKAGE</element>
677 <limits>
678 <limit>
679 <counter>COMPLEXITY</counter>
680 <value>COVEREDRATIO</value>
681 <minimum>0.0</minimum>
682 </limit>
683 </limits>
684 </rule>
685 </rules>
686 </configuration>
687 </execution>
688 </executions>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500689 </plugin>
690 <plugin>
691 <groupId>org.apache.maven.plugins</groupId>
692 <artifactId>maven-surefire-plugin</artifactId>
693 </plugin>
694 <plugin>
695 <groupId>org.apache.maven.plugins</groupId>
696 <artifactId>maven-failsafe-plugin</artifactId>
697 </plugin>
698 <!-- end of plugins from oparent -->
699 <plugin>
700 <groupId>org.apache.maven.plugins</groupId>
701 <artifactId>maven-javadoc-plugin</artifactId>
702 <version>2.10.4</version>
703 <executions>
704 <execution>
705 <id>attach-javadocs</id>
706 <goals>
707 <goal>jar</goal>
708 </goals>
709 <configuration>
710 <additionalparam>-Xdoclint:none</additionalparam>
711 </configuration>
712 </execution>
713 </executions>
714 </plugin>
715 </plugins>
716 </build>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400717
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500718 <reporting>
719 <plugins>
720 <plugin>
721 <artifactId>maven-javadoc-plugin</artifactId>
722 <version>2.10.4</version>
723 <configuration>
724 <failOnError>false</failOnError>
725 <additionalparam>-Xdoclint:none</additionalparam>
726 </configuration>
727 </plugin>
Dan Timoney621888e2020-01-17 09:54:02 -0500728 <plugin>
729 <groupId>org.jacoco</groupId>
730 <artifactId>jacoco-maven-plugin</artifactId>
731 <version>${jacoco.version}</version>
732 <reportSets>
733 <reportSet>
734 <reports>
735 <!-- select non-aggregate reports -->
736 <report>report</report>
737 </reports>
738 </reportSet>
739 </reportSets>
740 </plugin>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500741 </plugins>
742 </reporting>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400743
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500744 <profiles>
745 <!-- Profiles from ONAP oparent -->
746 <profile>
747 <id>generate-json</id>
748 <activation>
749 <file>
750 <exists>${swagger-properties}</exists>
751 </file>
752 <property>
753 <name>swagger-sdk.generate-json</name>
754 </property>
755 </activation>
756 <build>
757 <plugins>
758 <plugin>
759 <groupId>org.codehaus.mojo</groupId>
760 <artifactId>properties-maven-plugin</artifactId>
761 <version>1.0.0</version>
762 <executions>
763 <execution>
764 <phase>initialize</phase>
765 <goals>
766 <goal>read-project-properties</goal>
767 </goals>
768 <configuration>
769 <files>
770 <file>${basedir}/src/main/resources/swagger.properties</file>
771 </files>
772 </configuration>
773 </execution>
774 </executions>
775 </plugin>
776 <plugin>
777 <groupId>com.github.kongchen</groupId>
778 <artifactId>swagger-maven-plugin</artifactId>
779 <version>3.1.4</version>
780 <configuration>
781 <apiSources>
782 <apiSource>
783 <locations>${api-rest-package}</locations>
784 <schemes>http,https</schemes>
785 <host>${api-host-ip}:${api-host-port}</host>
786 <basePath>${api-base-path}</basePath>
787 <info>
788 <title>${api-title}</title>
789 <version>${api-version}</version>
790 <description>${api-description}</description>
791 <license>
792 <name>${api-license}</name>
793 </license>
794 </info>
795 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
796 </apiSource>
797 </apiSources>
798 </configuration>
799 <executions>
800 <execution>
801 <phase>compile</phase>
802 <goals>
803 <goal>generate</goal>
804 </goals>
805 </execution>
806 </executions>
807 </plugin>
808 <plugin>
809 <groupId>org.apache.maven.plugins</groupId>
810 <artifactId>maven-install-plugin</artifactId>
811 <version>2.3.1</version>
812 <executions>
813 <execution>
814 <id>install-file-id</id>
815 <phase>install</phase>
816 <goals>
817 <goal>install-file</goal>
818 </goals>
819 <configuration>
820 <file>${basedir}/src/main/resources/swagger.json</file>
821 <groupId>${project.groupId}</groupId>
822 <artifactId>${project.artifactId}-swagger-schema</artifactId>
823 <version>${project.version}</version>
824 <packaging>json</packaging>
825 </configuration>
826 </execution>
827 </executions>
828 </plugin>
829 </plugins>
830 </build>
831 </profile>
832 <profile>
833 <id>generate-sdk</id>
834 <activation>
835 <file>
836 <exists>${swagger-json}</exists>
837 </file>
838 <property>
839 <name>swagger-sdk.generate-java-sdk</name>
840 </property>
841 </activation>
842 <build>
843 <plugins>
844 <plugin>
845 <groupId>org.apache.maven.plugins</groupId>
846 <artifactId>maven-antrun-plugin</artifactId>
847 <version>1.8</version>
848 <executions>
849 <execution>
850 <phase>initialize</phase>
851 <id>ant-create-script</id>
852 <configuration>
853 <exportAntProperties>true</exportAntProperties>
854 <tasks>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500855 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500856 <condition property="is_windows" value="true">
857 <os family="windows"/>
858 </condition>
859 <condition property="isLinux" value="true">
860 <os family="unix"/>
861 </condition>
862 <if>
863 <equals arg1="${is_windows}" arg2="true"/>
864 <then>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500865 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
866 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true"
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500867 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500868 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true"
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500869 message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
870 </then>
871 <else>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500872 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
873 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true"
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500874 message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500875 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true"
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500876 message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500877 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -0500878 </else>
879 </if>
880 </tasks>
881 </configuration>
882 <goals>
883 <goal>run</goal>
884 </goals>
885 </execution>
886 </executions>
887 <dependencies>
888 <dependency>
889 <groupId>ant-contrib</groupId>
890 <artifactId>ant-contrib</artifactId>
891 <version>1.0b3</version>
892 <exclusions>
893 <exclusion>
894 <groupId>ant</groupId>
895 <artifactId>ant</artifactId>
896 </exclusion>
897 </exclusions>
898 </dependency>
899 </dependencies>
900 </plugin>
901 <plugin>
902 <groupId>io.swagger</groupId>
903 <artifactId>swagger-codegen-maven-plugin</artifactId>
904 <version>2.2.1</version>
905 <executions>
906 <execution>
907 <goals>
908 <goal>generate</goal>
909 </goals>
910 <configuration>
911 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
912 <output>${project.build.directory}/generated-sources</output>
913 <language>java</language>
914 <configOptions>
915 <dateLibrary>joda</dateLibrary>
916 </configOptions>
917 <library>jersey2</library>
918 <groupId>${project.groupId}</groupId>
919 <artifactId>${project.artifactId}-java-sdk</artifactId>
920 <artifactVersion>${project.version}</artifactVersion>
921 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
922 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
923 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
924 </configuration>
925 </execution>
926 </executions>
927 </plugin>
928 <plugin>
929 <groupId>org.codehaus.mojo</groupId>
930 <artifactId>exec-maven-plugin</artifactId>
931 <version>1.5.0</version>
932 <executions>
933 <execution>
934 <id>swagger-generate-sources</id>
935 <phase>generate-sources</phase>
936 <goals>
937 <goal>exec</goal>
938 </goals>
939 <configuration>
940 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
941 </configuration>
942 </execution>
943 </executions>
944 </plugin>
945 <plugin>
946 <groupId>org.apache.maven.plugins</groupId>
947 <artifactId>maven-clean-plugin</artifactId>
948 <version>3.0.0</version>
949 <executions>
950 <execution>
951 <id>clean-generated-files</id>
952 <phase>generate-sources</phase>
953 <goals>
954 <goal>clean</goal>
955 </goals>
956 <configuration>
957 <filesets>
958 <fileset>
959 <directory>${project.build.directory}/generated-sources</directory>
960 </fileset>
961 </filesets>
962 </configuration>
963 </execution>
964 </executions>
965 </plugin>
966 </plugins>
967 </build>
968 <dependencies>
969 <dependency>
970 <groupId>org.onap.msb.swagger-sdk</groupId>
971 <artifactId>swagger-sdk</artifactId>
972 <version>1.0.0</version>
973 </dependency>
974 </dependencies>
975 </profile>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -0500976 <profile>
977 <id>sonar-jacoco-aggregate</id>
978 <activation>
979 <property>
980 <name>onap.jacoco.aggregateFile</name>
981 </property>
982 </activation>
983 <build>
984 <plugins>
985 <plugin>
986 <groupId>org.jacoco</groupId>
987 <artifactId>jacoco-maven-plugin</artifactId>
988 <executions>
989 <execution>
990 <id>merge</id>
991 <goals>
992 <goal>merge</goal>
993 </goals>
994 <phase>generate-resources</phase>
995 <configuration>
996 <destFile>${onap.jacoco.aggregateFile}</destFile>
997 <fileSets>
998 <fileSet>
999 <directory>${project.basedir}</directory>
1000 <includes>
1001 <include>**/target/code-coverage/*.exec</include>
1002 </includes>
1003 </fileSet>
1004 </fileSets>
1005 </configuration>
1006 </execution>
1007 </executions>
1008 </plugin>
1009 </plugins>
1010 </build>
1011 </profile>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001012 <!-- End of profiles from ONAP oparent -->
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -04001013
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001014 <profile>
1015 <id>yang-compile</id>
1016 <activation>
1017 <file>
1018 <exists>src/main/yang</exists>
1019 </file>
1020 </activation>
1021 <build>
1022 <plugins>
1023 <plugin>
1024 <groupId>org.opendaylight.yangtools</groupId>
1025 <artifactId>yang-maven-plugin</artifactId>
1026 <version>2.1.8</version>
1027 <dependencies>
1028 <dependency>
1029 <groupId>org.opendaylight.mdsal</groupId>
1030 <artifactId>maven-sal-api-gen-plugin</artifactId>
1031 <version>${odl.mdsal.model.version}</version>
1032 <type>jar</type>
1033 </dependency>
1034 <dependency>
1035 <groupId>org.opendaylight.netconf</groupId>
1036 <artifactId>sal-rest-docgen-maven</artifactId>
1037 <version>${odl.netconf.sal.rest.docgen.version}</version>
1038 <type>jar</type>
1039 </dependency>
1040 </dependencies>
1041 <executions>
1042 <execution>
Singal, Kapil (ks220y)704554f2020-01-20 15:12:43 -05001043 <id>binding</id>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001044 <goals>
1045 <goal>generate-sources</goal>
1046 </goals>
1047 <configuration>
1048 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
1049 <codeGenerators>
1050 <generator>
1051 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
1052 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
1053 </generator>
1054 <generator>
1055 <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
1056 <outputBaseDir>target/swagger</outputBaseDir>
1057 </generator>
1058 </codeGenerators>
1059 <inspectDependencies>true</inspectDependencies>
1060 </configuration>
1061 </execution>
1062 </executions>
1063 </plugin>
1064 </plugins>
1065 </build>
1066 </profile>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05001067 </profiles>
Dan Timoney0f2db3f2018-01-25 16:23:27 -05001068</project>