blob: d657f9bebf2e44cfaa1a10a85360a44c7c45a012 [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">
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -04003 <modelVersion>4.0.0</modelVersion>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -04004
Dan Timoney43836a92023-06-22 16:04:02 -04005 <!-- PLEASE READ !!!!! This file is generated from ccsdk/parent/springboot/spring-boot-setup/src/main/template/pom-template-jdk17.xml
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -05006 Any updates needed should be made to that template and not to the generated
7 pom.xml file -->
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -04008 <parent>
9 <groupId>org.springframework.boot</groupId>
10 <artifactId>spring-boot-starter-parent</artifactId>
Dan Timoney9c23b602021-08-03 11:28:00 -040011 <version>2.3.12.RELEASE</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040012 <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-starter-parent</artifactId>
Dan Timoneyce639342023-11-09 12:28:22 -050017 <version>2.7.0-SNAPSHOT</version>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040018 <packaging>pom</packaging>
19
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -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)632a1f32019-09-27 14:09:00 -040027 <issueManagement>
28 <system>JIRA</system>
29 <url>https://jira.onap.org/</url>
30 </issueManagement>
Singal, Kapil (ks220y)9714cfc2021-05-17 13:23:11 -040031
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040032 <distributionManagement>
33 <repository>
34 <id>ecomp-releases</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050035 <url>${onap.nexus.release-url}</url>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040036 </repository>
37 <snapshotRepository>
38 <id>ecomp-snapshots</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050039 <url>${onap.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040040 </snapshotRepository>
41 </distributionManagement>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -040042
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040043 <properties>
Dan Timoney621888e2020-01-17 09:54:02 -050044 <!-- Sonar properties -->
45 <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
46 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
47 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
48 <!-- Default Sonar configuration -->
49 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
50 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
51 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
52
53 <!-- Jacoco properties -->
Dan Timoney43836a92023-06-22 16:04:02 -040054 <jacoco.version>0.8.8</jacoco.version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040055 <!-- properties from oparent -->
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050056
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040057 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
58 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040059 <!-- sitePath may be overridden in the inheriting POM if desired -->
60 <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
Singal, Kapil (ks220y)e14c10b2020-01-07 11:54:24 -050061
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040062 <!-- If following file exist, auto-generation of swagger.json will be done -->
63 <swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
64 <!-- If following file exist, auto-generation of sdk will be done -->
65 <swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
66 <!-- end of properties from oparent -->
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -040067
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040068 <!-- ONAP repositories -->
Singal, Kapil (ks220y)9714cfc2021-05-17 13:23:11 -040069 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040070 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
71 <onap.nexus.port>443</onap.nexus.port>
72 <onap.nexus.protocol>https</onap.nexus.protocol>
73 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
74 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
75 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
76 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
77 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
78 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -040079
Dan Timoney43836a92023-06-22 16:04:02 -040080 <java.version>17</java.version>
81 <maven.compile.plugin.version>3.10.0</maven.compile.plugin.version>
82 <maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040083 <features.file>features.xml</features.file>
84 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
85 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
86 <checkstyle.skip>true</checkstyle.skip>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -040087
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050088 <!-- logging-analytics versions -->
Claudio D. Gasparini10688642021-05-14 10:33:22 +020089 <logging-analytics.version>1.6.9</logging-analytics.version>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050090
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040091 <!-- CCSDK component versions -->
Dan Timoney655aa0b2023-11-10 11:05:33 -050092 <ccsdk.cds.version>(1.6.99999,1.7.99999-SNAPSHOT]</ccsdk.cds.version>
93 <ccsdk.features.version>(1.6.99999, 1.7.99999-SNAPSHOT]</ccsdk.features.version>
94 <ccsdk.distribution.version>(1.6.99999, 1.7.99999-SNAPSHOT]</ccsdk.distribution.version>
95 <ccsdk.sli.version>(1.7.99999, 1.8.99999-SNAPSHOT]</ccsdk.sli.version>
Jozsef Csongvaia4d399c2020-12-14 07:39:31 -050096 <ccsdk.sli.core.version>${ccsdk.sli.version}</ccsdk.sli.core.version>
97 <ccsdk.sli.adaptors.version>${ccsdk.sli.version}</ccsdk.sli.adaptors.version>
98 <ccsdk.sli.northbound.version>${ccsdk.sli.version}</ccsdk.sli.northbound.version>
99 <ccsdk.sli.plugins.version>${ccsdk.sli.version}</ccsdk.sli.plugins.version>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400100
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400101 <!-- Spring versions -->
Dan Timoney9c23b602021-08-03 11:28:00 -0400102 <spring.boot.version>2.3.12.RELEASE</spring.boot.version>
103 <spring.version>5.2.15.RELEASE</spring.version>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400104
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400105 <!-- Kotlin versions -->
Dan Timoney43836a92023-06-22 16:04:02 -0400106 <kotlin.compiler.jvmTarget>1.11</kotlin.compiler.jvmTarget>
107 <kotlin.version>1.5.32</kotlin.version>
108 <kotlin.maven.version>1.5.32</kotlin.maven.version>
109 <kotlin.couroutines.version>1.5.2</kotlin.couroutines.version>
Brinda Santhb58c8162020-01-31 14:24:27 -0500110 <kotlinpoet.version>1.5.0</kotlinpoet.version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400111 <kroto-plus.version>0.5.0</kroto-plus.version>
Brinda Santhb58c8162020-01-31 14:24:27 -0500112 <nats.version>2.6.6</nats.version>
113 <nats.streaming.version>2.2.3</nats.streaming.version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400114 <mockk.version>1.9.3</mockk.version>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400115
Dan Timoney43836a92023-06-22 16:04:02 -0400116
117 <antlr.version>4.12.0</antlr.version>
118 <antlr4.version>4.12.0</antlr4.version>
119
Singal, Kapil (ks220y)dfaa2552020-02-04 09:35:37 -0500120 <!-- Managed dependency versions -->
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500121 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400122 </properties>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400123
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400124 <dependencyManagement>
125 <dependencies>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500126 <!-- Note: If value in BOM conflicts with value inherited from
127 parent pom, inherited value takes precedence. This seems more like
128 a bug than a feature, but this is how maven 3.6 works -->
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400129 <dependency>
130 <groupId>org.onap.ccsdk.parent</groupId>
131 <artifactId>dependencies-bom</artifactId>
Dan Timoneyce639342023-11-09 12:28:22 -0500132 <version>2.7.0-SNAPSHOT</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400133 <type>pom</type>
134 <scope>import</scope>
135 </dependency>
136 <dependency>
Dan Timoneybc67c402021-08-05 10:46:18 -0400137 <groupId>com.fasterxml.jackson</groupId>
138 <artifactId>jackson-bom</artifactId>
139 <version>2.11.4</version>
140 <type>pom</type>
141 <scope>import</scope>
142 </dependency>
143 <dependency>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400144 <groupId>org.onap.ccsdk.sli.core</groupId>
145 <artifactId>sli-common</artifactId>
146 <version>${ccsdk.sli.core.version}</version>
147 </dependency>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400148 <dependency>
149 <groupId>org.onap.ccsdk.sli.core</groupId>
150 <artifactId>sli-provider</artifactId>
151 <version>${ccsdk.sli.core.version}</version>
152 </dependency>
153 <dependency>
154 <groupId>org.onap.ccsdk.sli.core</groupId>
155 <artifactId>ccsdk-sli</artifactId>
156 <version>${ccsdk.sli.core.version}</version>
157 <type>xml</type>
158 <classifier>features</classifier>
159 </dependency>
160 <dependency>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400161 <groupId>org.onap.ccsdk.sli.core</groupId>
162 <artifactId>dblib-provider</artifactId>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500163 <version>${ccsdk.sli.core.version}</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400164 </dependency>
165 <dependency>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500166 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
167 <artifactId>aai-service-provider</artifactId>
168 <version>${ccsdk.sli.adaptors.version}</version>
169 </dependency>
170 <dependency>
171 <groupId>org.onap.logging-analytics</groupId>
172 <artifactId>logging-slf4j</artifactId>
173 <version>${logging-analytics.version}</version>
174 </dependency>
175 <dependency>
176 <groupId>org.onap.logging-analytics</groupId>
177 <artifactId>logging-filter-base</artifactId>
178 <version>${logging-analytics.version}</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400179 </dependency>
Dan Timoney95395e82021-08-17 11:24:26 -0400180 <dependency>
181 <groupId>org.liquibase</groupId>
182 <artifactId>liquibase-core</artifactId>
183 <version>4.4.2-nordix</version>
Singal, Kapil (ks220y)76ea3c62022-05-02 14:13:19 -0400184 </dependency>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400185 </dependencies>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400186 </dependencyManagement>
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -0400187
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400188 <repositories>
189 <repository>
190 <id>onap-public</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500191 <url>${onap.nexus.public-url}</url>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400192 <releases>
193 <enabled>true</enabled>
194 <updatePolicy>never</updatePolicy>
195 </releases>
196 <snapshots>
197 <enabled>true</enabled>
198 <updatePolicy>always</updatePolicy>
199 </snapshots>
200 </repository>
201 <repository>
202 <id>onap-staging</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500203 <url>${onap.nexus.staging-url}</url>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400204 <releases>
205 <enabled>true</enabled>
206 <updatePolicy>never</updatePolicy>
207 </releases>
208 <snapshots>
209 <enabled>true</enabled>
210 <updatePolicy>always</updatePolicy>
211 </snapshots>
212 </repository>
213 <repository>
214 <id>ecomp-release</id>
215 <name>onap-repository-releases</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500216 <url>${onap.nexus.release-url}</url>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400217 <releases>
218 <enabled>true</enabled>
219 <updatePolicy>never</updatePolicy>
220 </releases>
221 <snapshots>
222 <enabled>false</enabled>
223 </snapshots>
224 </repository>
225 <repository>
226 <id>ecomp-snapshot</id>
227 <name>onap-repository-snapshots</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500228 <url>${onap.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400229 <releases>
230 <enabled>false</enabled>
231 </releases>
232 <snapshots>
233 <enabled>true</enabled>
234 </snapshots>
235 </repository>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400236 </repositories>
Singal, Kapil (ks220y)9714cfc2021-05-17 13:23:11 -0400237
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400238 <pluginRepositories>
239 <pluginRepository>
240 <id>onap-public</id>
241 <url>${onap.nexus.public-url}</url>
242 <releases>
243 <enabled>true</enabled>
244 </releases>
245 <snapshots>
246 <enabled>true</enabled>
247 </snapshots>
248 </pluginRepository>
249 <pluginRepository>
250 <id>onap-staging</id>
251 <url>${onap.nexus.staging-url}</url>
252 <releases>
253 <enabled>true</enabled>
254 </releases>
255 <snapshots>
256 <enabled>true</enabled>
257 </snapshots>
258 </pluginRepository>
259 <pluginRepository>
260 <id>onap-snapshot</id>
261 <url>${onap.nexus.snapshot-url}</url>
262 <releases>
263 <enabled>false</enabled>
264 </releases>
265 <snapshots>
266 <enabled>true</enabled>
267 </snapshots>
268 </pluginRepository>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400269
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400270 </pluginRepositories>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400271
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400272 <build>
273 <pluginManagement>
274 <plugins>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400275 <!-- Plugins from ONAP oparent -->
276 <plugin>
277 <groupId>org.apache.maven.plugins</groupId>
278 <artifactId>maven-deploy-plugin</artifactId>
279 <!-- This version supports the "deployAtEnd" parameter -->
280 <version>2.8</version>
281 <configuration>
282 <skip/>
Singal, Kapil (ks220y)6fa7fc92021-02-01 16:11:38 -0500283 <deployAtEnd>true</deployAtEnd>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400284 </configuration>
285 </plugin>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400286 <plugin>
287 <groupId>org.apache.maven.plugins</groupId>
288 <artifactId>maven-site-plugin</artifactId>
289 <version>3.6</version>
290 <dependencies>
291 <dependency>
292 <groupId>org.apache.maven.wagon</groupId>
293 <artifactId>wagon-webdav-jackrabbit</artifactId>
294 <version>2.10</version>
295 </dependency>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000296 <dependency>
297 <groupId>org.apache.maven.doxia</groupId>
298 <artifactId>doxia-core</artifactId>
299 <version>1.7</version>
300 </dependency>
301 <dependency>
302 <groupId>org.apache.maven.doxia</groupId>
303 <artifactId>doxia-sink-api</artifactId>
304 <version>1.7</version>
305 </dependency>
306 <dependency>
307 <groupId>org.apache.maven.doxia</groupId>
308 <artifactId>doxia-logging-api</artifactId>
309 <version>1.7</version>
310 </dependency>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400311 </dependencies>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000312 <executions>
313 <execution>
314 <id>attach-descriptor</id>
315 <goals>
316 <goal>attach-descriptor</goal>
317 </goals>
318 </execution>
319 </executions>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400320 </plugin>
321 <plugin>
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -0400322 <groupId>org.apache.maven.plugins</groupId>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000323 <artifactId>maven-checkstyle-plugin</artifactId>
324 <version>2.17</version>
325 <dependencies>
326 <dependency>
327 <groupId>org.onap.oparent</groupId>
328 <artifactId>checkstyle</artifactId>
329 <version>1.1.1</version>
330 </dependency>
331 </dependencies>
332 <executions>
333 <execution>
334 <id>check-license</id>
335 <goals>
336 <goal>check</goal>
337 </goals>
338 <phase>process-sources</phase>
339 <configuration>
340 <configLocation>onap-checkstyle/check-license.xml</configLocation>
341 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
342 <includeResources>false</includeResources>
343 <includeTestSourceDirectory>true</includeTestSourceDirectory>
344 <includeTestResources>false</includeTestResources>
345 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
346 <excludes>
347 </excludes>
348 <failsOnError>false</failsOnError>
349 <consoleOutput>true</consoleOutput>
350 </configuration>
351 </execution>
352 <execution>
353 <id>check-style</id>
354 <goals>
355 <goal>check</goal>
356 </goals>
357 <phase>process-sources</phase>
358 <configuration>
359 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
360 with minor changes -->
361 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500362 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000363 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
364 <includeResources>true</includeResources>
365 <includeTestSourceDirectory>true</includeTestSourceDirectory>
366 <includeTestResources>true</includeTestResources>
367 <excludes>
368 </excludes>
369 <failsOnError>false</failsOnError>
370 <consoleOutput>true</consoleOutput>
371 </configuration>
372 </execution>
373 </executions>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400374 </plugin>
Dan Timoney621888e2020-01-17 09:54:02 -0500375
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400376 <plugin>
377 <groupId>org.apache.maven.plugins</groupId>
378 <artifactId>maven-surefire-plugin</artifactId>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400379 <configuration>
380 <!-- Sets the VM argument line used when unit tests are run. -->
381 <argLine>${surefireArgLine}</argLine>
382 <!-- Excludes integration tests when unit tests are run. -->
383 <excludes>
384 <exclude>**/IT*.java</exclude>
385 </excludes>
386 </configuration>
387 </plugin>
388 <plugin>
389 <groupId>org.apache.maven.plugins</groupId>
390 <artifactId>maven-failsafe-plugin</artifactId>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400391 <executions>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500392 <!-- Ensures that both integration-test and verify goals of the Failsafe Maven plugin are executed. -->
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400393 <execution>
394 <id>integration-tests</id>
395 <goals>
396 <goal>integration-test</goal>
397 <goal>verify</goal>
398 </goals>
399 <configuration>
400 <!-- Sets the VM argument line used when integration tests are run. -->
401 <argLine>${failsafeArgLine}</argLine>
402 </configuration>
403 </execution>
404 </executions>
405 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000406 <plugin>
407 <groupId>org.apache.maven.plugins</groupId>
408 <artifactId>maven-compiler-plugin</artifactId>
409 <version>${maven.compile.plugin.version}</version>
410 <configuration>
Dan Timoney43836a92023-06-22 16:04:02 -0400411 <release>${java.version}</release>
412 <!--explicitly remove source and target-->
413 <source combine.self="override"/>
414 <target combine.self="override"/>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000415 </configuration>
416 </plugin>
417 <plugin>
418 <groupId>org.sonarsource.scanner.maven</groupId>
419 <artifactId>sonar-maven-plugin</artifactId>
Dan Timoney43836a92023-06-22 16:04:02 -0400420 <version>3.7.0.1746</version>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000421 </plugin>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400422
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400423 <!-- End of plugins from ONAP oparent -->
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500424
425 <plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000426 <groupId>org.apache.maven.plugins</groupId>
427 <artifactId>maven-javadoc-plugin</artifactId>
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500428 <configuration>
Dan Timoneye816a592020-09-03 08:56:01 -0400429 <failOnError>false</failOnError>
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500430 </configuration>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000431 <executions>
432 <execution>
433 <id>aggregate</id>
434 <goals>
435 <goal>aggregate</goal>
436 </goals>
437 <phase>site</phase>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000438 </execution>
439 </executions>
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500440 </plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500441 <plugin>
442 <groupId>com.github.ferstl</groupId>
443 <artifactId>depgraph-maven-plugin</artifactId>
444 <version>3.3.0</version>
445 <configuration>
446 <graphFormat>text</graphFormat>
447 <outputFileName>${dependency-list.file}</outputFileName>
448 <outputDirectory>${project.basedir}</outputDirectory>
449 <transitiveExcludes>*</transitiveExcludes>
450 <showVersions>true</showVersions>
Timoney, Dan (dt5972)cc0c96a2019-12-11 10:04:52 -0500451 <showGroupIds>true</showGroupIds>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500452 </configuration>
453 </plugin>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400454 </plugins>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400455 </pluginManagement>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400456 <plugins>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000457 <!-- Plugins from ONAP oparent -->
Dan Timoney621888e2020-01-17 09:54:02 -0500458 <!-- Jacoco / Sonar -->
459 <plugin>
460 <groupId>org.jacoco</groupId>
461 <artifactId>jacoco-maven-plugin</artifactId>
462 <version>${jacoco.version}</version>
463 <executions>
464 <execution>
465 <id>pre-unit-test</id>
466 <goals>
467 <goal>prepare-agent</goal>
468 </goals>
469 <configuration>
470 <!-- Sets the path to the file which contains the execution data. -->
471 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500472 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500473 <propertyName>surefireArgLine</propertyName>
474 </configuration>
475 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500476 <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500477 <execution>
478 <id>post-unit-test</id>
479 <phase>test</phase>
480 <goals>
481 <goal>report</goal>
482 </goals>
483 <configuration>
484 <!-- Sets the path to the file which contains the execution data. -->
485 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
486 <!-- Sets the output directory for the code coverage report. -->
487 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
488 </configuration>
489 </execution>
490 <execution>
491 <id>pre-integration-test</id>
492 <phase>pre-integration-test</phase>
493 <goals>
494 <goal>prepare-agent</goal>
495 </goals>
496 <configuration>
497 <!-- Sets the path to the file which contains the execution data. -->
498 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500499 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500500 <propertyName>failsafeArgLine</propertyName>
501 </configuration>
502 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500503 <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500504 <execution>
505 <id>post-integration-test</id>
506 <phase>post-integration-test</phase>
507 <goals>
508 <goal>report</goal>
509 </goals>
510 <configuration>
511 <!-- Sets the path to the file which contains the execution data. -->
512 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
513 <!-- Sets the output directory for the code coverage report. -->
514 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
515 </configuration>
516 </execution>
517 <execution>
518 <id>default-prepare-agent</id>
519 <goals>
520 <goal>prepare-agent</goal>
521 </goals>
522 </execution>
523 <execution>
524 <id>default-report</id>
525 <phase>prepare-package</phase>
526 <goals>
527 <goal>report</goal>
528 </goals>
529 </execution>
530 <execution>
531 <id>default-check</id>
532 <goals>
533 <goal>check</goal>
534 </goals>
535 <configuration>
536 <rules>
537 <rule>
538 <element>PACKAGE</element>
539 <limits>
540 <limit>
541 <counter>COMPLEXITY</counter>
542 <value>COVEREDRATIO</value>
543 <minimum>0.0</minimum>
544 </limit>
545 </limits>
546 </rule>
547 </rules>
548 </configuration>
549 </execution>
550 </executions>
551 </plugin>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400552 <plugin>
Singal, Kapil (ks220y)e1d0e252021-02-01 22:06:16 -0500553 <groupId>org.apache.maven.plugins</groupId>
554 <artifactId>maven-deploy-plugin</artifactId>
555 </plugin>
556 <plugin>
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -0400557 <groupId>org.apache.maven.plugins</groupId>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000558 <artifactId>maven-checkstyle-plugin</artifactId>
559 </plugin>
560 <plugin>
561 <groupId>org.codehaus.mojo</groupId>
562 <artifactId>build-helper-maven-plugin</artifactId>
563 <version>1.12</version>
564 </plugin>
565 <!-- Jacoco / Sonar -->
566 <plugin>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400567 <groupId>org.apache.maven.plugins</groupId>
568 <artifactId>maven-surefire-plugin</artifactId>
569 </plugin>
570 <plugin>
571 <groupId>org.apache.maven.plugins</groupId>
572 <artifactId>maven-failsafe-plugin</artifactId>
573 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000574
575 <!-- End of plugins from ONAP oparent -->
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400576 <plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000577 <groupId>org.codehaus.mojo</groupId>
578 <artifactId>properties-maven-plugin</artifactId>
579 <version>1.0.0</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400580 <executions>
581 <execution>
582 <goals>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000583 <goal>set-system-properties</goal>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400584 </goals>
585 <configuration>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000586 <properties>
587 <property>
588 <name>maven.wagon.http.ssl.allowall</name>
589 <value>${ssl.allowall}</value>
590 </property>
591 <property>
592 <name>maven.wagon.http.ssl.insecure</name>
593 <value>${ssl.insecure}</value>
594 </property>
595 </properties>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400596 </configuration>
597 </execution>
598 </executions>
599 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000600 <plugin>
601 <groupId>org.codehaus.mojo</groupId>
602 <artifactId>versions-maven-plugin</artifactId>
603 <version>2.5</version>
604 <configuration>
605 <processAllModules>true</processAllModules>
606 </configuration>
607 </plugin>
608 <plugin>
609 <artifactId>maven-scm-plugin</artifactId>
610 <version>1.8.1</version>
611 <configuration>
612 <tag>${project.artifactId}-${project.version}</tag>
613 </configuration>
614 </plugin>
Singal, Kapil (ks220y)da2d9762020-09-04 10:34:58 -0400615 <plugin>
616 <groupId>pl.project13.maven</groupId>
617 <artifactId>git-commit-id-plugin</artifactId>
618 <version>4.0.0</version>
619 <configuration>
620 <commitIdGenerationMode>full</commitIdGenerationMode>
621 <includeOnlyProperties>
622 <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
623 <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
624 </includeOnlyProperties>
625 </configuration>
626 </plugin>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400627 </plugins>
628 </build>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400629
630 <reporting>
631 <plugins>
632 <plugin>
633 <artifactId>maven-javadoc-plugin</artifactId>
634 <version>2.10.4</version>
635 <configuration>
636 <failOnError>false</failOnError>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000637 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
638 <docletArtifact>
639 <groupId>org.umlgraph</groupId>
640 <artifactId>umlgraph</artifactId>
641 <version>5.6</version>
642 </docletArtifact>
643 <additionalparam>-views</additionalparam>
644 <useStandardDocletOptions>true</useStandardDocletOptions>
645 <excludePackageNames>org.opendaylight.*</excludePackageNames>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400646 </configuration>
647 <reportSets>
648 <reportSet>
649 <reports>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000650 <report>javadoc-no-fork</report>
651 <report>test-javadoc-no-fork</report>
652 </reports>
653 </reportSet>
654 <reportSet>
655 <id>aggregate</id>
656 <reports>
657 <report>aggregate</report>
658 <report>test-aggregate</report>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400659 </reports>
660 </reportSet>
661 </reportSets>
662 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000663 <plugin>
664 <groupId>org.apache.maven.plugins</groupId>
665 <artifactId>maven-jxr-plugin</artifactId>
666 <version>2.3</version>
667 <reportSets>
668 <reportSet>
669 <id>aggregate</id>
670 <reports>
671 <report>aggregate</report>
672 <report>test-aggregate</report>
673 </reports>
674 </reportSet>
675 </reportSets>
676 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000677 <plugin>
678 <artifactId>maven-surefire-plugin</artifactId>
679 <version>2.17</version>
680 </plugin>
681 <plugin>
682 <groupId>org.apache.maven.plugins</groupId>
683 <artifactId>maven-changelog-plugin</artifactId>
684 <version>2.3</version>
685 <reportSets>
686 <reportSet>
687 <id>dual-report</id>
688 <configuration>
689 <type>range</type>
690 <range>30</range>
691 </configuration>
692 <reports>
693 <report>changelog</report>
694 <report>file-activity</report>
695 </reports>
696 </reportSet>
697 </reportSets>
698 </plugin>
699 <plugin>
700 <groupId>org.codehaus.mojo</groupId>
701 <artifactId>taglist-maven-plugin</artifactId>
702 <version>2.4</version>
703 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400704 </plugins>
705 </reporting>
706
707 <profiles>
708 <!-- Profiles from ONAP oparent -->
709 <profile>
710 <id>generate-json</id>
711 <activation>
712 <file>
713 <exists>${swagger-properties}</exists>
714 </file>
715 <property>
716 <name>swagger-sdk.generate-json</name>
717 </property>
718 </activation>
719 <build>
720 <plugins>
721 <plugin>
722 <groupId>org.codehaus.mojo</groupId>
723 <artifactId>properties-maven-plugin</artifactId>
724 <version>1.0.0</version>
725 <executions>
726 <execution>
727 <phase>initialize</phase>
728 <goals>
729 <goal>read-project-properties</goal>
730 </goals>
731 <configuration>
732 <files>
733 <file>${basedir}/src/main/resources/swagger.properties</file>
734 </files>
735 </configuration>
736 </execution>
737 </executions>
738 </plugin>
739 <plugin>
740 <groupId>com.github.kongchen</groupId>
741 <artifactId>swagger-maven-plugin</artifactId>
742 <version>3.1.4</version>
743 <configuration>
744 <apiSources>
745 <apiSource>
746 <locations>${api-rest-package}</locations>
747 <schemes>http,https</schemes>
748 <host>${api-host-ip}:${api-host-port}</host>
749 <basePath>${api-base-path}</basePath>
750 <info>
751 <title>${api-title}</title>
752 <version>${api-version}</version>
753 <description>${api-description}</description>
754 <license>
755 <name>${api-license}</name>
756 </license>
757 </info>
758 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
759 </apiSource>
760 </apiSources>
761 </configuration>
762 <executions>
763 <execution>
764 <phase>compile</phase>
765 <goals>
766 <goal>generate</goal>
767 </goals>
768 </execution>
769 </executions>
770 </plugin>
771 <plugin>
772 <groupId>org.apache.maven.plugins</groupId>
773 <artifactId>maven-install-plugin</artifactId>
774 <version>2.3.1</version>
775 <executions>
776 <execution>
777 <id>install-file-id</id>
778 <phase>install</phase>
779 <goals>
780 <goal>install-file</goal>
781 </goals>
782 <configuration>
783 <file>${basedir}/src/main/resources/swagger.json</file>
784 <groupId>${project.groupId}</groupId>
785 <artifactId>${project.artifactId}-swagger-schema</artifactId>
786 <version>${project.version}</version>
787 <packaging>json</packaging>
788 </configuration>
789 </execution>
790 </executions>
791 </plugin>
792 </plugins>
793 </build>
794 </profile>
795 <profile>
796 <id>generate-sdk</id>
797 <activation>
798 <file>
799 <exists>${swagger-json}</exists>
800 </file>
801 <property>
802 <name>swagger-sdk.generate-java-sdk</name>
803 </property>
804 </activation>
805 <build>
806 <plugins>
807 <plugin>
808 <groupId>org.apache.maven.plugins</groupId>
809 <artifactId>maven-antrun-plugin</artifactId>
Dan Timoney43836a92023-06-22 16:04:02 -0400810 <version>${maven-antrun-plugin.version}</version>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400811 <executions>
812 <execution>
813 <phase>initialize</phase>
814 <id>ant-create-script</id>
815 <configuration>
816 <exportAntProperties>true</exportAntProperties>
817 <tasks>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400818 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
819 <condition property="is_windows" value="true">
820 <os family="windows"/>
821 </condition>
822 <condition property="isLinux" value="true">
823 <os family="unix"/>
824 </condition>
825 <if>
826 <equals arg1="${is_windows}" arg2="true"/>
827 <then>
828 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
829 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
830 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
831 </then>
832 <else>
833 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
834 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
835 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
836 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
837 </else>
838 </if>
839 </tasks>
840 </configuration>
841 <goals>
842 <goal>run</goal>
843 </goals>
844 </execution>
845 </executions>
846 <dependencies>
847 <dependency>
848 <groupId>ant-contrib</groupId>
849 <artifactId>ant-contrib</artifactId>
850 <version>1.0b3</version>
851 <exclusions>
852 <exclusion>
853 <groupId>ant</groupId>
854 <artifactId>ant</artifactId>
855 </exclusion>
856 </exclusions>
857 </dependency>
858 </dependencies>
859 </plugin>
860 <plugin>
861 <groupId>io.swagger</groupId>
862 <artifactId>swagger-codegen-maven-plugin</artifactId>
863 <version>2.2.1</version>
864 <executions>
865 <execution>
866 <goals>
867 <goal>generate</goal>
868 </goals>
869 <configuration>
870 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
871 <output>${project.build.directory}/generated-sources</output>
872 <language>java</language>
873 <configOptions>
874 <dateLibrary>joda</dateLibrary>
875 </configOptions>
876 <library>jersey2</library>
877 <groupId>${project.groupId}</groupId>
878 <artifactId>${project.artifactId}-java-sdk</artifactId>
879 <artifactVersion>${project.version}</artifactVersion>
880 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
881 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
882 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
883 </configuration>
884 </execution>
885 </executions>
886 </plugin>
887 <plugin>
888 <groupId>org.codehaus.mojo</groupId>
889 <artifactId>exec-maven-plugin</artifactId>
Dan Timoney43836a92023-06-22 16:04:02 -0400890 <version>3.1.0</version>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400891 <executions>
892 <execution>
893 <id>swagger-generate-sources</id>
894 <phase>generate-sources</phase>
895 <goals>
896 <goal>exec</goal>
897 </goals>
898 <configuration>
899 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
900 </configuration>
901 </execution>
902 </executions>
903 </plugin>
904 <plugin>
905 <groupId>org.apache.maven.plugins</groupId>
906 <artifactId>maven-clean-plugin</artifactId>
907 <version>3.0.0</version>
908 <executions>
909 <execution>
910 <id>clean-generated-files</id>
911 <phase>generate-sources</phase>
912 <goals>
913 <goal>clean</goal>
914 </goals>
915 <configuration>
916 <filesets>
917 <fileset>
918 <directory>${project.build.directory}/generated-sources</directory>
919 </fileset>
920 </filesets>
921 </configuration>
922 </execution>
923 </executions>
924 </plugin>
925 </plugins>
926 </build>
927 <dependencies>
928 <dependency>
929 <groupId>org.onap.msb.swagger-sdk</groupId>
930 <artifactId>swagger-sdk</artifactId>
931 <version>1.0.0</version>
932 </dependency>
933 </dependencies>
934 </profile>
935 <profile>
936 <!-- http://blog2.vorburger.ch/2016/06/improve-maven-build-speed-with-q.html
937 q = http://memory-alpha.wikia.com/wiki/Q ;)
938
939 The Quick profile is used during incremental local development, when you want to "just get that JAR built",
940 which is very handy e.g. for fast hot reloading cycles in Karaf with bundle watch. It (intentionally!) skips
941 tests, quality checks etc. which are great and useful to run before finally submitting changes to Gerrit, and
942 which all must run on Gerrit, but which are overhead during ongoing fast iterative local development.
943
944 Note that the idea here is that your IDE will already have run quality checks such as e.g. Checkstyle
945 while you typed the code anyway. Similarly, if you wrote a test, you'll probably already have compiled and run it
946 from your IDE, so when you want the OSGi bundle JAR for Karaf, ASAP, you typically don't want all that to run again.
947 -->
948 <id>q</id>
949 <properties>
950 <skipTests>true</skipTests>
Singal, Kapil (ks220y)44bb42e2020-09-18 11:00:50 -0400951 <skipPush>true</skipPush>
952 <docker.skip.push>true</docker.skip.push>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400953 <!-- But NOT <maven.test.skip>true, as that's for compiling, not running, tests;
954 and that's usually quick. Skipping test compilation with -Pq with maven.test.skip would be
955 particularly confusing when used in a project with maven-jar-plugin <goal>test-jar, so don't.) -->
956 <skipIT>true</skipIT>
957 <skipITs>true</skipITs>
958 <skip.karaf.featureTest>true</skip.karaf.featureTest>
959 <jacoco.skip>true</jacoco.skip>
960 <maven.javadoc.skip>true</maven.javadoc.skip>
961 <maven.source.skip>true</maven.source.skip>
962 <checkstyle.skip>true</checkstyle.skip>
963 <findbugs.skip>true</findbugs.skip>
964 <spotbugs.skip>true</spotbugs.skip>
965 <pmd.skip>true</pmd.skip>
966 <cpd.skip>true</cpd.skip>
967 <maven.site.skip>true</maven.site.skip>
968 <invoker.skip>true</invoker.skip>
969 <enforcer.skip>true</enforcer.skip>
970 <duplicate-finder.skip>true</duplicate-finder.skip>
971 <mdsal.skip.verbose>true</mdsal.skip.verbose> <!-- Bug 6236 -->
972 <maven.gitcommitid.skip>true</maven.gitcommitid.skip>
973 <modernizer.skip>true</modernizer.skip>
Singal, Kapil (ks220y)9c6ac882019-11-20 12:42:58 -0500974 <format.skipExecute>true</format.skipExecute>
975 <format.skipValidate>true</format.skipValidate>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400976 </properties>
977 </profile>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -0500978 <profile>
979 <id>sonar-jacoco-aggregate</id>
980 <activation>
981 <property>
982 <name>onap.jacoco.aggregateFile</name>
983 </property>
984 </activation>
985 <build>
986 <plugins>
987 <plugin>
988 <groupId>org.jacoco</groupId>
989 <artifactId>jacoco-maven-plugin</artifactId>
990 <executions>
991 <execution>
992 <id>merge</id>
993 <goals>
994 <goal>merge</goal>
995 </goals>
996 <phase>generate-resources</phase>
997 <configuration>
998 <destFile>${onap.jacoco.aggregateFile}</destFile>
999 <fileSets>
1000 <fileSet>
1001 <directory>${project.basedir}</directory>
1002 <includes>
1003 <include>**/target/code-coverage/*.exec</include>
1004 </includes>
1005 </fileSet>
1006 </fileSets>
1007 </configuration>
1008 </execution>
1009 </executions>
1010 </plugin>
1011 </plugins>
1012 </build>
1013 </profile>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001014 <!-- End of profiles from ONAP oparent -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001015 </profiles>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -04001016</project>