blob: 11b3d09e6810c7668466365ee7900b9699f0a507 [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
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)632a1f32019-09-27 14:09:00 -04008 <parent>
9 <groupId>org.springframework.boot</groupId>
10 <artifactId>spring-boot-starter-parent</artifactId>
RehanRazab56e7812021-01-26 13:46:36 +010011 <version>2.3.8.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 Timoney129bbdb2021-03-09 09:43:57 -050017 <version>2.2.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)2e8a4da2019-10-01 22:31:50 -040031 <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)632a1f32019-09-27 14:09:00 -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)632a1f32019-09-27 14:09:00 -040054 <!-- properties from oparent -->
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050055
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -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)632a1f32019-09-27 14:09:00 -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)632a1f32019-09-27 14:09:00 -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)632a1f32019-09-27 14:09:00 -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 -->
Claudio D. Gasparini10688642021-05-14 10:33:22 +020091 <logging-analytics.version>1.6.9</logging-analytics.version>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050092
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040093 <!-- CCSDK component versions -->
Dan Timoneyac582d92021-03-15 08:43:10 -040094 <ccsdk.cds.version>1.2.0-SNAPSHOT</ccsdk.cds.version>
95 <ccsdk.features.version>1.2.0-SNAPSHOT</ccsdk.features.version>
96 <ccsdk.distribution.version>1.2.0-SNAPSHOT</ccsdk.distribution.version>
97 <ccsdk.sli.version>1.3.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>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400102
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400103 <!-- Spring versions -->
RehanRazab56e7812021-01-26 13:46:36 +0100104 <spring.boot.version>2.3.8.RELEASE</spring.boot.version>
105 <spring.version>5.2.12.RELEASE</spring.version>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400106
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400107 <!-- Kotlin versions -->
108 <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
Brinda Santhb58c8162020-01-31 14:24:27 -0500109 <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>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400113 <kroto-plus.version>0.5.0</kroto-plus.version>
Brinda Santhb58c8162020-01-31 14:24:27 -0500114 <nats.version>2.6.6</nats.version>
115 <nats.streaming.version>2.2.3</nats.streaming.version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400116 <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 -->
Dan Timoney4b9f4f22021-03-22 15:09:59 -0400119 <antlr.version>4.8-1</antlr.version>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000120 <commons.lang.version>2.6</commons.lang.version>
Timoney, Dan (dt5972)48f55772019-12-17 10:44:04 -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)632a1f32019-09-27 14:09:00 -0400123 <derby.version>10.14.2.0</derby.version>
124 <eelf.version>1.0.0</eelf.version>
Brinda Santhd58f23d2019-11-25 17:00:00 -0500125 <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)632a1f32019-09-27 14:09:00 -0400128 <jersey.version>2.25.1</jersey.version>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000129 <jersey.client.version>2.25.1</jersey.client.version>
130 <jettison.version>1.3.8</jettison.version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400131 <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>
133 <mariadb4j.version>2.4.0</mariadb4j.version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400134 <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)632a1f32019-09-27 14:09:00 -0400138 </properties>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400139
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -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)632a1f32019-09-27 14:09:00 -0400145 <dependency>
146 <groupId>org.onap.ccsdk.parent</groupId>
147 <artifactId>dependencies-bom</artifactId>
Dan Timoney129bbdb2021-03-09 09:43:57 -0500148 <version>2.2.0-SNAPSHOT</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -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)632a1f32019-09-27 14:09:00 -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)632a1f32019-09-27 14:09:00 -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)632a1f32019-09-27 14:09:00 -0400173 </dependency>
174 <dependency>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500175 <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>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400188 </dependency>
189 </dependencies>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400190 </dependencyManagement>
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -0400191
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -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)632a1f32019-09-27 14:09:00 -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)632a1f32019-09-27 14:09:00 -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)632a1f32019-09-27 14:09:00 -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)632a1f32019-09-27 14:09:00 -0400233 <releases>
234 <enabled>false</enabled>
235 </releases>
236 <snapshots>
237 <enabled>true</enabled>
238 </snapshots>
239 </repository>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400240 </repositories>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400241 <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)a4b1a9f2018-09-18 13:53:34 -0400278
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)632a1f32019-09-27 14:09:00 -0400286 <build>
287 <pluginManagement>
288 <plugins>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -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/>
Singal, Kapil (ks220y)6fa7fc92021-02-01 16:11:38 -0500297 <deployAtEnd>true</deployAtEnd>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400298 </configuration>
299 </plugin>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400300 <plugin>
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-site-plugin</artifactId>
303 <version>3.6</version>
304 <dependencies>
305 <dependency>
306 <groupId>org.apache.maven.wagon</groupId>
307 <artifactId>wagon-webdav-jackrabbit</artifactId>
308 <version>2.10</version>
309 </dependency>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000310 <dependency>
311 <groupId>org.apache.maven.doxia</groupId>
312 <artifactId>doxia-core</artifactId>
313 <version>1.7</version>
314 </dependency>
315 <dependency>
316 <groupId>org.apache.maven.doxia</groupId>
317 <artifactId>doxia-sink-api</artifactId>
318 <version>1.7</version>
319 </dependency>
320 <dependency>
321 <groupId>org.apache.maven.doxia</groupId>
322 <artifactId>doxia-logging-api</artifactId>
323 <version>1.7</version>
324 </dependency>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400325 </dependencies>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000326 <executions>
327 <execution>
328 <id>attach-descriptor</id>
329 <goals>
330 <goal>attach-descriptor</goal>
331 </goals>
332 </execution>
333 </executions>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400334 </plugin>
335 <plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000336 <artifactId>maven-checkstyle-plugin</artifactId>
337 <version>2.17</version>
338 <dependencies>
339 <dependency>
340 <groupId>org.onap.oparent</groupId>
341 <artifactId>checkstyle</artifactId>
342 <version>1.1.1</version>
343 </dependency>
344 </dependencies>
345 <executions>
346 <execution>
347 <id>check-license</id>
348 <goals>
349 <goal>check</goal>
350 </goals>
351 <phase>process-sources</phase>
352 <configuration>
353 <configLocation>onap-checkstyle/check-license.xml</configLocation>
354 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
355 <includeResources>false</includeResources>
356 <includeTestSourceDirectory>true</includeTestSourceDirectory>
357 <includeTestResources>false</includeTestResources>
358 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
359 <excludes>
360 </excludes>
361 <failsOnError>false</failsOnError>
362 <consoleOutput>true</consoleOutput>
363 </configuration>
364 </execution>
365 <execution>
366 <id>check-style</id>
367 <goals>
368 <goal>check</goal>
369 </goals>
370 <phase>process-sources</phase>
371 <configuration>
372 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
373 with minor changes -->
374 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500375 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000376 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
377 <includeResources>true</includeResources>
378 <includeTestSourceDirectory>true</includeTestSourceDirectory>
379 <includeTestResources>true</includeTestResources>
380 <excludes>
381 </excludes>
382 <failsOnError>false</failsOnError>
383 <consoleOutput>true</consoleOutput>
384 </configuration>
385 </execution>
386 </executions>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400387 </plugin>
Dan Timoney621888e2020-01-17 09:54:02 -0500388
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400389 <plugin>
390 <groupId>org.apache.maven.plugins</groupId>
391 <artifactId>maven-surefire-plugin</artifactId>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000392 <version>2.19.1</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400393 <configuration>
394 <!-- Sets the VM argument line used when unit tests are run. -->
395 <argLine>${surefireArgLine}</argLine>
396 <!-- Excludes integration tests when unit tests are run. -->
397 <excludes>
398 <exclude>**/IT*.java</exclude>
399 </excludes>
400 </configuration>
401 </plugin>
402 <plugin>
403 <groupId>org.apache.maven.plugins</groupId>
404 <artifactId>maven-failsafe-plugin</artifactId>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000405 <version>2.19.1</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400406 <executions>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500407 <!-- Ensures that both integration-test and verify goals of the Failsafe Maven plugin are executed. -->
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400408 <execution>
409 <id>integration-tests</id>
410 <goals>
411 <goal>integration-test</goal>
412 <goal>verify</goal>
413 </goals>
414 <configuration>
415 <!-- Sets the VM argument line used when integration tests are run. -->
416 <argLine>${failsafeArgLine}</argLine>
417 </configuration>
418 </execution>
419 </executions>
420 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000421 <plugin>
422 <groupId>org.apache.maven.plugins</groupId>
423 <artifactId>maven-compiler-plugin</artifactId>
424 <version>${maven.compile.plugin.version}</version>
425 <configuration>
426 <source>${java.version.source}</source>
427 <target>${java.version.target}</target>
428 </configuration>
429 </plugin>
430 <plugin>
431 <groupId>org.sonarsource.scanner.maven</groupId>
432 <artifactId>sonar-maven-plugin</artifactId>
433 <version>3.6.0.1398</version>
434 </plugin>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400435
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400436 <!-- End of plugins from ONAP oparent -->
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500437
438 <plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000439 <groupId>org.apache.maven.plugins</groupId>
440 <artifactId>maven-javadoc-plugin</artifactId>
Dan Timoneye816a592020-09-03 08:56:01 -0400441 <version>3.2.0</version>
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500442 <configuration>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000443 <additionalDependencies>
444 <additionalDependency>
445 <groupId>org.slf4j</groupId>
446 <artifactId>slf4j-api</artifactId>
447 <version>${slf4j.version}</version>
448 </additionalDependency>
449 <additionalDependency>
450 <groupId>org.antlr</groupId>
451 <artifactId>antlr4</artifactId>
452 <version>${antlr.version}</version>
453 </additionalDependency>
454 <additionalDependency>
455 <groupId>org.antlr</groupId>
456 <artifactId>antlr4-runtime</artifactId>
457 <version>${antlr.version}</version>
458 </additionalDependency>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000459 <additionalDependency>
460 <groupId>com.sun.jersey</groupId>
461 <artifactId>jersey-client</artifactId>
462 <version>${jersey.client.version}</version>
463 </additionalDependency>
464 <additionalDependency>
465 <groupId>com.sun.jersey</groupId>
466 <artifactId>jersey-core</artifactId>
467 <version>${jersey.version}</version>
468 </additionalDependency>
469 <additionalDependency>
470 <groupId>org.apache.httpcomponents</groupId>
471 <artifactId>httpcore-osgi</artifactId>
472 <version>${apache.httpcomponents.core.version}</version>
473 </additionalDependency>
474 <additionalDependency>
475 <groupId>org.apache.httpcomponents</groupId>
476 <artifactId>httpclient-osgi</artifactId>
477 <version>${apache.httpcomponents.client.version}</version>
478 </additionalDependency>
479 <additionalDependency>
480 <groupId>commons-lang</groupId>
481 <artifactId>commons-lang</artifactId>
482 <version>${commons.lang.version}</version>
483 </additionalDependency>
484 </additionalDependencies>
Dan Timoneye816a592020-09-03 08:56:01 -0400485 <failOnError>false</failOnError>
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500486 </configuration>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000487 <executions>
488 <execution>
489 <id>aggregate</id>
490 <goals>
491 <goal>aggregate</goal>
492 </goals>
493 <phase>site</phase>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000494 </execution>
495 </executions>
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500496 </plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500497 <plugin>
498 <groupId>com.github.ferstl</groupId>
499 <artifactId>depgraph-maven-plugin</artifactId>
500 <version>3.3.0</version>
501 <configuration>
502 <graphFormat>text</graphFormat>
503 <outputFileName>${dependency-list.file}</outputFileName>
504 <outputDirectory>${project.basedir}</outputDirectory>
505 <transitiveExcludes>*</transitiveExcludes>
506 <showVersions>true</showVersions>
Timoney, Dan (dt5972)cc0c96a2019-12-11 10:04:52 -0500507 <showGroupIds>true</showGroupIds>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500508 </configuration>
509 </plugin>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400510 </plugins>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400511 </pluginManagement>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -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)632a1f32019-09-27 14:09:00 -0400608 <plugin>
Singal, Kapil (ks220y)e1d0e252021-02-01 22:06:16 -0500609 <groupId>org.apache.maven.plugins</groupId>
610 <artifactId>maven-deploy-plugin</artifactId>
611 </plugin>
612 <plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000613 <artifactId>maven-checkstyle-plugin</artifactId>
614 </plugin>
615 <plugin>
616 <groupId>org.codehaus.mojo</groupId>
617 <artifactId>build-helper-maven-plugin</artifactId>
618 <version>1.12</version>
619 </plugin>
620 <!-- Jacoco / Sonar -->
621 <plugin>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400622 <groupId>org.apache.maven.plugins</groupId>
623 <artifactId>maven-surefire-plugin</artifactId>
624 </plugin>
625 <plugin>
626 <groupId>org.apache.maven.plugins</groupId>
627 <artifactId>maven-failsafe-plugin</artifactId>
628 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000629
630 <!-- End of plugins from ONAP oparent -->
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400631 <plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000632 <groupId>org.codehaus.mojo</groupId>
633 <artifactId>properties-maven-plugin</artifactId>
634 <version>1.0.0</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400635 <executions>
636 <execution>
637 <goals>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000638 <goal>set-system-properties</goal>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400639 </goals>
640 <configuration>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000641 <properties>
642 <property>
643 <name>maven.wagon.http.ssl.allowall</name>
644 <value>${ssl.allowall}</value>
645 </property>
646 <property>
647 <name>maven.wagon.http.ssl.insecure</name>
648 <value>${ssl.insecure}</value>
649 </property>
650 </properties>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400651 </configuration>
652 </execution>
653 </executions>
654 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000655 <plugin>
656 <groupId>org.codehaus.mojo</groupId>
657 <artifactId>versions-maven-plugin</artifactId>
658 <version>2.5</version>
659 <configuration>
660 <processAllModules>true</processAllModules>
661 </configuration>
662 </plugin>
663 <plugin>
664 <artifactId>maven-scm-plugin</artifactId>
665 <version>1.8.1</version>
666 <configuration>
667 <tag>${project.artifactId}-${project.version}</tag>
668 </configuration>
669 </plugin>
Singal, Kapil (ks220y)da2d9762020-09-04 10:34:58 -0400670 <plugin>
671 <groupId>pl.project13.maven</groupId>
672 <artifactId>git-commit-id-plugin</artifactId>
673 <version>4.0.0</version>
674 <configuration>
675 <commitIdGenerationMode>full</commitIdGenerationMode>
676 <includeOnlyProperties>
677 <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
678 <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
679 </includeOnlyProperties>
680 </configuration>
681 </plugin>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400682 </plugins>
683 </build>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400684
685 <reporting>
686 <plugins>
687 <plugin>
688 <artifactId>maven-javadoc-plugin</artifactId>
689 <version>2.10.4</version>
690 <configuration>
691 <failOnError>false</failOnError>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000692 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
693 <docletArtifact>
694 <groupId>org.umlgraph</groupId>
695 <artifactId>umlgraph</artifactId>
696 <version>5.6</version>
697 </docletArtifact>
698 <additionalparam>-views</additionalparam>
699 <useStandardDocletOptions>true</useStandardDocletOptions>
700 <excludePackageNames>org.opendaylight.*</excludePackageNames>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400701 </configuration>
702 <reportSets>
703 <reportSet>
704 <reports>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000705 <report>javadoc-no-fork</report>
706 <report>test-javadoc-no-fork</report>
707 </reports>
708 </reportSet>
709 <reportSet>
710 <id>aggregate</id>
711 <reports>
712 <report>aggregate</report>
713 <report>test-aggregate</report>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400714 </reports>
715 </reportSet>
716 </reportSets>
717 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000718 <plugin>
719 <groupId>org.apache.maven.plugins</groupId>
720 <artifactId>maven-jxr-plugin</artifactId>
721 <version>2.3</version>
722 <reportSets>
723 <reportSet>
724 <id>aggregate</id>
725 <reports>
726 <report>aggregate</report>
727 <report>test-aggregate</report>
728 </reports>
729 </reportSet>
730 </reportSets>
731 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000732 <plugin>
733 <artifactId>maven-surefire-plugin</artifactId>
734 <version>2.17</version>
735 </plugin>
736 <plugin>
737 <groupId>org.apache.maven.plugins</groupId>
738 <artifactId>maven-changelog-plugin</artifactId>
739 <version>2.3</version>
740 <reportSets>
741 <reportSet>
742 <id>dual-report</id>
743 <configuration>
744 <type>range</type>
745 <range>30</range>
746 </configuration>
747 <reports>
748 <report>changelog</report>
749 <report>file-activity</report>
750 </reports>
751 </reportSet>
752 </reportSets>
753 </plugin>
754 <plugin>
755 <groupId>org.codehaus.mojo</groupId>
756 <artifactId>taglist-maven-plugin</artifactId>
757 <version>2.4</version>
758 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400759 </plugins>
760 </reporting>
761
762 <profiles>
763 <!-- Profiles from ONAP oparent -->
764 <profile>
765 <id>generate-json</id>
766 <activation>
767 <file>
768 <exists>${swagger-properties}</exists>
769 </file>
770 <property>
771 <name>swagger-sdk.generate-json</name>
772 </property>
773 </activation>
774 <build>
775 <plugins>
776 <plugin>
777 <groupId>org.codehaus.mojo</groupId>
778 <artifactId>properties-maven-plugin</artifactId>
779 <version>1.0.0</version>
780 <executions>
781 <execution>
782 <phase>initialize</phase>
783 <goals>
784 <goal>read-project-properties</goal>
785 </goals>
786 <configuration>
787 <files>
788 <file>${basedir}/src/main/resources/swagger.properties</file>
789 </files>
790 </configuration>
791 </execution>
792 </executions>
793 </plugin>
794 <plugin>
795 <groupId>com.github.kongchen</groupId>
796 <artifactId>swagger-maven-plugin</artifactId>
797 <version>3.1.4</version>
798 <configuration>
799 <apiSources>
800 <apiSource>
801 <locations>${api-rest-package}</locations>
802 <schemes>http,https</schemes>
803 <host>${api-host-ip}:${api-host-port}</host>
804 <basePath>${api-base-path}</basePath>
805 <info>
806 <title>${api-title}</title>
807 <version>${api-version}</version>
808 <description>${api-description}</description>
809 <license>
810 <name>${api-license}</name>
811 </license>
812 </info>
813 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
814 </apiSource>
815 </apiSources>
816 </configuration>
817 <executions>
818 <execution>
819 <phase>compile</phase>
820 <goals>
821 <goal>generate</goal>
822 </goals>
823 </execution>
824 </executions>
825 </plugin>
826 <plugin>
827 <groupId>org.apache.maven.plugins</groupId>
828 <artifactId>maven-install-plugin</artifactId>
829 <version>2.3.1</version>
830 <executions>
831 <execution>
832 <id>install-file-id</id>
833 <phase>install</phase>
834 <goals>
835 <goal>install-file</goal>
836 </goals>
837 <configuration>
838 <file>${basedir}/src/main/resources/swagger.json</file>
839 <groupId>${project.groupId}</groupId>
840 <artifactId>${project.artifactId}-swagger-schema</artifactId>
841 <version>${project.version}</version>
842 <packaging>json</packaging>
843 </configuration>
844 </execution>
845 </executions>
846 </plugin>
847 </plugins>
848 </build>
849 </profile>
850 <profile>
851 <id>generate-sdk</id>
852 <activation>
853 <file>
854 <exists>${swagger-json}</exists>
855 </file>
856 <property>
857 <name>swagger-sdk.generate-java-sdk</name>
858 </property>
859 </activation>
860 <build>
861 <plugins>
862 <plugin>
863 <groupId>org.apache.maven.plugins</groupId>
864 <artifactId>maven-antrun-plugin</artifactId>
865 <version>1.8</version>
866 <executions>
867 <execution>
868 <phase>initialize</phase>
869 <id>ant-create-script</id>
870 <configuration>
871 <exportAntProperties>true</exportAntProperties>
872 <tasks>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400873 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
874 <condition property="is_windows" value="true">
875 <os family="windows"/>
876 </condition>
877 <condition property="isLinux" value="true">
878 <os family="unix"/>
879 </condition>
880 <if>
881 <equals arg1="${is_windows}" arg2="true"/>
882 <then>
883 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
884 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
885 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
886 </then>
887 <else>
888 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
889 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
890 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
891 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
892 </else>
893 </if>
894 </tasks>
895 </configuration>
896 <goals>
897 <goal>run</goal>
898 </goals>
899 </execution>
900 </executions>
901 <dependencies>
902 <dependency>
903 <groupId>ant-contrib</groupId>
904 <artifactId>ant-contrib</artifactId>
905 <version>1.0b3</version>
906 <exclusions>
907 <exclusion>
908 <groupId>ant</groupId>
909 <artifactId>ant</artifactId>
910 </exclusion>
911 </exclusions>
912 </dependency>
913 </dependencies>
914 </plugin>
915 <plugin>
916 <groupId>io.swagger</groupId>
917 <artifactId>swagger-codegen-maven-plugin</artifactId>
918 <version>2.2.1</version>
919 <executions>
920 <execution>
921 <goals>
922 <goal>generate</goal>
923 </goals>
924 <configuration>
925 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
926 <output>${project.build.directory}/generated-sources</output>
927 <language>java</language>
928 <configOptions>
929 <dateLibrary>joda</dateLibrary>
930 </configOptions>
931 <library>jersey2</library>
932 <groupId>${project.groupId}</groupId>
933 <artifactId>${project.artifactId}-java-sdk</artifactId>
934 <artifactVersion>${project.version}</artifactVersion>
935 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
936 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
937 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
938 </configuration>
939 </execution>
940 </executions>
941 </plugin>
942 <plugin>
943 <groupId>org.codehaus.mojo</groupId>
944 <artifactId>exec-maven-plugin</artifactId>
945 <version>1.5.0</version>
946 <executions>
947 <execution>
948 <id>swagger-generate-sources</id>
949 <phase>generate-sources</phase>
950 <goals>
951 <goal>exec</goal>
952 </goals>
953 <configuration>
954 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
955 </configuration>
956 </execution>
957 </executions>
958 </plugin>
959 <plugin>
960 <groupId>org.apache.maven.plugins</groupId>
961 <artifactId>maven-clean-plugin</artifactId>
962 <version>3.0.0</version>
963 <executions>
964 <execution>
965 <id>clean-generated-files</id>
966 <phase>generate-sources</phase>
967 <goals>
968 <goal>clean</goal>
969 </goals>
970 <configuration>
971 <filesets>
972 <fileset>
973 <directory>${project.build.directory}/generated-sources</directory>
974 </fileset>
975 </filesets>
976 </configuration>
977 </execution>
978 </executions>
979 </plugin>
980 </plugins>
981 </build>
982 <dependencies>
983 <dependency>
984 <groupId>org.onap.msb.swagger-sdk</groupId>
985 <artifactId>swagger-sdk</artifactId>
986 <version>1.0.0</version>
987 </dependency>
988 </dependencies>
989 </profile>
990 <profile>
991 <!-- http://blog2.vorburger.ch/2016/06/improve-maven-build-speed-with-q.html
992 q = http://memory-alpha.wikia.com/wiki/Q ;)
993
994 The Quick profile is used during incremental local development, when you want to "just get that JAR built",
995 which is very handy e.g. for fast hot reloading cycles in Karaf with bundle watch. It (intentionally!) skips
996 tests, quality checks etc. which are great and useful to run before finally submitting changes to Gerrit, and
997 which all must run on Gerrit, but which are overhead during ongoing fast iterative local development.
998
999 Note that the idea here is that your IDE will already have run quality checks such as e.g. Checkstyle
1000 while you typed the code anyway. Similarly, if you wrote a test, you'll probably already have compiled and run it
1001 from your IDE, so when you want the OSGi bundle JAR for Karaf, ASAP, you typically don't want all that to run again.
1002 -->
1003 <id>q</id>
1004 <properties>
1005 <skipTests>true</skipTests>
Singal, Kapil (ks220y)44bb42e2020-09-18 11:00:50 -04001006 <skipPush>true</skipPush>
1007 <docker.skip.push>true</docker.skip.push>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001008 <!-- But NOT <maven.test.skip>true, as that's for compiling, not running, tests;
1009 and that's usually quick. Skipping test compilation with -Pq with maven.test.skip would be
1010 particularly confusing when used in a project with maven-jar-plugin <goal>test-jar, so don't.) -->
1011 <skipIT>true</skipIT>
1012 <skipITs>true</skipITs>
1013 <skip.karaf.featureTest>true</skip.karaf.featureTest>
1014 <jacoco.skip>true</jacoco.skip>
1015 <maven.javadoc.skip>true</maven.javadoc.skip>
1016 <maven.source.skip>true</maven.source.skip>
1017 <checkstyle.skip>true</checkstyle.skip>
1018 <findbugs.skip>true</findbugs.skip>
1019 <spotbugs.skip>true</spotbugs.skip>
1020 <pmd.skip>true</pmd.skip>
1021 <cpd.skip>true</cpd.skip>
1022 <maven.site.skip>true</maven.site.skip>
1023 <invoker.skip>true</invoker.skip>
1024 <enforcer.skip>true</enforcer.skip>
1025 <duplicate-finder.skip>true</duplicate-finder.skip>
1026 <mdsal.skip.verbose>true</mdsal.skip.verbose> <!-- Bug 6236 -->
1027 <maven.gitcommitid.skip>true</maven.gitcommitid.skip>
1028 <modernizer.skip>true</modernizer.skip>
Singal, Kapil (ks220y)9c6ac882019-11-20 12:42:58 -05001029 <format.skipExecute>true</format.skipExecute>
1030 <format.skipValidate>true</format.skipValidate>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001031 </properties>
1032 </profile>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -05001033 <profile>
1034 <id>sonar-jacoco-aggregate</id>
1035 <activation>
1036 <property>
1037 <name>onap.jacoco.aggregateFile</name>
1038 </property>
1039 </activation>
1040 <build>
1041 <plugins>
1042 <plugin>
1043 <groupId>org.jacoco</groupId>
1044 <artifactId>jacoco-maven-plugin</artifactId>
1045 <executions>
1046 <execution>
1047 <id>merge</id>
1048 <goals>
1049 <goal>merge</goal>
1050 </goals>
1051 <phase>generate-resources</phase>
1052 <configuration>
1053 <destFile>${onap.jacoco.aggregateFile}</destFile>
1054 <fileSets>
1055 <fileSet>
1056 <directory>${project.basedir}</directory>
1057 <includes>
1058 <include>**/target/code-coverage/*.exec</include>
1059 </includes>
1060 </fileSet>
1061 </fileSets>
1062 </configuration>
1063 </execution>
1064 </executions>
1065 </plugin>
1066 </plugins>
1067 </build>
1068 </profile>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001069 <!-- End of profiles from ONAP oparent -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001070 </profiles>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -04001071</project>