blob: 48b5540d235f394179c2b681108ee00025c35e44 [file] [log] [blame]
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -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">
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -04003 <modelVersion>4.0.0</modelVersion>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -04004
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -04005 <parent>
6 <groupId>org.onap.oparent</groupId>
7 <artifactId>oparent</artifactId>
Dan Timoney161996d2020-12-09 07:37:08 -05008 <version>3.1.0</version>
Singal, Kapil (ks220y)f15762d2019-12-03 10:48:17 -05009 <relativePath/>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -040010 </parent>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -040011
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040012 <groupId>org.onap.ccsdk.parent</groupId>
13 <artifactId>standalone-parent</artifactId>
Dan Timoneyde82d682024-08-07 16:20:50 -040014 <version>2.8.0-SNAPSHOT</version>
Singal, Kapil (ks220y)2e8a4da2019-10-01 22:31:50 -040015 <packaging>pom</packaging>
16
17 <name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
18 <description>Root POM to be used in place of oparent for CCSDK based projects</description>
19 <url>http://wiki.onap.org</url>
20 <organization>
21 <name>ONAP</name>
22 </organization>
23
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -040024 <issueManagement>
25 <system>JIRA</system>
26 <url>https://jira.onap.org/</url>
27 </issueManagement>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -040028 <distributionManagement>
29 <repository>
30 <id>ecomp-releases</id>
31 <url>${onap.nexus.release-url}</url>
32 </repository>
33 <snapshotRepository>
34 <id>ecomp-snapshots</id>
35 <url>${onap.nexus.snapshot-url}</url>
36 </snapshotRepository>
37 </distributionManagement>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -040038
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -040039 <properties>
Dan Timoney017e0b32020-01-20 10:57:59 -050040 <!-- Sonar properties -->
41 <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
42 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
43 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
44 <!-- Default Sonar configuration -->
45 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
46 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
47 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -040048
Dan Timoney017e0b32020-01-20 10:57:59 -050049 <!-- Jacoco properties -->
Dan Timoney5ed8b042023-02-08 07:40:23 -050050 <jacoco.version>0.8.8</jacoco.version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -040051 <!-- ONAP repositories -->
52 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
53 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
54 <onap.nexus.port>443</onap.nexus.port>
55 <onap.nexus.protocol>https</onap.nexus.protocol>
56 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
57 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
58 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
59 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
60 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
61 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -040062
Dan Timoney5ed8b042023-02-08 07:40:23 -050063 <java.version.source>17</java.version.source>
64 <java.version.target>17</java.version.target>
65 <maven.compiler.source>17</maven.compiler.source>
66 <maven.compiler.target>17</maven.compiler.target>
67 <bundle.plugin.version>5.1.1</bundle.plugin.version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -040068 <checkstyle.skip>true</checkstyle.skip>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -040069
Dan Timoney156d2a92022-01-03 11:49:40 -050070 <log4j.version>2.17.1</log4j.version>
71 <log4j2.version>2.17.1</log4j2.version>
Singal, Kapil (ks220y)b5628bd2021-07-08 10:48:36 -040072 <mariadb.connector.version>2.7.2</mariadb.connector.version>
Dan Timoneyd9c8dcb2021-08-23 11:36:27 -040073 <fasterxml.jackson.version>2.12.4</fasterxml.jackson.version>
74 <velocity.version>2.3</velocity.version>
highstreetherbert54f98a12022-12-08 16:51:41 +010075 <dmaap.listener.version>1.1.14</dmaap.listener.version>
efiacord04c3e42022-11-23 16:01:13 +000076 <sdc.client.version>2.0.0</sdc.client.version>
Dan Timoney2f11eeb2020-05-18 08:39:04 -040077 <sdc.tosca.version>1.6.5</sdc.tosca.version>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -040078
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -050079 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -040080 </properties>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -040081
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -040082 <dependencyManagement>
83 <dependencies>
84 <dependency>
85 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
86 <artifactId>sdc-distribution-client</artifactId>
87 <version>${sdc.client.version}</version>
88 <scope>compile</scope>
89 </dependency>
90 <dependency>
91 <groupId>org.onap.sdc.sdc-tosca</groupId>
92 <artifactId>sdc-tosca</artifactId>
93 <version>${sdc.tosca.version}</version>
94 <scope>compile</scope>
95 </dependency>
96 <dependency>
97 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
98 <artifactId>dmaapClient</artifactId>
99 <version>${dmaap.listener.version}</version>
100 </dependency>
101 <dependency>
102 <groupId>org.slf4j</groupId>
103 <artifactId>slf4j-api</artifactId>
Singal, Kapil (ks220y)7fb88322021-07-08 20:39:34 -0400104 <version>1.7.29</version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400105 </dependency>
106 <dependency>
107 <groupId>org.apache.logging.log4j</groupId>
Dan Timoney156d2a92022-01-03 11:49:40 -0500108 <artifactId>log4j-api</artifactId>
109 <version>2.17.1</version>
110 </dependency>
111 <dependency>
112 <groupId>org.apache.logging.log4j</groupId>
113 <artifactId>log4j-core</artifactId>
114 <version>2.17.1</version>
115 </dependency>
116 <dependency>
117 <groupId>org.apache.logging.log4j</groupId>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400118 <artifactId>log4j-slf4j-impl</artifactId>
Dan Timoney156d2a92022-01-03 11:49:40 -0500119 <version>2.17.1</version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400120 </dependency>
121 <dependency>
122 <groupId>com.fasterxml.jackson.core</groupId>
123 <artifactId>jackson-core</artifactId>
124 <version>${fasterxml.jackson.version}</version>
125 </dependency>
126 <dependency>
127 <groupId>com.fasterxml.jackson.core</groupId>
128 <artifactId>jackson-databind</artifactId>
lalena.aria400f2e42020-02-27 15:54:19 +0000129 <version>${fasterxml.jackson.version}</version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400130 </dependency>
131 <dependency>
132 <groupId>com.fasterxml.jackson.core</groupId>
133 <artifactId>jackson-annotations</artifactId>
134 <version>${fasterxml.jackson.version}</version>
135 </dependency>
136 <dependency>
137 <groupId>org.apache.velocity</groupId>
138 <artifactId>velocity-engine-core</artifactId>
139 <version>${velocity.version}</version>
140 </dependency>
141 <dependency>
142 <groupId>junit</groupId>
143 <artifactId>junit</artifactId>
Dan Timoneyd9c8dcb2021-08-23 11:36:27 -0400144 <version>4.13.2</version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400145 <scope>test</scope>
146 </dependency>
147 <dependency>
148 <groupId>org.mockito</groupId>
149 <artifactId>mockito-core</artifactId>
Dan Timoney29e355f2022-07-21 08:21:16 -0400150 <version>3.12.4</version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400151 <scope>test</scope>
152 </dependency>
153 <dependency>
154 <groupId>org.testng</groupId>
155 <artifactId>testng</artifactId>
156 <version>6.11</version>
157 <scope>test</scope>
158 </dependency>
159 <dependency>
160 <groupId>ch.vorburger.mariaDB4j</groupId>
161 <artifactId>mariaDB4j</artifactId>
162 <version>2.2.3</version>
163 <scope>test</scope>
164 </dependency>
165 </dependencies>
166 </dependencyManagement>
167
168 <repositories>
169 <repository>
170 <id>onap-public</id>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400171 <url>${onap.nexus.public-url}</url>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400172 <releases>
173 <enabled>true</enabled>
174 <updatePolicy>never</updatePolicy>
175 </releases>
176 <snapshots>
177 <enabled>true</enabled>
178 <updatePolicy>always</updatePolicy>
179 </snapshots>
180 </repository>
181 <repository>
182 <id>onap-staging</id>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400183 <url>${onap.nexus.staging-url}</url>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400184 <releases>
185 <enabled>true</enabled>
186 <updatePolicy>never</updatePolicy>
187 </releases>
188 <snapshots>
189 <enabled>true</enabled>
190 <updatePolicy>always</updatePolicy>
191 </snapshots>
192 </repository>
193 <repository>
194 <id>ecomp-release</id>
195 <name>onap-repository-releases</name>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400196 <url>${onap.nexus.release-url}</url>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400197 <releases>
198 <enabled>true</enabled>
199 <updatePolicy>never</updatePolicy>
200 </releases>
201 <snapshots>
202 <enabled>false</enabled>
203 </snapshots>
204 </repository>
205 <repository>
206 <id>ecomp-snapshot</id>
207 <name>onap-repository-snapshots</name>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400208 <url>${onap.nexus.snapshot-url}</url>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400209 <releases>
210 <enabled>false</enabled>
211 </releases>
212 <snapshots>
213 <enabled>true</enabled>
214 </snapshots>
215 </repository>
216 </repositories>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400217 <pluginRepositories>
218 <pluginRepository>
219 <id>onap-public</id>
220 <url>${onap.nexus.public-url}</url>
221 <releases>
222 <enabled>true</enabled>
223 </releases>
224 <snapshots>
225 <enabled>true</enabled>
226 </snapshots>
227 </pluginRepository>
228 <pluginRepository>
229 <id>onap-staging</id>
230 <url>${onap.nexus.staging-url}</url>
231 <releases>
232 <enabled>true</enabled>
233 </releases>
234 <snapshots>
235 <enabled>true</enabled>
236 </snapshots>
237 </pluginRepository>
238 <pluginRepository>
239 <id>onap-snapshot</id>
240 <url>${onap.nexus.snapshot-url}</url>
241 <releases>
242 <enabled>false</enabled>
243 </releases>
244 <snapshots>
245 <enabled>true</enabled>
246 </snapshots>
247 </pluginRepository>
248 <!-- Black Duck plugin dependencies -->
249 <pluginRepository>
250 <id>JCenter</id>
251 <name>JCenter Repository</name>
252 <url>http://jcenter.bintray.com</url>
253 </pluginRepository>
254 <pluginRepository>
255 <id>Restlet</id>
256 <name>Restlet Repository</name>
257 <url>http://maven.restlet.com</url>
258 </pluginRepository>
259 </pluginRepositories>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -0400260
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400261 <build>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500262 <pluginManagement>
263 <plugins>
264 <plugin>
Singal, Kapil (ks220y)e1d0e252021-02-01 22:06:16 -0500265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-deploy-plugin</artifactId>
267 <!-- This version supports the "deployAtEnd" parameter -->
268 <version>2.8</version>
269 <configuration>
270 <skip/>
271 <deployAtEnd>true</deployAtEnd>
272 </configuration>
273 </plugin>
274 <plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500275 <groupId>com.github.ferstl</groupId>
276 <artifactId>depgraph-maven-plugin</artifactId>
277 <version>3.3.0</version>
278 <configuration>
279 <graphFormat>text</graphFormat>
280 <outputFileName>${dependency-list.file}</outputFileName>
281 <outputDirectory>${project.basedir}</outputDirectory>
282 <transitiveExcludes>*</transitiveExcludes>
283 <showVersions>true</showVersions>
Timoney, Dan (dt5972)cc0c96a2019-12-11 10:04:52 -0500284 <showGroupIds>true</showGroupIds>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500285 </configuration>
286 </plugin>
287 </plugins>
288 </pluginManagement>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400289 <plugins>
Dan Timoney017e0b32020-01-20 10:57:59 -0500290 <!-- Jacoco / Sonar -->
291 <plugin>
292 <groupId>org.jacoco</groupId>
293 <artifactId>jacoco-maven-plugin</artifactId>
294 <version>${jacoco.version}</version>
295 <executions>
296 <execution>
297 <id>pre-unit-test</id>
298 <goals>
299 <goal>prepare-agent</goal>
300 </goals>
301 <configuration>
302 <!-- Sets the path to the file which contains the execution data. -->
303 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
304 <!-- Sets the name of the property containing the settings for JaCoCo
305 runtime agent. -->
306 <propertyName>surefireArgLine</propertyName>
307 </configuration>
308 </execution>
309 <!-- Ensures that the code coverage report for unit tests is created
310 after unit tests have been run. -->
311 <execution>
312 <id>post-unit-test</id>
313 <phase>test</phase>
314 <goals>
315 <goal>report</goal>
316 </goals>
317 <configuration>
318 <!-- Sets the path to the file which contains the execution data. -->
319 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
320 <!-- Sets the output directory for the code coverage report. -->
321 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
322 </configuration>
323 </execution>
324 <execution>
325 <id>pre-integration-test</id>
326 <phase>pre-integration-test</phase>
327 <goals>
328 <goal>prepare-agent</goal>
329 </goals>
330 <configuration>
331 <!-- Sets the path to the file which contains the execution data. -->
332 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
333 <!-- Sets the name of the property containing the settings for JaCoCo
334 runtime agent. -->
335 <propertyName>failsafeArgLine</propertyName>
336 </configuration>
337 </execution>
338 <!-- Ensures that the code coverage report for integration tests after
339 integration tests have been run. -->
340 <execution>
341 <id>post-integration-test</id>
342 <phase>post-integration-test</phase>
343 <goals>
344 <goal>report</goal>
345 </goals>
346 <configuration>
347 <!-- Sets the path to the file which contains the execution data. -->
348 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
349 <!-- Sets the output directory for the code coverage report. -->
350 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
351 </configuration>
352 </execution>
353 <execution>
354 <id>default-prepare-agent</id>
355 <goals>
356 <goal>prepare-agent</goal>
357 </goals>
358 </execution>
359 <execution>
360 <id>default-report</id>
361 <phase>prepare-package</phase>
362 <goals>
363 <goal>report</goal>
364 </goals>
365 </execution>
366 <execution>
367 <id>default-check</id>
368 <goals>
369 <goal>check</goal>
370 </goals>
371 <configuration>
372 <rules>
373 <rule>
374 <element>PACKAGE</element>
375 <limits>
376 <limit>
377 <counter>COMPLEXITY</counter>
378 <value>COVEREDRATIO</value>
379 <minimum>0.0</minimum>
380 </limit>
381 </limits>
382 </rule>
383 </rules>
384 </configuration>
385 </execution>
386 </executions>
387 </plugin>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400388 <plugin>
389 <groupId>org.codehaus.mojo</groupId>
390 <artifactId>versions-maven-plugin</artifactId>
391 <version>2.5</version>
392 <configuration>
393 <processAllModules>true</processAllModules>
394 </configuration>
395 </plugin>
396 </plugins>
397 </build>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -0500398
399 <profiles>
400 <profile>
401 <id>sonar-jacoco-aggregate</id>
402 <activation>
403 <property>
404 <name>onap.jacoco.aggregateFile</name>
405 </property>
406 </activation>
407 <build>
408 <plugins>
409 <plugin>
410 <groupId>org.jacoco</groupId>
411 <artifactId>jacoco-maven-plugin</artifactId>
412 <executions>
413 <execution>
414 <id>merge</id>
415 <goals>
416 <goal>merge</goal>
417 </goals>
418 <phase>generate-resources</phase>
419 <configuration>
420 <destFile>${onap.jacoco.aggregateFile}</destFile>
421 <fileSets>
422 <fileSet>
423 <directory>${project.basedir}</directory>
424 <includes>
425 <include>**/target/code-coverage/*.exec</include>
426 </includes>
427 </fileSet>
428 </fileSets>
429 </configuration>
430 </execution>
431 </executions>
432 </plugin>
433 </plugins>
434 </build>
435 </profile>
436 </profiles>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -0400437</project>