blob: ac57e3e11908c435e990e4194c8225aabe259457 [file] [log] [blame]
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -04001<?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">
3 <modelVersion>4.0.0</modelVersion>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -04004
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05005 <!-- PLEASE READ !!!!! This file is generated from ccsdk/parent/springboot/spring-boot-setup/src/main/template/pom-template.xml
6 Any updates needed should be made to that template and not to the generated
7 pom.xml file -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04008 <parent>
9 <groupId>org.springframework.boot</groupId>
10 <artifactId>spring-boot-starter-parent</artifactId>
11 <version>1.5.22.RELEASE</version>
12 <relativePath/>
13 </parent>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -040014
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040015 <groupId>org.onap.ccsdk.parent</groupId>
16 <artifactId>spring-boot-1-starter-parent</artifactId>
Dan Timoneyb044ec82020-11-25 11:41:13 -050017 <version>2.1.1-SNAPSHOT</version>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040018 <packaging>pom</packaging>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -040019
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040020 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050021 <description>Root POM to be used in place of spring-boot parent for CCSDK based projects</description>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040022 <url>http://wiki.onap.org</url>
23 <organization>
24 <name>ONAP</name>
25 </organization>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -040026
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040027 <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)2e8a4da2019-10-01 22:31:50 -040035 </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)2e8a4da2019-10-01 22:31:50 -040039 </snapshotRepository>
40 </distributionManagement>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -040041
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040042 <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>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040054 <!-- properties from oparent -->
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050055
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040056 <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)2e8a4da2019-10-01 22:31:50 -040064 <!-- 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 -->
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -040069
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040070 <!-- 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>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -040080
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040081 <java.version.source>1.8</java.version.source>
82 <java.version.target>1.8</java.version.target>
83 <bundle.plugin.version>2.5.0</bundle.plugin.version>
84 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
85 <features.file>features.xml</features.file>
86 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
87 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
88 <checkstyle.skip>true</checkstyle.skip>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -040089
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050090 <!-- logging-analytics versions -->
Dan Timoney5700b852021-01-29 12:38:52 -050091 <logging-analytics.version>1.6.5</logging-analytics.version>
KAPIL SINGAL6531b112020-02-06 01:11:41 +000092
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040093 <!-- CCSDK component versions -->
Dan Timoneya265d5b2020-11-25 08:23:08 -050094 <ccsdk.cds.version>1.1.1-SNAPSHOT</ccsdk.cds.version>
95 <ccsdk.features.version>1.1.1-SNAPSHOT</ccsdk.features.version>
96 <ccsdk.distribution.version>1.1.1-SNAPSHOT</ccsdk.distribution.version>
97 <ccsdk.sli.version>1.2.0-SNAPSHOT</ccsdk.sli.version>
Jozsef Csongvaia4d399c2020-12-14 07:39:31 -050098 <ccsdk.sli.core.version>${ccsdk.sli.version}</ccsdk.sli.core.version>
99 <ccsdk.sli.adaptors.version>${ccsdk.sli.version}</ccsdk.sli.adaptors.version>
100 <ccsdk.sli.northbound.version>${ccsdk.sli.version}</ccsdk.sli.northbound.version>
101 <ccsdk.sli.plugins.version>${ccsdk.sli.version}</ccsdk.sli.plugins.version>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500102
103 <!-- Spring versions -->
104 <spring.boot.version>1.5.22.RELEASE</spring.boot.version>
105 <spring.version>4.3.25.RELEASE</spring.version>
106
107 <!-- Kotlin versions -->
108 <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
109 <kotlin.version>1.3.61</kotlin.version>
110 <kotlin.maven.version>1.3.61</kotlin.maven.version>
111 <kotlin.couroutines.version>1.3.3</kotlin.couroutines.version>
112 <kotlinpoet.version>1.5.0</kotlinpoet.version>
113 <kroto-plus.version>0.5.0</kroto-plus.version>
114 <nats.version>2.6.6</nats.version>
115 <nats.streaming.version>2.2.3</nats.streaming.version>
116 <mockk.version>1.9.3</mockk.version>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400117
Singal, Kapil (ks220y)dfaa2552020-02-04 09:35:37 -0500118 <!-- Managed dependency versions -->
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000119 <antlr.version>4.7.2</antlr.version>
120 <commons.lang.version>2.6</commons.lang.version>
Singal, Kapil (ks220y)dfaa2552020-02-04 09:35:37 -0500121 <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version>
122 <apache.httpcomponents.client.version>4.5.10</apache.httpcomponents.client.version>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500123 <derby.version>10.14.2.0</derby.version>
124 <eelf.version>1.0.0</eelf.version>
125 <grpc.version>1.25.0</grpc.version>
126 <protobuff.java.version>3.10.0</protobuff.java.version>
127 <protobuff.java.utils.version>3.10.0</protobuff.java.utils.version>
Singal, Kapil (ks220y)dfaa2552020-02-04 09:35:37 -0500128 <jersey.version>2.25.1</jersey.version>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000129 <jersey.client.version>2.25.1</jersey.client.version>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500130 <jettison.version>1.3.8</jettison.version>
131 <logback.version>1.2.3</logback.version>
Timoney, Dan (dt5972)48f55772019-12-17 10:44:04 -0500132 <mariadb.connector.version>2.4.4</mariadb.connector.version>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500133 <mariadb4j.version>2.4.0</mariadb4j.version>
134 <slf4j.version>1.7.25</slf4j.version>
Singal, Kapil (ks220y)b5adc452020-02-20 13:53:41 -0500135 <testng.version>6.14.3</testng.version>
Rich Tabedzkifce995d2020-03-11 11:06:57 -0400136 <tomcat-jdbc.version>9.0.30</tomcat-jdbc.version>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500137 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400138 </properties>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400139
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400140 <dependencyManagement>
141 <dependencies>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500142 <!-- Note: If value in BOM conflicts with value inherited from
143 parent pom, inherited value takes precedence. This seems more like
144 a bug than a feature, but this is how maven 3.6 works -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400145 <dependency>
146 <groupId>org.onap.ccsdk.parent</groupId>
147 <artifactId>dependencies-bom</artifactId>
Dan Timoneyb044ec82020-11-25 11:41:13 -0500148 <version>2.1.1-SNAPSHOT</version>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400149 <type>pom</type>
150 <scope>import</scope>
151 </dependency>
152 <dependency>
153 <groupId>org.onap.ccsdk.sli.core</groupId>
154 <artifactId>sli-common</artifactId>
155 <version>${ccsdk.sli.core.version}</version>
156 </dependency>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400157 <dependency>
158 <groupId>org.onap.ccsdk.sli.core</groupId>
159 <artifactId>sli-provider</artifactId>
160 <version>${ccsdk.sli.core.version}</version>
161 </dependency>
162 <dependency>
163 <groupId>org.onap.ccsdk.sli.core</groupId>
164 <artifactId>ccsdk-sli</artifactId>
165 <version>${ccsdk.sli.core.version}</version>
166 <type>xml</type>
167 <classifier>features</classifier>
168 </dependency>
169 <dependency>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400170 <groupId>org.onap.ccsdk.sli.core</groupId>
171 <artifactId>dblib-provider</artifactId>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500172 <version>${ccsdk.sli.core.version}</version>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400173 </dependency>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500174 <dependency>
175 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
176 <artifactId>aai-service-provider</artifactId>
177 <version>${ccsdk.sli.adaptors.version}</version>
178 </dependency>
179 <dependency>
180 <groupId>org.onap.logging-analytics</groupId>
181 <artifactId>logging-slf4j</artifactId>
182 <version>${logging-analytics.version}</version>
183 </dependency>
184 <dependency>
185 <groupId>org.onap.logging-analytics</groupId>
186 <artifactId>logging-filter-base</artifactId>
187 <version>${logging-analytics.version}</version>
188 </dependency>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400189 </dependencies>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400190 </dependencyManagement>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400191
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400192 <repositories>
193 <repository>
194 <id>onap-public</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500195 <url>${onap.nexus.public-url}</url>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400196 <releases>
197 <enabled>true</enabled>
198 <updatePolicy>never</updatePolicy>
199 </releases>
200 <snapshots>
201 <enabled>true</enabled>
202 <updatePolicy>always</updatePolicy>
203 </snapshots>
204 </repository>
205 <repository>
206 <id>onap-staging</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500207 <url>${onap.nexus.staging-url}</url>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400208 <releases>
209 <enabled>true</enabled>
210 <updatePolicy>never</updatePolicy>
211 </releases>
212 <snapshots>
213 <enabled>true</enabled>
214 <updatePolicy>always</updatePolicy>
215 </snapshots>
216 </repository>
217 <repository>
218 <id>ecomp-release</id>
219 <name>onap-repository-releases</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500220 <url>${onap.nexus.release-url}</url>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400221 <releases>
222 <enabled>true</enabled>
223 <updatePolicy>never</updatePolicy>
224 </releases>
225 <snapshots>
226 <enabled>false</enabled>
227 </snapshots>
228 </repository>
229 <repository>
230 <id>ecomp-snapshot</id>
231 <name>onap-repository-snapshots</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500232 <url>${onap.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400233 <releases>
234 <enabled>false</enabled>
235 </releases>
236 <snapshots>
237 <enabled>true</enabled>
238 </snapshots>
239 </repository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400240 </repositories>
241 <pluginRepositories>
242 <pluginRepository>
243 <id>onap-public</id>
244 <url>${onap.nexus.public-url}</url>
245 <releases>
246 <enabled>true</enabled>
247 </releases>
248 <snapshots>
249 <enabled>true</enabled>
250 </snapshots>
251 </pluginRepository>
252 <pluginRepository>
253 <id>onap-staging</id>
254 <url>${onap.nexus.staging-url}</url>
255 <releases>
256 <enabled>true</enabled>
257 </releases>
258 <snapshots>
259 <enabled>true</enabled>
260 </snapshots>
261 </pluginRepository>
262 <pluginRepository>
263 <id>onap-snapshot</id>
264 <url>${onap.nexus.snapshot-url}</url>
265 <releases>
266 <enabled>false</enabled>
267 </releases>
268 <snapshots>
269 <enabled>true</enabled>
270 </snapshots>
271 </pluginRepository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400272 <!-- Black Duck plugin dependencies -->
273 <pluginRepository>
274 <id>JCenter</id>
275 <name>JCenter Repository</name>
276 <url>http://jcenter.bintray.com</url>
277 </pluginRepository>
Timoney, Dan (dt5972)79ddeb62018-12-20 08:41:05 -0500278
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400279 <pluginRepository>
280 <id>Restlet</id>
281 <name>Restlet Repository</name>
282 <url>http://maven.restlet.com</url>
283 </pluginRepository>
284 </pluginRepositories>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400285
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400286 <build>
287 <pluginManagement>
288 <plugins>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400289 <!-- Plugins from ONAP oparent -->
290 <plugin>
291 <groupId>org.apache.maven.plugins</groupId>
292 <artifactId>maven-deploy-plugin</artifactId>
293 <!-- This version supports the "deployAtEnd" parameter -->
294 <version>2.8</version>
295 <configuration>
296 <skip/>
297 </configuration>
298 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400299 <plugin>
300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-site-plugin</artifactId>
302 <version>3.6</version>
303 <dependencies>
304 <dependency>
305 <groupId>org.apache.maven.wagon</groupId>
306 <artifactId>wagon-webdav-jackrabbit</artifactId>
307 <version>2.10</version>
308 </dependency>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000309 <dependency>
310 <groupId>org.apache.maven.doxia</groupId>
311 <artifactId>doxia-core</artifactId>
312 <version>1.7</version>
313 </dependency>
314 <dependency>
315 <groupId>org.apache.maven.doxia</groupId>
316 <artifactId>doxia-sink-api</artifactId>
317 <version>1.7</version>
318 </dependency>
319 <dependency>
320 <groupId>org.apache.maven.doxia</groupId>
321 <artifactId>doxia-logging-api</artifactId>
322 <version>1.7</version>
323 </dependency>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400324 </dependencies>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000325 <executions>
326 <execution>
327 <id>attach-descriptor</id>
328 <goals>
329 <goal>attach-descriptor</goal>
330 </goals>
331 </execution>
332 </executions>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400333 </plugin>
334 <plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000335 <artifactId>maven-checkstyle-plugin</artifactId>
336 <version>2.17</version>
337 <dependencies>
338 <dependency>
339 <groupId>org.onap.oparent</groupId>
340 <artifactId>checkstyle</artifactId>
341 <version>1.1.1</version>
342 </dependency>
343 </dependencies>
344 <executions>
345 <execution>
346 <id>check-license</id>
347 <goals>
348 <goal>check</goal>
349 </goals>
350 <phase>process-sources</phase>
351 <configuration>
352 <configLocation>onap-checkstyle/check-license.xml</configLocation>
353 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
354 <includeResources>false</includeResources>
355 <includeTestSourceDirectory>true</includeTestSourceDirectory>
356 <includeTestResources>false</includeTestResources>
357 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
358 <excludes>
359 </excludes>
360 <failsOnError>false</failsOnError>
361 <consoleOutput>true</consoleOutput>
362 </configuration>
363 </execution>
364 <execution>
365 <id>check-style</id>
366 <goals>
367 <goal>check</goal>
368 </goals>
369 <phase>process-sources</phase>
370 <configuration>
371 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
372 with minor changes -->
373 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500374 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000375 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
376 <includeResources>true</includeResources>
377 <includeTestSourceDirectory>true</includeTestSourceDirectory>
378 <includeTestResources>true</includeTestResources>
379 <excludes>
380 </excludes>
381 <failsOnError>false</failsOnError>
382 <consoleOutput>true</consoleOutput>
383 </configuration>
384 </execution>
385 </executions>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400386 </plugin>
Dan Timoney621888e2020-01-17 09:54:02 -0500387
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400388 <plugin>
389 <groupId>org.apache.maven.plugins</groupId>
390 <artifactId>maven-surefire-plugin</artifactId>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000391 <version>2.19.1</version>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400392 <configuration>
393 <!-- Sets the VM argument line used when unit tests are run. -->
394 <argLine>${surefireArgLine}</argLine>
395 <!-- Excludes integration tests when unit tests are run. -->
396 <excludes>
397 <exclude>**/IT*.java</exclude>
398 </excludes>
399 </configuration>
400 </plugin>
401 <plugin>
402 <groupId>org.apache.maven.plugins</groupId>
403 <artifactId>maven-failsafe-plugin</artifactId>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000404 <version>2.19.1</version>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400405 <executions>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500406 <!-- Ensures that both integration-test and verify goals of the Failsafe Maven plugin are executed. -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400407 <execution>
408 <id>integration-tests</id>
409 <goals>
410 <goal>integration-test</goal>
411 <goal>verify</goal>
412 </goals>
413 <configuration>
414 <!-- Sets the VM argument line used when integration tests are run. -->
415 <argLine>${failsafeArgLine}</argLine>
416 </configuration>
417 </execution>
418 </executions>
419 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000420 <plugin>
421 <groupId>org.apache.maven.plugins</groupId>
422 <artifactId>maven-compiler-plugin</artifactId>
423 <version>${maven.compile.plugin.version}</version>
424 <configuration>
425 <source>${java.version.source}</source>
426 <target>${java.version.target}</target>
427 </configuration>
428 </plugin>
429 <plugin>
430 <groupId>org.sonarsource.scanner.maven</groupId>
431 <artifactId>sonar-maven-plugin</artifactId>
432 <version>3.6.0.1398</version>
433 </plugin>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400434
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400435 <!-- End of plugins from ONAP oparent -->
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500436
437 <plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000438 <groupId>org.apache.maven.plugins</groupId>
439 <artifactId>maven-javadoc-plugin</artifactId>
Dan Timoneye816a592020-09-03 08:56:01 -0400440 <version>3.2.0</version>
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500441 <configuration>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000442 <additionalDependencies>
443 <additionalDependency>
444 <groupId>org.slf4j</groupId>
445 <artifactId>slf4j-api</artifactId>
446 <version>${slf4j.version}</version>
447 </additionalDependency>
448 <additionalDependency>
449 <groupId>org.antlr</groupId>
450 <artifactId>antlr4</artifactId>
451 <version>${antlr.version}</version>
452 </additionalDependency>
453 <additionalDependency>
454 <groupId>org.antlr</groupId>
455 <artifactId>antlr4-runtime</artifactId>
456 <version>${antlr.version}</version>
457 </additionalDependency>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000458 <additionalDependency>
459 <groupId>com.sun.jersey</groupId>
460 <artifactId>jersey-client</artifactId>
461 <version>${jersey.client.version}</version>
462 </additionalDependency>
463 <additionalDependency>
464 <groupId>com.sun.jersey</groupId>
465 <artifactId>jersey-core</artifactId>
466 <version>${jersey.version}</version>
467 </additionalDependency>
468 <additionalDependency>
469 <groupId>org.apache.httpcomponents</groupId>
470 <artifactId>httpcore-osgi</artifactId>
471 <version>${apache.httpcomponents.core.version}</version>
472 </additionalDependency>
473 <additionalDependency>
474 <groupId>org.apache.httpcomponents</groupId>
475 <artifactId>httpclient-osgi</artifactId>
476 <version>${apache.httpcomponents.client.version}</version>
477 </additionalDependency>
478 <additionalDependency>
479 <groupId>commons-lang</groupId>
480 <artifactId>commons-lang</artifactId>
481 <version>${commons.lang.version}</version>
482 </additionalDependency>
483 </additionalDependencies>
Dan Timoneye816a592020-09-03 08:56:01 -0400484 <failOnError>false</failOnError>
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500485 </configuration>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000486 <executions>
487 <execution>
488 <id>aggregate</id>
489 <goals>
490 <goal>aggregate</goal>
491 </goals>
492 <phase>site</phase>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000493 </execution>
494 </executions>
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500495 </plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500496 <plugin>
497 <groupId>com.github.ferstl</groupId>
498 <artifactId>depgraph-maven-plugin</artifactId>
499 <version>3.3.0</version>
500 <configuration>
501 <graphFormat>text</graphFormat>
502 <outputFileName>${dependency-list.file}</outputFileName>
503 <outputDirectory>${project.basedir}</outputDirectory>
504 <transitiveExcludes>*</transitiveExcludes>
505 <showVersions>true</showVersions>
Timoney, Dan (dt5972)cc0c96a2019-12-11 10:04:52 -0500506 <showGroupIds>true</showGroupIds>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500507 </configuration>
508 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400509 </plugins>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400510 </pluginManagement>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500511
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400512 <plugins>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000513 <!-- Plugins from ONAP oparent -->
Dan Timoney621888e2020-01-17 09:54:02 -0500514 <!-- Jacoco / Sonar -->
515 <plugin>
516 <groupId>org.jacoco</groupId>
517 <artifactId>jacoco-maven-plugin</artifactId>
518 <version>${jacoco.version}</version>
519 <executions>
520 <execution>
521 <id>pre-unit-test</id>
522 <goals>
523 <goal>prepare-agent</goal>
524 </goals>
525 <configuration>
526 <!-- Sets the path to the file which contains the execution data. -->
527 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500528 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500529 <propertyName>surefireArgLine</propertyName>
530 </configuration>
531 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500532 <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500533 <execution>
534 <id>post-unit-test</id>
535 <phase>test</phase>
536 <goals>
537 <goal>report</goal>
538 </goals>
539 <configuration>
540 <!-- Sets the path to the file which contains the execution data. -->
541 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
542 <!-- Sets the output directory for the code coverage report. -->
543 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
544 </configuration>
545 </execution>
546 <execution>
547 <id>pre-integration-test</id>
548 <phase>pre-integration-test</phase>
549 <goals>
550 <goal>prepare-agent</goal>
551 </goals>
552 <configuration>
553 <!-- Sets the path to the file which contains the execution data. -->
554 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500555 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500556 <propertyName>failsafeArgLine</propertyName>
557 </configuration>
558 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500559 <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500560 <execution>
561 <id>post-integration-test</id>
562 <phase>post-integration-test</phase>
563 <goals>
564 <goal>report</goal>
565 </goals>
566 <configuration>
567 <!-- Sets the path to the file which contains the execution data. -->
568 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
569 <!-- Sets the output directory for the code coverage report. -->
570 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
571 </configuration>
572 </execution>
573 <execution>
574 <id>default-prepare-agent</id>
575 <goals>
576 <goal>prepare-agent</goal>
577 </goals>
578 </execution>
579 <execution>
580 <id>default-report</id>
581 <phase>prepare-package</phase>
582 <goals>
583 <goal>report</goal>
584 </goals>
585 </execution>
586 <execution>
587 <id>default-check</id>
588 <goals>
589 <goal>check</goal>
590 </goals>
591 <configuration>
592 <rules>
593 <rule>
594 <element>PACKAGE</element>
595 <limits>
596 <limit>
597 <counter>COMPLEXITY</counter>
598 <value>COVEREDRATIO</value>
599 <minimum>0.0</minimum>
600 </limit>
601 </limits>
602 </rule>
603 </rules>
604 </configuration>
605 </execution>
606 </executions>
607 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400608 <plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000609 <artifactId>maven-checkstyle-plugin</artifactId>
610 </plugin>
611 <plugin>
612 <groupId>org.codehaus.mojo</groupId>
613 <artifactId>build-helper-maven-plugin</artifactId>
614 <version>1.12</version>
615 </plugin>
616 <!-- Jacoco / Sonar -->
617 <plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400618 <groupId>org.apache.maven.plugins</groupId>
619 <artifactId>maven-surefire-plugin</artifactId>
620 </plugin>
621 <plugin>
622 <groupId>org.apache.maven.plugins</groupId>
623 <artifactId>maven-failsafe-plugin</artifactId>
624 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000625
626 <!-- End of plugins from ONAP oparent -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400627 <plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000628 <groupId>org.codehaus.mojo</groupId>
629 <artifactId>properties-maven-plugin</artifactId>
630 <version>1.0.0</version>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400631 <executions>
632 <execution>
633 <goals>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000634 <goal>set-system-properties</goal>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400635 </goals>
636 <configuration>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000637 <properties>
638 <property>
639 <name>maven.wagon.http.ssl.allowall</name>
640 <value>${ssl.allowall}</value>
641 </property>
642 <property>
643 <name>maven.wagon.http.ssl.insecure</name>
644 <value>${ssl.insecure}</value>
645 </property>
646 </properties>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400647 </configuration>
648 </execution>
649 </executions>
650 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000651 <plugin>
652 <groupId>org.codehaus.mojo</groupId>
653 <artifactId>versions-maven-plugin</artifactId>
654 <version>2.5</version>
655 <configuration>
656 <processAllModules>true</processAllModules>
657 </configuration>
658 </plugin>
659 <plugin>
660 <artifactId>maven-scm-plugin</artifactId>
661 <version>1.8.1</version>
662 <configuration>
663 <tag>${project.artifactId}-${project.version}</tag>
664 </configuration>
665 </plugin>
Singal, Kapil (ks220y)da2d9762020-09-04 10:34:58 -0400666 <plugin>
667 <groupId>pl.project13.maven</groupId>
668 <artifactId>git-commit-id-plugin</artifactId>
669 <version>4.0.0</version>
670 <configuration>
671 <commitIdGenerationMode>full</commitIdGenerationMode>
672 <includeOnlyProperties>
673 <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
674 <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
675 </includeOnlyProperties>
676 </configuration>
677 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400678 </plugins>
679 </build>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400680
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400681 <reporting>
682 <plugins>
683 <plugin>
684 <artifactId>maven-javadoc-plugin</artifactId>
685 <version>2.10.4</version>
686 <configuration>
687 <failOnError>false</failOnError>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000688 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
689 <docletArtifact>
690 <groupId>org.umlgraph</groupId>
691 <artifactId>umlgraph</artifactId>
692 <version>5.6</version>
693 </docletArtifact>
694 <additionalparam>-views</additionalparam>
695 <useStandardDocletOptions>true</useStandardDocletOptions>
696 <excludePackageNames>org.opendaylight.*</excludePackageNames>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400697 </configuration>
698 <reportSets>
699 <reportSet>
700 <reports>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000701 <report>javadoc-no-fork</report>
702 <report>test-javadoc-no-fork</report>
703 </reports>
704 </reportSet>
705 <reportSet>
706 <id>aggregate</id>
707 <reports>
708 <report>aggregate</report>
709 <report>test-aggregate</report>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400710 </reports>
711 </reportSet>
712 </reportSets>
713 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000714 <plugin>
715 <groupId>org.apache.maven.plugins</groupId>
716 <artifactId>maven-jxr-plugin</artifactId>
717 <version>2.3</version>
718 <reportSets>
719 <reportSet>
720 <id>aggregate</id>
721 <reports>
722 <report>aggregate</report>
723 <report>test-aggregate</report>
724 </reports>
725 </reportSet>
726 </reportSets>
727 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000728 <plugin>
729 <artifactId>maven-surefire-plugin</artifactId>
730 <version>2.17</version>
731 </plugin>
732 <plugin>
733 <groupId>org.apache.maven.plugins</groupId>
734 <artifactId>maven-changelog-plugin</artifactId>
735 <version>2.3</version>
736 <reportSets>
737 <reportSet>
738 <id>dual-report</id>
739 <configuration>
740 <type>range</type>
741 <range>30</range>
742 </configuration>
743 <reports>
744 <report>changelog</report>
745 <report>file-activity</report>
746 </reports>
747 </reportSet>
748 </reportSets>
749 </plugin>
750 <plugin>
751 <groupId>org.codehaus.mojo</groupId>
752 <artifactId>taglist-maven-plugin</artifactId>
753 <version>2.4</version>
754 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400755 </plugins>
756 </reporting>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400757
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400758 <profiles>
759 <!-- Profiles from ONAP oparent -->
760 <profile>
761 <id>generate-json</id>
762 <activation>
763 <file>
764 <exists>${swagger-properties}</exists>
765 </file>
766 <property>
767 <name>swagger-sdk.generate-json</name>
768 </property>
769 </activation>
770 <build>
771 <plugins>
772 <plugin>
773 <groupId>org.codehaus.mojo</groupId>
774 <artifactId>properties-maven-plugin</artifactId>
775 <version>1.0.0</version>
776 <executions>
777 <execution>
778 <phase>initialize</phase>
779 <goals>
780 <goal>read-project-properties</goal>
781 </goals>
782 <configuration>
783 <files>
784 <file>${basedir}/src/main/resources/swagger.properties</file>
785 </files>
786 </configuration>
787 </execution>
788 </executions>
789 </plugin>
790 <plugin>
791 <groupId>com.github.kongchen</groupId>
792 <artifactId>swagger-maven-plugin</artifactId>
793 <version>3.1.4</version>
794 <configuration>
795 <apiSources>
796 <apiSource>
797 <locations>${api-rest-package}</locations>
798 <schemes>http,https</schemes>
799 <host>${api-host-ip}:${api-host-port}</host>
800 <basePath>${api-base-path}</basePath>
801 <info>
802 <title>${api-title}</title>
803 <version>${api-version}</version>
804 <description>${api-description}</description>
805 <license>
806 <name>${api-license}</name>
807 </license>
808 </info>
809 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
810 </apiSource>
811 </apiSources>
812 </configuration>
813 <executions>
814 <execution>
815 <phase>compile</phase>
816 <goals>
817 <goal>generate</goal>
818 </goals>
819 </execution>
820 </executions>
821 </plugin>
822 <plugin>
823 <groupId>org.apache.maven.plugins</groupId>
824 <artifactId>maven-install-plugin</artifactId>
825 <version>2.3.1</version>
826 <executions>
827 <execution>
828 <id>install-file-id</id>
829 <phase>install</phase>
830 <goals>
831 <goal>install-file</goal>
832 </goals>
833 <configuration>
834 <file>${basedir}/src/main/resources/swagger.json</file>
835 <groupId>${project.groupId}</groupId>
836 <artifactId>${project.artifactId}-swagger-schema</artifactId>
837 <version>${project.version}</version>
838 <packaging>json</packaging>
839 </configuration>
840 </execution>
841 </executions>
842 </plugin>
843 </plugins>
844 </build>
845 </profile>
846 <profile>
847 <id>generate-sdk</id>
848 <activation>
849 <file>
850 <exists>${swagger-json}</exists>
851 </file>
852 <property>
853 <name>swagger-sdk.generate-java-sdk</name>
854 </property>
855 </activation>
856 <build>
857 <plugins>
858 <plugin>
859 <groupId>org.apache.maven.plugins</groupId>
860 <artifactId>maven-antrun-plugin</artifactId>
861 <version>1.8</version>
862 <executions>
863 <execution>
864 <phase>initialize</phase>
865 <id>ant-create-script</id>
866 <configuration>
867 <exportAntProperties>true</exportAntProperties>
868 <tasks>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400869 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
870 <condition property="is_windows" value="true">
871 <os family="windows"/>
872 </condition>
873 <condition property="isLinux" value="true">
874 <os family="unix"/>
875 </condition>
876 <if>
877 <equals arg1="${is_windows}" arg2="true"/>
878 <then>
879 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
880 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
881 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
882 </then>
883 <else>
884 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
885 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
886 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
887 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
888 </else>
889 </if>
890 </tasks>
891 </configuration>
892 <goals>
893 <goal>run</goal>
894 </goals>
895 </execution>
896 </executions>
897 <dependencies>
898 <dependency>
899 <groupId>ant-contrib</groupId>
900 <artifactId>ant-contrib</artifactId>
901 <version>1.0b3</version>
902 <exclusions>
903 <exclusion>
904 <groupId>ant</groupId>
905 <artifactId>ant</artifactId>
906 </exclusion>
907 </exclusions>
908 </dependency>
909 </dependencies>
910 </plugin>
911 <plugin>
912 <groupId>io.swagger</groupId>
913 <artifactId>swagger-codegen-maven-plugin</artifactId>
914 <version>2.2.1</version>
915 <executions>
916 <execution>
917 <goals>
918 <goal>generate</goal>
919 </goals>
920 <configuration>
921 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
922 <output>${project.build.directory}/generated-sources</output>
923 <language>java</language>
924 <configOptions>
925 <dateLibrary>joda</dateLibrary>
926 </configOptions>
927 <library>jersey2</library>
928 <groupId>${project.groupId}</groupId>
929 <artifactId>${project.artifactId}-java-sdk</artifactId>
930 <artifactVersion>${project.version}</artifactVersion>
931 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
932 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
933 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
934 </configuration>
935 </execution>
936 </executions>
937 </plugin>
938 <plugin>
939 <groupId>org.codehaus.mojo</groupId>
940 <artifactId>exec-maven-plugin</artifactId>
941 <version>1.5.0</version>
942 <executions>
943 <execution>
944 <id>swagger-generate-sources</id>
945 <phase>generate-sources</phase>
946 <goals>
947 <goal>exec</goal>
948 </goals>
949 <configuration>
950 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
951 </configuration>
952 </execution>
953 </executions>
954 </plugin>
955 <plugin>
956 <groupId>org.apache.maven.plugins</groupId>
957 <artifactId>maven-clean-plugin</artifactId>
958 <version>3.0.0</version>
959 <executions>
960 <execution>
961 <id>clean-generated-files</id>
962 <phase>generate-sources</phase>
963 <goals>
964 <goal>clean</goal>
965 </goals>
966 <configuration>
967 <filesets>
968 <fileset>
969 <directory>${project.build.directory}/generated-sources</directory>
970 </fileset>
971 </filesets>
972 </configuration>
973 </execution>
974 </executions>
975 </plugin>
976 </plugins>
977 </build>
978 <dependencies>
979 <dependency>
980 <groupId>org.onap.msb.swagger-sdk</groupId>
981 <artifactId>swagger-sdk</artifactId>
982 <version>1.0.0</version>
983 </dependency>
984 </dependencies>
985 </profile>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -0500986 <profile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500987 <!-- http://blog2.vorburger.ch/2016/06/improve-maven-build-speed-with-q.html
988 q = http://memory-alpha.wikia.com/wiki/Q ;)
989
990 The Quick profile is used during incremental local development, when you want to "just get that JAR built",
991 which is very handy e.g. for fast hot reloading cycles in Karaf with bundle watch. It (intentionally!) skips
992 tests, quality checks etc. which are great and useful to run before finally submitting changes to Gerrit, and
993 which all must run on Gerrit, but which are overhead during ongoing fast iterative local development.
994
995 Note that the idea here is that your IDE will already have run quality checks such as e.g. Checkstyle
996 while you typed the code anyway. Similarly, if you wrote a test, you'll probably already have compiled and run it
997 from your IDE, so when you want the OSGi bundle JAR for Karaf, ASAP, you typically don't want all that to run again.
998 -->
999 <id>q</id>
1000 <properties>
1001 <skipTests>true</skipTests>
Singal, Kapil (ks220y)44bb42e2020-09-18 11:00:50 -04001002 <skipPush>true</skipPush>
1003 <docker.skip.push>true</docker.skip.push>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05001004 <!-- But NOT <maven.test.skip>true, as that's for compiling, not running, tests;
1005 and that's usually quick. Skipping test compilation with -Pq with maven.test.skip would be
1006 particularly confusing when used in a project with maven-jar-plugin <goal>test-jar, so don't.) -->
1007 <skipIT>true</skipIT>
1008 <skipITs>true</skipITs>
1009 <skip.karaf.featureTest>true</skip.karaf.featureTest>
1010 <jacoco.skip>true</jacoco.skip>
1011 <maven.javadoc.skip>true</maven.javadoc.skip>
1012 <maven.source.skip>true</maven.source.skip>
1013 <checkstyle.skip>true</checkstyle.skip>
1014 <findbugs.skip>true</findbugs.skip>
1015 <spotbugs.skip>true</spotbugs.skip>
1016 <pmd.skip>true</pmd.skip>
1017 <cpd.skip>true</cpd.skip>
1018 <maven.site.skip>true</maven.site.skip>
1019 <invoker.skip>true</invoker.skip>
1020 <enforcer.skip>true</enforcer.skip>
1021 <duplicate-finder.skip>true</duplicate-finder.skip>
1022 <mdsal.skip.verbose>true</mdsal.skip.verbose> <!-- Bug 6236 -->
1023 <maven.gitcommitid.skip>true</maven.gitcommitid.skip>
1024 <modernizer.skip>true</modernizer.skip>
1025 <format.skipExecute>true</format.skipExecute>
1026 <format.skipValidate>true</format.skipValidate>
1027 </properties>
1028 </profile>
1029 <profile>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -05001030 <id>sonar-jacoco-aggregate</id>
1031 <activation>
1032 <property>
1033 <name>onap.jacoco.aggregateFile</name>
1034 </property>
1035 </activation>
1036 <build>
1037 <plugins>
1038 <plugin>
1039 <groupId>org.jacoco</groupId>
1040 <artifactId>jacoco-maven-plugin</artifactId>
1041 <executions>
1042 <execution>
1043 <id>merge</id>
1044 <goals>
1045 <goal>merge</goal>
1046 </goals>
1047 <phase>generate-resources</phase>
1048 <configuration>
1049 <destFile>${onap.jacoco.aggregateFile}</destFile>
1050 <fileSets>
1051 <fileSet>
1052 <directory>${project.basedir}</directory>
1053 <includes>
1054 <include>**/target/code-coverage/*.exec</include>
1055 </includes>
1056 </fileSet>
1057 </fileSets>
1058 </configuration>
1059 </execution>
1060 </executions>
1061 </plugin>
1062 </plugins>
1063 </build>
1064 </profile>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001065 <!-- End of profiles from ONAP oparent -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001066 </profiles>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -04001067</project>