blob: 3179f97bd1bbda61531d731448259bc81666fb5a [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)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 -->
54 <jacoco.version>0.8.5</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 <maven.compiler.source>1.8</maven.compiler.source>
58 <maven.compiler.target>1.8</maven.compiler.target>
59 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
60 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040061 <!-- 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 -->
Singal, Kapil (ks220y)9714cfc2021-05-17 13:23:11 -040071 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040072 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
73 <onap.nexus.port>443</onap.nexus.port>
74 <onap.nexus.protocol>https</onap.nexus.protocol>
75 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
76 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
77 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
78 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
79 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
80 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -040081
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040082 <java.version.source>1.8</java.version.source>
83 <java.version.target>1.8</java.version.target>
84 <bundle.plugin.version>2.5.0</bundle.plugin.version>
85 <maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
86 <features.file>features.xml</features.file>
87 <jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
88 <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
89 <checkstyle.skip>true</checkstyle.skip>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -040090
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050091 <!-- logging-analytics versions -->
Claudio D. Gasparini10688642021-05-14 10:33:22 +020092 <logging-analytics.version>1.6.9</logging-analytics.version>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -050093
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -040094 <!-- CCSDK component versions -->
Dan Timoneyac582d92021-03-15 08:43:10 -040095 <ccsdk.cds.version>1.2.0-SNAPSHOT</ccsdk.cds.version>
96 <ccsdk.features.version>1.2.0-SNAPSHOT</ccsdk.features.version>
97 <ccsdk.distribution.version>1.2.0-SNAPSHOT</ccsdk.distribution.version>
98 <ccsdk.sli.version>1.3.0-SNAPSHOT</ccsdk.sli.version>
Jozsef Csongvaia4d399c2020-12-14 07:39:31 -050099 <ccsdk.sli.core.version>${ccsdk.sli.version}</ccsdk.sli.core.version>
100 <ccsdk.sli.adaptors.version>${ccsdk.sli.version}</ccsdk.sli.adaptors.version>
101 <ccsdk.sli.northbound.version>${ccsdk.sli.version}</ccsdk.sli.northbound.version>
102 <ccsdk.sli.plugins.version>${ccsdk.sli.version}</ccsdk.sli.plugins.version>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400103
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400104 <!-- Spring versions -->
RehanRazab56e7812021-01-26 13:46:36 +0100105 <spring.boot.version>2.3.8.RELEASE</spring.boot.version>
106 <spring.version>5.2.12.RELEASE</spring.version>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400107
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400108 <!-- Kotlin versions -->
109 <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
Brinda Santhb58c8162020-01-31 14:24:27 -0500110 <kotlin.version>1.3.61</kotlin.version>
111 <kotlin.maven.version>1.3.61</kotlin.maven.version>
112 <kotlin.couroutines.version>1.3.3</kotlin.couroutines.version>
113 <kotlinpoet.version>1.5.0</kotlinpoet.version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400114 <kroto-plus.version>0.5.0</kroto-plus.version>
Brinda Santhb58c8162020-01-31 14:24:27 -0500115 <nats.version>2.6.6</nats.version>
116 <nats.streaming.version>2.2.3</nats.streaming.version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400117 <mockk.version>1.9.3</mockk.version>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400118
Singal, Kapil (ks220y)dfaa2552020-02-04 09:35:37 -0500119 <!-- Managed dependency versions -->
Dan Timoney4b9f4f22021-03-22 15:09:59 -0400120 <antlr.version>4.8-1</antlr.version>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000121 <commons.lang.version>2.6</commons.lang.version>
Timoney, Dan (dt5972)48f55772019-12-17 10:44:04 -0500122 <apache.httpcomponents.core.version>4.4.12</apache.httpcomponents.core.version>
123 <apache.httpcomponents.client.version>4.5.10</apache.httpcomponents.client.version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400124 <derby.version>10.14.2.0</derby.version>
125 <eelf.version>1.0.0</eelf.version>
Brinda Santhd58f23d2019-11-25 17:00:00 -0500126 <grpc.version>1.25.0</grpc.version>
127 <protobuff.java.version>3.10.0</protobuff.java.version>
128 <protobuff.java.utils.version>3.10.0</protobuff.java.utils.version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400129 <jersey.version>2.25.1</jersey.version>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000130 <jersey.client.version>2.25.1</jersey.client.version>
131 <jettison.version>1.3.8</jettison.version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400132 <logback.version>1.2.3</logback.version>
Timoney, Dan (dt5972)48f55772019-12-17 10:44:04 -0500133 <mariadb.connector.version>2.4.4</mariadb.connector.version>
134 <mariadb4j.version>2.4.0</mariadb4j.version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400135 <slf4j.version>1.7.25</slf4j.version>
Singal, Kapil (ks220y)b5adc452020-02-20 13:53:41 -0500136 <testng.version>6.14.3</testng.version>
Rich Tabedzkifce995d2020-03-11 11:06:57 -0400137 <tomcat-jdbc.version>9.0.30</tomcat-jdbc.version>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500138 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400139 </properties>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400140
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400141 <dependencyManagement>
142 <dependencies>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500143 <!-- Note: If value in BOM conflicts with value inherited from
144 parent pom, inherited value takes precedence. This seems more like
145 a bug than a feature, but this is how maven 3.6 works -->
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400146 <dependency>
147 <groupId>org.onap.ccsdk.parent</groupId>
148 <artifactId>dependencies-bom</artifactId>
Dan Timoney129bbdb2021-03-09 09:43:57 -0500149 <version>2.2.0-SNAPSHOT</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400150 <type>pom</type>
151 <scope>import</scope>
152 </dependency>
153 <dependency>
154 <groupId>org.onap.ccsdk.sli.core</groupId>
155 <artifactId>sli-common</artifactId>
156 <version>${ccsdk.sli.core.version}</version>
157 </dependency>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400158 <dependency>
159 <groupId>org.onap.ccsdk.sli.core</groupId>
160 <artifactId>sli-provider</artifactId>
161 <version>${ccsdk.sli.core.version}</version>
162 </dependency>
163 <dependency>
164 <groupId>org.onap.ccsdk.sli.core</groupId>
165 <artifactId>ccsdk-sli</artifactId>
166 <version>${ccsdk.sli.core.version}</version>
167 <type>xml</type>
168 <classifier>features</classifier>
169 </dependency>
170 <dependency>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400171 <groupId>org.onap.ccsdk.sli.core</groupId>
172 <artifactId>dblib-provider</artifactId>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500173 <version>${ccsdk.sli.core.version}</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400174 </dependency>
175 <dependency>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500176 <groupId>org.onap.ccsdk.sli.adaptors</groupId>
177 <artifactId>aai-service-provider</artifactId>
178 <version>${ccsdk.sli.adaptors.version}</version>
179 </dependency>
180 <dependency>
181 <groupId>org.onap.logging-analytics</groupId>
182 <artifactId>logging-slf4j</artifactId>
183 <version>${logging-analytics.version}</version>
184 </dependency>
185 <dependency>
186 <groupId>org.onap.logging-analytics</groupId>
187 <artifactId>logging-filter-base</artifactId>
188 <version>${logging-analytics.version}</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400189 </dependency>
190 </dependencies>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400191 </dependencyManagement>
Timoney, Dan (dt5972)bbcacd22019-06-18 10:42:07 -0400192
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400193 <repositories>
194 <repository>
195 <id>onap-public</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500196 <url>${onap.nexus.public-url}</url>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400197 <releases>
198 <enabled>true</enabled>
199 <updatePolicy>never</updatePolicy>
200 </releases>
201 <snapshots>
202 <enabled>true</enabled>
203 <updatePolicy>always</updatePolicy>
204 </snapshots>
205 </repository>
206 <repository>
207 <id>onap-staging</id>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500208 <url>${onap.nexus.staging-url}</url>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400209 <releases>
210 <enabled>true</enabled>
211 <updatePolicy>never</updatePolicy>
212 </releases>
213 <snapshots>
214 <enabled>true</enabled>
215 <updatePolicy>always</updatePolicy>
216 </snapshots>
217 </repository>
218 <repository>
219 <id>ecomp-release</id>
220 <name>onap-repository-releases</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500221 <url>${onap.nexus.release-url}</url>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400222 <releases>
223 <enabled>true</enabled>
224 <updatePolicy>never</updatePolicy>
225 </releases>
226 <snapshots>
227 <enabled>false</enabled>
228 </snapshots>
229 </repository>
230 <repository>
231 <id>ecomp-snapshot</id>
232 <name>onap-repository-snapshots</name>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500233 <url>${onap.nexus.snapshot-url}</url>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400234 <releases>
235 <enabled>false</enabled>
236 </releases>
237 <snapshots>
238 <enabled>true</enabled>
239 </snapshots>
240 </repository>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400241 </repositories>
Singal, Kapil (ks220y)9714cfc2021-05-17 13:23:11 -0400242
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400243 <pluginRepositories>
244 <pluginRepository>
245 <id>onap-public</id>
246 <url>${onap.nexus.public-url}</url>
247 <releases>
248 <enabled>true</enabled>
249 </releases>
250 <snapshots>
251 <enabled>true</enabled>
252 </snapshots>
253 </pluginRepository>
254 <pluginRepository>
255 <id>onap-staging</id>
256 <url>${onap.nexus.staging-url}</url>
257 <releases>
258 <enabled>true</enabled>
259 </releases>
260 <snapshots>
261 <enabled>true</enabled>
262 </snapshots>
263 </pluginRepository>
264 <pluginRepository>
265 <id>onap-snapshot</id>
266 <url>${onap.nexus.snapshot-url}</url>
267 <releases>
268 <enabled>false</enabled>
269 </releases>
270 <snapshots>
271 <enabled>true</enabled>
272 </snapshots>
273 </pluginRepository>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400274 <!-- Black Duck plugin dependencies -->
275 <pluginRepository>
276 <id>JCenter</id>
277 <name>JCenter Repository</name>
278 <url>http://jcenter.bintray.com</url>
279 </pluginRepository>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400280
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400281 <pluginRepository>
282 <id>Restlet</id>
283 <name>Restlet Repository</name>
284 <url>http://maven.restlet.com</url>
285 </pluginRepository>
286 </pluginRepositories>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400287
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400288 <build>
289 <pluginManagement>
290 <plugins>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400291 <!-- Plugins from ONAP oparent -->
292 <plugin>
293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-deploy-plugin</artifactId>
295 <!-- This version supports the "deployAtEnd" parameter -->
296 <version>2.8</version>
297 <configuration>
298 <skip/>
Singal, Kapil (ks220y)6fa7fc92021-02-01 16:11:38 -0500299 <deployAtEnd>true</deployAtEnd>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400300 </configuration>
301 </plugin>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400302 <plugin>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-site-plugin</artifactId>
305 <version>3.6</version>
306 <dependencies>
307 <dependency>
308 <groupId>org.apache.maven.wagon</groupId>
309 <artifactId>wagon-webdav-jackrabbit</artifactId>
310 <version>2.10</version>
311 </dependency>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000312 <dependency>
313 <groupId>org.apache.maven.doxia</groupId>
314 <artifactId>doxia-core</artifactId>
315 <version>1.7</version>
316 </dependency>
317 <dependency>
318 <groupId>org.apache.maven.doxia</groupId>
319 <artifactId>doxia-sink-api</artifactId>
320 <version>1.7</version>
321 </dependency>
322 <dependency>
323 <groupId>org.apache.maven.doxia</groupId>
324 <artifactId>doxia-logging-api</artifactId>
325 <version>1.7</version>
326 </dependency>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400327 </dependencies>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000328 <executions>
329 <execution>
330 <id>attach-descriptor</id>
331 <goals>
332 <goal>attach-descriptor</goal>
333 </goals>
334 </execution>
335 </executions>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400336 </plugin>
337 <plugin>
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -0400338 <groupId>org.apache.maven.plugins</groupId>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000339 <artifactId>maven-checkstyle-plugin</artifactId>
340 <version>2.17</version>
341 <dependencies>
342 <dependency>
343 <groupId>org.onap.oparent</groupId>
344 <artifactId>checkstyle</artifactId>
345 <version>1.1.1</version>
346 </dependency>
347 </dependencies>
348 <executions>
349 <execution>
350 <id>check-license</id>
351 <goals>
352 <goal>check</goal>
353 </goals>
354 <phase>process-sources</phase>
355 <configuration>
356 <configLocation>onap-checkstyle/check-license.xml</configLocation>
357 <headerLocation>onap-checkstyle/apache-license-2.regexp.txt</headerLocation>
358 <includeResources>false</includeResources>
359 <includeTestSourceDirectory>true</includeTestSourceDirectory>
360 <includeTestResources>false</includeTestResources>
361 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
362 <excludes>
363 </excludes>
364 <failsOnError>false</failsOnError>
365 <consoleOutput>true</consoleOutput>
366 </configuration>
367 </execution>
368 <execution>
369 <id>check-style</id>
370 <goals>
371 <goal>check</goal>
372 </goals>
373 <phase>process-sources</phase>
374 <configuration>
375 <!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml
376 with minor changes -->
377 <configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500378 <!-- <sourceDirectory> is needed so that checkstyle ignores the generated sources directory -->
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000379 <sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
380 <includeResources>true</includeResources>
381 <includeTestSourceDirectory>true</includeTestSourceDirectory>
382 <includeTestResources>true</includeTestResources>
383 <excludes>
384 </excludes>
385 <failsOnError>false</failsOnError>
386 <consoleOutput>true</consoleOutput>
387 </configuration>
388 </execution>
389 </executions>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400390 </plugin>
Dan Timoney621888e2020-01-17 09:54:02 -0500391
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400392 <plugin>
393 <groupId>org.apache.maven.plugins</groupId>
394 <artifactId>maven-surefire-plugin</artifactId>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000395 <version>2.19.1</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400396 <configuration>
397 <!-- Sets the VM argument line used when unit tests are run. -->
398 <argLine>${surefireArgLine}</argLine>
399 <!-- Excludes integration tests when unit tests are run. -->
400 <excludes>
401 <exclude>**/IT*.java</exclude>
402 </excludes>
403 </configuration>
404 </plugin>
405 <plugin>
406 <groupId>org.apache.maven.plugins</groupId>
407 <artifactId>maven-failsafe-plugin</artifactId>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000408 <version>2.19.1</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400409 <executions>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500410 <!-- Ensures that both integration-test and verify goals of the Failsafe Maven plugin are executed. -->
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400411 <execution>
412 <id>integration-tests</id>
413 <goals>
414 <goal>integration-test</goal>
415 <goal>verify</goal>
416 </goals>
417 <configuration>
418 <!-- Sets the VM argument line used when integration tests are run. -->
419 <argLine>${failsafeArgLine}</argLine>
420 </configuration>
421 </execution>
422 </executions>
423 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000424 <plugin>
425 <groupId>org.apache.maven.plugins</groupId>
426 <artifactId>maven-compiler-plugin</artifactId>
427 <version>${maven.compile.plugin.version}</version>
428 <configuration>
429 <source>${java.version.source}</source>
430 <target>${java.version.target}</target>
431 </configuration>
432 </plugin>
433 <plugin>
434 <groupId>org.sonarsource.scanner.maven</groupId>
435 <artifactId>sonar-maven-plugin</artifactId>
436 <version>3.6.0.1398</version>
437 </plugin>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -0400438
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400439 <!-- End of plugins from ONAP oparent -->
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500440
441 <plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000442 <groupId>org.apache.maven.plugins</groupId>
443 <artifactId>maven-javadoc-plugin</artifactId>
Dan Timoneye816a592020-09-03 08:56:01 -0400444 <version>3.2.0</version>
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500445 <configuration>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000446 <additionalDependencies>
447 <additionalDependency>
448 <groupId>org.slf4j</groupId>
449 <artifactId>slf4j-api</artifactId>
450 <version>${slf4j.version}</version>
451 </additionalDependency>
452 <additionalDependency>
453 <groupId>org.antlr</groupId>
454 <artifactId>antlr4</artifactId>
455 <version>${antlr.version}</version>
456 </additionalDependency>
457 <additionalDependency>
458 <groupId>org.antlr</groupId>
459 <artifactId>antlr4-runtime</artifactId>
460 <version>${antlr.version}</version>
461 </additionalDependency>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000462 <additionalDependency>
463 <groupId>com.sun.jersey</groupId>
464 <artifactId>jersey-client</artifactId>
465 <version>${jersey.client.version}</version>
466 </additionalDependency>
467 <additionalDependency>
468 <groupId>com.sun.jersey</groupId>
469 <artifactId>jersey-core</artifactId>
470 <version>${jersey.version}</version>
471 </additionalDependency>
472 <additionalDependency>
473 <groupId>org.apache.httpcomponents</groupId>
474 <artifactId>httpcore-osgi</artifactId>
475 <version>${apache.httpcomponents.core.version}</version>
476 </additionalDependency>
477 <additionalDependency>
478 <groupId>org.apache.httpcomponents</groupId>
479 <artifactId>httpclient-osgi</artifactId>
480 <version>${apache.httpcomponents.client.version}</version>
481 </additionalDependency>
482 <additionalDependency>
483 <groupId>commons-lang</groupId>
484 <artifactId>commons-lang</artifactId>
485 <version>${commons.lang.version}</version>
486 </additionalDependency>
487 </additionalDependencies>
Dan Timoneye816a592020-09-03 08:56:01 -0400488 <failOnError>false</failOnError>
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500489 </configuration>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000490 <executions>
491 <execution>
492 <id>aggregate</id>
493 <goals>
494 <goal>aggregate</goal>
495 </goals>
496 <phase>site</phase>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000497 </execution>
498 </executions>
Singal, Kapil (ks220y)829b0e22020-02-05 11:55:21 -0500499 </plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500500 <plugin>
501 <groupId>com.github.ferstl</groupId>
502 <artifactId>depgraph-maven-plugin</artifactId>
503 <version>3.3.0</version>
504 <configuration>
505 <graphFormat>text</graphFormat>
506 <outputFileName>${dependency-list.file}</outputFileName>
507 <outputDirectory>${project.basedir}</outputDirectory>
508 <transitiveExcludes>*</transitiveExcludes>
509 <showVersions>true</showVersions>
Timoney, Dan (dt5972)cc0c96a2019-12-11 10:04:52 -0500510 <showGroupIds>true</showGroupIds>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500511 </configuration>
512 </plugin>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400513 </plugins>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400514 </pluginManagement>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400515 <plugins>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000516 <!-- Plugins from ONAP oparent -->
Dan Timoney621888e2020-01-17 09:54:02 -0500517 <!-- Jacoco / Sonar -->
518 <plugin>
519 <groupId>org.jacoco</groupId>
520 <artifactId>jacoco-maven-plugin</artifactId>
521 <version>${jacoco.version}</version>
522 <executions>
523 <execution>
524 <id>pre-unit-test</id>
525 <goals>
526 <goal>prepare-agent</goal>
527 </goals>
528 <configuration>
529 <!-- Sets the path to the file which contains the execution data. -->
530 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500531 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500532 <propertyName>surefireArgLine</propertyName>
533 </configuration>
534 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500535 <!-- Ensures that the code coverage report for unit tests is created after unit tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500536 <execution>
537 <id>post-unit-test</id>
538 <phase>test</phase>
539 <goals>
540 <goal>report</goal>
541 </goals>
542 <configuration>
543 <!-- Sets the path to the file which contains the execution data. -->
544 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
545 <!-- Sets the output directory for the code coverage report. -->
546 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
547 </configuration>
548 </execution>
549 <execution>
550 <id>pre-integration-test</id>
551 <phase>pre-integration-test</phase>
552 <goals>
553 <goal>prepare-agent</goal>
554 </goals>
555 <configuration>
556 <!-- Sets the path to the file which contains the execution data. -->
557 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500558 <!-- Sets the name of the property containing the settings for JaCoCo runtime agent. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500559 <propertyName>failsafeArgLine</propertyName>
560 </configuration>
561 </execution>
Singal, Kapil (ks220y)46751a72020-02-19 17:45:00 -0500562 <!-- Ensures that the code coverage report for integration tests after integration tests have been run. -->
Dan Timoney621888e2020-01-17 09:54:02 -0500563 <execution>
564 <id>post-integration-test</id>
565 <phase>post-integration-test</phase>
566 <goals>
567 <goal>report</goal>
568 </goals>
569 <configuration>
570 <!-- Sets the path to the file which contains the execution data. -->
571 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
572 <!-- Sets the output directory for the code coverage report. -->
573 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
574 </configuration>
575 </execution>
576 <execution>
577 <id>default-prepare-agent</id>
578 <goals>
579 <goal>prepare-agent</goal>
580 </goals>
581 </execution>
582 <execution>
583 <id>default-report</id>
584 <phase>prepare-package</phase>
585 <goals>
586 <goal>report</goal>
587 </goals>
588 </execution>
589 <execution>
590 <id>default-check</id>
591 <goals>
592 <goal>check</goal>
593 </goals>
594 <configuration>
595 <rules>
596 <rule>
597 <element>PACKAGE</element>
598 <limits>
599 <limit>
600 <counter>COMPLEXITY</counter>
601 <value>COVEREDRATIO</value>
602 <minimum>0.0</minimum>
603 </limit>
604 </limits>
605 </rule>
606 </rules>
607 </configuration>
608 </execution>
609 </executions>
610 </plugin>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400611 <plugin>
Singal, Kapil (ks220y)e1d0e252021-02-01 22:06:16 -0500612 <groupId>org.apache.maven.plugins</groupId>
613 <artifactId>maven-deploy-plugin</artifactId>
614 </plugin>
615 <plugin>
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -0400616 <groupId>org.apache.maven.plugins</groupId>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000617 <artifactId>maven-checkstyle-plugin</artifactId>
618 </plugin>
619 <plugin>
620 <groupId>org.codehaus.mojo</groupId>
621 <artifactId>build-helper-maven-plugin</artifactId>
622 <version>1.12</version>
623 </plugin>
624 <!-- Jacoco / Sonar -->
625 <plugin>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400626 <groupId>org.apache.maven.plugins</groupId>
627 <artifactId>maven-surefire-plugin</artifactId>
628 </plugin>
629 <plugin>
630 <groupId>org.apache.maven.plugins</groupId>
631 <artifactId>maven-failsafe-plugin</artifactId>
632 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000633
634 <!-- End of plugins from ONAP oparent -->
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400635 <plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000636 <groupId>org.codehaus.mojo</groupId>
637 <artifactId>properties-maven-plugin</artifactId>
638 <version>1.0.0</version>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400639 <executions>
640 <execution>
641 <goals>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000642 <goal>set-system-properties</goal>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400643 </goals>
644 <configuration>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000645 <properties>
646 <property>
647 <name>maven.wagon.http.ssl.allowall</name>
648 <value>${ssl.allowall}</value>
649 </property>
650 <property>
651 <name>maven.wagon.http.ssl.insecure</name>
652 <value>${ssl.insecure}</value>
653 </property>
654 </properties>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400655 </configuration>
656 </execution>
657 </executions>
658 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000659 <plugin>
660 <groupId>org.codehaus.mojo</groupId>
661 <artifactId>versions-maven-plugin</artifactId>
662 <version>2.5</version>
663 <configuration>
664 <processAllModules>true</processAllModules>
665 </configuration>
666 </plugin>
667 <plugin>
668 <artifactId>maven-scm-plugin</artifactId>
669 <version>1.8.1</version>
670 <configuration>
671 <tag>${project.artifactId}-${project.version}</tag>
672 </configuration>
673 </plugin>
Singal, Kapil (ks220y)da2d9762020-09-04 10:34:58 -0400674 <plugin>
675 <groupId>pl.project13.maven</groupId>
676 <artifactId>git-commit-id-plugin</artifactId>
677 <version>4.0.0</version>
678 <configuration>
679 <commitIdGenerationMode>full</commitIdGenerationMode>
680 <includeOnlyProperties>
681 <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
682 <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
683 </includeOnlyProperties>
684 </configuration>
685 </plugin>
Singal, Kapil (ks220y)632a1f32019-09-27 14:09:00 -0400686 </plugins>
687 </build>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400688
689 <reporting>
690 <plugins>
691 <plugin>
692 <artifactId>maven-javadoc-plugin</artifactId>
693 <version>2.10.4</version>
694 <configuration>
695 <failOnError>false</failOnError>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000696 <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
697 <docletArtifact>
698 <groupId>org.umlgraph</groupId>
699 <artifactId>umlgraph</artifactId>
700 <version>5.6</version>
701 </docletArtifact>
702 <additionalparam>-views</additionalparam>
703 <useStandardDocletOptions>true</useStandardDocletOptions>
704 <excludePackageNames>org.opendaylight.*</excludePackageNames>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400705 </configuration>
706 <reportSets>
707 <reportSet>
708 <reports>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000709 <report>javadoc-no-fork</report>
710 <report>test-javadoc-no-fork</report>
711 </reports>
712 </reportSet>
713 <reportSet>
714 <id>aggregate</id>
715 <reports>
716 <report>aggregate</report>
717 <report>test-aggregate</report>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400718 </reports>
719 </reportSet>
720 </reportSets>
721 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000722 <plugin>
723 <groupId>org.apache.maven.plugins</groupId>
724 <artifactId>maven-jxr-plugin</artifactId>
725 <version>2.3</version>
726 <reportSets>
727 <reportSet>
728 <id>aggregate</id>
729 <reports>
730 <report>aggregate</report>
731 <report>test-aggregate</report>
732 </reports>
733 </reportSet>
734 </reportSets>
735 </plugin>
KAPIL SINGAL6531b112020-02-06 01:11:41 +0000736 <plugin>
737 <artifactId>maven-surefire-plugin</artifactId>
738 <version>2.17</version>
739 </plugin>
740 <plugin>
741 <groupId>org.apache.maven.plugins</groupId>
742 <artifactId>maven-changelog-plugin</artifactId>
743 <version>2.3</version>
744 <reportSets>
745 <reportSet>
746 <id>dual-report</id>
747 <configuration>
748 <type>range</type>
749 <range>30</range>
750 </configuration>
751 <reports>
752 <report>changelog</report>
753 <report>file-activity</report>
754 </reports>
755 </reportSet>
756 </reportSets>
757 </plugin>
758 <plugin>
759 <groupId>org.codehaus.mojo</groupId>
760 <artifactId>taglist-maven-plugin</artifactId>
761 <version>2.4</version>
762 </plugin>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400763 </plugins>
764 </reporting>
765
766 <profiles>
767 <!-- Profiles from ONAP oparent -->
768 <profile>
769 <id>generate-json</id>
770 <activation>
771 <file>
772 <exists>${swagger-properties}</exists>
773 </file>
774 <property>
775 <name>swagger-sdk.generate-json</name>
776 </property>
777 </activation>
778 <build>
779 <plugins>
780 <plugin>
781 <groupId>org.codehaus.mojo</groupId>
782 <artifactId>properties-maven-plugin</artifactId>
783 <version>1.0.0</version>
784 <executions>
785 <execution>
786 <phase>initialize</phase>
787 <goals>
788 <goal>read-project-properties</goal>
789 </goals>
790 <configuration>
791 <files>
792 <file>${basedir}/src/main/resources/swagger.properties</file>
793 </files>
794 </configuration>
795 </execution>
796 </executions>
797 </plugin>
798 <plugin>
799 <groupId>com.github.kongchen</groupId>
800 <artifactId>swagger-maven-plugin</artifactId>
801 <version>3.1.4</version>
802 <configuration>
803 <apiSources>
804 <apiSource>
805 <locations>${api-rest-package}</locations>
806 <schemes>http,https</schemes>
807 <host>${api-host-ip}:${api-host-port}</host>
808 <basePath>${api-base-path}</basePath>
809 <info>
810 <title>${api-title}</title>
811 <version>${api-version}</version>
812 <description>${api-description}</description>
813 <license>
814 <name>${api-license}</name>
815 </license>
816 </info>
817 <swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
818 </apiSource>
819 </apiSources>
820 </configuration>
821 <executions>
822 <execution>
823 <phase>compile</phase>
824 <goals>
825 <goal>generate</goal>
826 </goals>
827 </execution>
828 </executions>
829 </plugin>
830 <plugin>
831 <groupId>org.apache.maven.plugins</groupId>
832 <artifactId>maven-install-plugin</artifactId>
833 <version>2.3.1</version>
834 <executions>
835 <execution>
836 <id>install-file-id</id>
837 <phase>install</phase>
838 <goals>
839 <goal>install-file</goal>
840 </goals>
841 <configuration>
842 <file>${basedir}/src/main/resources/swagger.json</file>
843 <groupId>${project.groupId}</groupId>
844 <artifactId>${project.artifactId}-swagger-schema</artifactId>
845 <version>${project.version}</version>
846 <packaging>json</packaging>
847 </configuration>
848 </execution>
849 </executions>
850 </plugin>
851 </plugins>
852 </build>
853 </profile>
854 <profile>
855 <id>generate-sdk</id>
856 <activation>
857 <file>
858 <exists>${swagger-json}</exists>
859 </file>
860 <property>
861 <name>swagger-sdk.generate-java-sdk</name>
862 </property>
863 </activation>
864 <build>
865 <plugins>
866 <plugin>
867 <groupId>org.apache.maven.plugins</groupId>
868 <artifactId>maven-antrun-plugin</artifactId>
869 <version>1.8</version>
870 <executions>
871 <execution>
872 <phase>initialize</phase>
873 <id>ant-create-script</id>
874 <configuration>
875 <exportAntProperties>true</exportAntProperties>
876 <tasks>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -0400877 <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="maven.plugin.classpath"/>
878 <condition property="is_windows" value="true">
879 <os family="windows"/>
880 </condition>
881 <condition property="isLinux" value="true">
882 <os family="unix"/>
883 </condition>
884 <if>
885 <equals arg1="${is_windows}" arg2="true"/>
886 <then>
887 <property name="swagger.sdk.script.file" value="generated-source-script.bat"/>
888 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
889 <echo file="${project.build.directory}${file.separator}generated-source-script.bat" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
890 </then>
891 <else>
892 <property name="swagger.sdk.script.file" value="generated-source-script.sh"/>
893 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}"/>
894 <echo file="${project.build.directory}${file.separator}generated-source-script.sh" append="true" message="mvn clean install -Dmaven.test.skip=true${line.separator}"/>
895 <chmod file="${project.build.directory}${file.separator}generated-source-script.sh" perm="755"/>
896 </else>
897 </if>
898 </tasks>
899 </configuration>
900 <goals>
901 <goal>run</goal>
902 </goals>
903 </execution>
904 </executions>
905 <dependencies>
906 <dependency>
907 <groupId>ant-contrib</groupId>
908 <artifactId>ant-contrib</artifactId>
909 <version>1.0b3</version>
910 <exclusions>
911 <exclusion>
912 <groupId>ant</groupId>
913 <artifactId>ant</artifactId>
914 </exclusion>
915 </exclusions>
916 </dependency>
917 </dependencies>
918 </plugin>
919 <plugin>
920 <groupId>io.swagger</groupId>
921 <artifactId>swagger-codegen-maven-plugin</artifactId>
922 <version>2.2.1</version>
923 <executions>
924 <execution>
925 <goals>
926 <goal>generate</goal>
927 </goals>
928 <configuration>
929 <inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
930 <output>${project.build.directory}/generated-sources</output>
931 <language>java</language>
932 <configOptions>
933 <dateLibrary>joda</dateLibrary>
934 </configOptions>
935 <library>jersey2</library>
936 <groupId>${project.groupId}</groupId>
937 <artifactId>${project.artifactId}-java-sdk</artifactId>
938 <artifactVersion>${project.version}</artifactVersion>
939 <modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
940 <apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
941 <invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
942 </configuration>
943 </execution>
944 </executions>
945 </plugin>
946 <plugin>
947 <groupId>org.codehaus.mojo</groupId>
948 <artifactId>exec-maven-plugin</artifactId>
949 <version>1.5.0</version>
950 <executions>
951 <execution>
952 <id>swagger-generate-sources</id>
953 <phase>generate-sources</phase>
954 <goals>
955 <goal>exec</goal>
956 </goals>
957 <configuration>
958 <executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
959 </configuration>
960 </execution>
961 </executions>
962 </plugin>
963 <plugin>
964 <groupId>org.apache.maven.plugins</groupId>
965 <artifactId>maven-clean-plugin</artifactId>
966 <version>3.0.0</version>
967 <executions>
968 <execution>
969 <id>clean-generated-files</id>
970 <phase>generate-sources</phase>
971 <goals>
972 <goal>clean</goal>
973 </goals>
974 <configuration>
975 <filesets>
976 <fileset>
977 <directory>${project.build.directory}/generated-sources</directory>
978 </fileset>
979 </filesets>
980 </configuration>
981 </execution>
982 </executions>
983 </plugin>
984 </plugins>
985 </build>
986 <dependencies>
987 <dependency>
988 <groupId>org.onap.msb.swagger-sdk</groupId>
989 <artifactId>swagger-sdk</artifactId>
990 <version>1.0.0</version>
991 </dependency>
992 </dependencies>
993 </profile>
994 <profile>
995 <!-- http://blog2.vorburger.ch/2016/06/improve-maven-build-speed-with-q.html
996 q = http://memory-alpha.wikia.com/wiki/Q ;)
997
998 The Quick profile is used during incremental local development, when you want to "just get that JAR built",
999 which is very handy e.g. for fast hot reloading cycles in Karaf with bundle watch. It (intentionally!) skips
1000 tests, quality checks etc. which are great and useful to run before finally submitting changes to Gerrit, and
1001 which all must run on Gerrit, but which are overhead during ongoing fast iterative local development.
1002
1003 Note that the idea here is that your IDE will already have run quality checks such as e.g. Checkstyle
1004 while you typed the code anyway. Similarly, if you wrote a test, you'll probably already have compiled and run it
1005 from your IDE, so when you want the OSGi bundle JAR for Karaf, ASAP, you typically don't want all that to run again.
1006 -->
1007 <id>q</id>
1008 <properties>
1009 <skipTests>true</skipTests>
Singal, Kapil (ks220y)44bb42e2020-09-18 11:00:50 -04001010 <skipPush>true</skipPush>
1011 <docker.skip.push>true</docker.skip.push>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001012 <!-- But NOT <maven.test.skip>true, as that's for compiling, not running, tests;
1013 and that's usually quick. Skipping test compilation with -Pq with maven.test.skip would be
1014 particularly confusing when used in a project with maven-jar-plugin <goal>test-jar, so don't.) -->
1015 <skipIT>true</skipIT>
1016 <skipITs>true</skipITs>
1017 <skip.karaf.featureTest>true</skip.karaf.featureTest>
1018 <jacoco.skip>true</jacoco.skip>
1019 <maven.javadoc.skip>true</maven.javadoc.skip>
1020 <maven.source.skip>true</maven.source.skip>
1021 <checkstyle.skip>true</checkstyle.skip>
1022 <findbugs.skip>true</findbugs.skip>
1023 <spotbugs.skip>true</spotbugs.skip>
1024 <pmd.skip>true</pmd.skip>
1025 <cpd.skip>true</cpd.skip>
1026 <maven.site.skip>true</maven.site.skip>
1027 <invoker.skip>true</invoker.skip>
1028 <enforcer.skip>true</enforcer.skip>
1029 <duplicate-finder.skip>true</duplicate-finder.skip>
1030 <mdsal.skip.verbose>true</mdsal.skip.verbose> <!-- Bug 6236 -->
1031 <maven.gitcommitid.skip>true</maven.gitcommitid.skip>
1032 <modernizer.skip>true</modernizer.skip>
Singal, Kapil (ks220y)9c6ac882019-11-20 12:42:58 -05001033 <format.skipExecute>true</format.skipExecute>
1034 <format.skipValidate>true</format.skipValidate>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001035 </properties>
1036 </profile>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -05001037 <profile>
1038 <id>sonar-jacoco-aggregate</id>
1039 <activation>
1040 <property>
1041 <name>onap.jacoco.aggregateFile</name>
1042 </property>
1043 </activation>
1044 <build>
1045 <plugins>
1046 <plugin>
1047 <groupId>org.jacoco</groupId>
1048 <artifactId>jacoco-maven-plugin</artifactId>
1049 <executions>
1050 <execution>
1051 <id>merge</id>
1052 <goals>
1053 <goal>merge</goal>
1054 </goals>
1055 <phase>generate-resources</phase>
1056 <configuration>
1057 <destFile>${onap.jacoco.aggregateFile}</destFile>
1058 <fileSets>
1059 <fileSet>
1060 <directory>${project.basedir}</directory>
1061 <includes>
1062 <include>**/target/code-coverage/*.exec</include>
1063 </includes>
1064 </fileSet>
1065 </fileSets>
1066 </configuration>
1067 </execution>
1068 </executions>
1069 </plugin>
1070 </plugins>
1071 </build>
1072 </profile>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001073 <!-- End of profiles from ONAP oparent -->
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -04001074 </profiles>
Timoney, Dan (dt5972)a4b1a9f2018-09-18 13:53:34 -04001075</project>