blob: de9a10100479810fc98f1d3bb8a23338e76e3e81 [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>
Timoney, Dan (dt5972)9d4203e2022-10-20 14:22:09 -040014 <version>2.5.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 -->
50 <jacoco.version>0.8.5</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
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -040063 <java.version.source>1.8</java.version.source>
64 <java.version.target>1.8</java.version.target>
65 <bundle.plugin.version>2.5.0</bundle.plugin.version>
66 <checkstyle.skip>true</checkstyle.skip>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -040067
Dan Timoney156d2a92022-01-03 11:49:40 -050068 <log4j.version>2.17.1</log4j.version>
69 <log4j2.version>2.17.1</log4j2.version>
Singal, Kapil (ks220y)b5628bd2021-07-08 10:48:36 -040070 <mariadb.connector.version>2.7.2</mariadb.connector.version>
Dan Timoneyd9c8dcb2021-08-23 11:36:27 -040071 <fasterxml.jackson.version>2.12.4</fasterxml.jackson.version>
72 <velocity.version>2.3</velocity.version>
Timoney, Dan (dt5972)fec4cef2022-10-24 15:10:54 -040073 <dmaap.listener.version>1.1.13</dmaap.listener.version>
Dan Timoney2f11eeb2020-05-18 08:39:04 -040074 <sdc.client.version>1.4.1</sdc.client.version>
75 <sdc.tosca.version>1.6.5</sdc.tosca.version>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -040076
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -050077 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -040078 </properties>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -040079
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -040080 <dependencyManagement>
81 <dependencies>
82 <dependency>
83 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
84 <artifactId>sdc-distribution-client</artifactId>
85 <version>${sdc.client.version}</version>
86 <scope>compile</scope>
87 </dependency>
88 <dependency>
89 <groupId>org.onap.sdc.sdc-tosca</groupId>
90 <artifactId>sdc-tosca</artifactId>
91 <version>${sdc.tosca.version}</version>
92 <scope>compile</scope>
93 </dependency>
94 <dependency>
95 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
96 <artifactId>dmaapClient</artifactId>
97 <version>${dmaap.listener.version}</version>
98 </dependency>
99 <dependency>
100 <groupId>org.slf4j</groupId>
101 <artifactId>slf4j-api</artifactId>
Singal, Kapil (ks220y)7fb88322021-07-08 20:39:34 -0400102 <version>1.7.29</version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400103 </dependency>
104 <dependency>
105 <groupId>org.apache.logging.log4j</groupId>
Dan Timoney156d2a92022-01-03 11:49:40 -0500106 <artifactId>log4j-api</artifactId>
107 <version>2.17.1</version>
108 </dependency>
109 <dependency>
110 <groupId>org.apache.logging.log4j</groupId>
111 <artifactId>log4j-core</artifactId>
112 <version>2.17.1</version>
113 </dependency>
114 <dependency>
115 <groupId>org.apache.logging.log4j</groupId>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400116 <artifactId>log4j-slf4j-impl</artifactId>
Dan Timoney156d2a92022-01-03 11:49:40 -0500117 <version>2.17.1</version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400118 </dependency>
119 <dependency>
120 <groupId>com.fasterxml.jackson.core</groupId>
121 <artifactId>jackson-core</artifactId>
122 <version>${fasterxml.jackson.version}</version>
123 </dependency>
124 <dependency>
125 <groupId>com.fasterxml.jackson.core</groupId>
126 <artifactId>jackson-databind</artifactId>
lalena.aria400f2e42020-02-27 15:54:19 +0000127 <version>${fasterxml.jackson.version}</version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400128 </dependency>
129 <dependency>
130 <groupId>com.fasterxml.jackson.core</groupId>
131 <artifactId>jackson-annotations</artifactId>
132 <version>${fasterxml.jackson.version}</version>
133 </dependency>
134 <dependency>
135 <groupId>org.apache.velocity</groupId>
136 <artifactId>velocity-engine-core</artifactId>
137 <version>${velocity.version}</version>
138 </dependency>
139 <dependency>
140 <groupId>junit</groupId>
141 <artifactId>junit</artifactId>
Dan Timoneyd9c8dcb2021-08-23 11:36:27 -0400142 <version>4.13.2</version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400143 <scope>test</scope>
144 </dependency>
145 <dependency>
146 <groupId>org.mockito</groupId>
147 <artifactId>mockito-core</artifactId>
Dan Timoney29e355f2022-07-21 08:21:16 -0400148 <version>3.12.4</version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400149 <scope>test</scope>
150 </dependency>
151 <dependency>
152 <groupId>org.testng</groupId>
153 <artifactId>testng</artifactId>
154 <version>6.11</version>
155 <scope>test</scope>
156 </dependency>
157 <dependency>
158 <groupId>ch.vorburger.mariaDB4j</groupId>
159 <artifactId>mariaDB4j</artifactId>
160 <version>2.2.3</version>
161 <scope>test</scope>
162 </dependency>
163 </dependencies>
164 </dependencyManagement>
165
166 <repositories>
167 <repository>
168 <id>onap-public</id>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400169 <url>${onap.nexus.public-url}</url>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400170 <releases>
171 <enabled>true</enabled>
172 <updatePolicy>never</updatePolicy>
173 </releases>
174 <snapshots>
175 <enabled>true</enabled>
176 <updatePolicy>always</updatePolicy>
177 </snapshots>
178 </repository>
179 <repository>
180 <id>onap-staging</id>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400181 <url>${onap.nexus.staging-url}</url>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400182 <releases>
183 <enabled>true</enabled>
184 <updatePolicy>never</updatePolicy>
185 </releases>
186 <snapshots>
187 <enabled>true</enabled>
188 <updatePolicy>always</updatePolicy>
189 </snapshots>
190 </repository>
191 <repository>
192 <id>ecomp-release</id>
193 <name>onap-repository-releases</name>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400194 <url>${onap.nexus.release-url}</url>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400195 <releases>
196 <enabled>true</enabled>
197 <updatePolicy>never</updatePolicy>
198 </releases>
199 <snapshots>
200 <enabled>false</enabled>
201 </snapshots>
202 </repository>
203 <repository>
204 <id>ecomp-snapshot</id>
205 <name>onap-repository-snapshots</name>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400206 <url>${onap.nexus.snapshot-url}</url>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400207 <releases>
208 <enabled>false</enabled>
209 </releases>
210 <snapshots>
211 <enabled>true</enabled>
212 </snapshots>
213 </repository>
214 </repositories>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400215 <pluginRepositories>
216 <pluginRepository>
217 <id>onap-public</id>
218 <url>${onap.nexus.public-url}</url>
219 <releases>
220 <enabled>true</enabled>
221 </releases>
222 <snapshots>
223 <enabled>true</enabled>
224 </snapshots>
225 </pluginRepository>
226 <pluginRepository>
227 <id>onap-staging</id>
228 <url>${onap.nexus.staging-url}</url>
229 <releases>
230 <enabled>true</enabled>
231 </releases>
232 <snapshots>
233 <enabled>true</enabled>
234 </snapshots>
235 </pluginRepository>
236 <pluginRepository>
237 <id>onap-snapshot</id>
238 <url>${onap.nexus.snapshot-url}</url>
239 <releases>
240 <enabled>false</enabled>
241 </releases>
242 <snapshots>
243 <enabled>true</enabled>
244 </snapshots>
245 </pluginRepository>
246 <!-- Black Duck plugin dependencies -->
247 <pluginRepository>
248 <id>JCenter</id>
249 <name>JCenter Repository</name>
250 <url>http://jcenter.bintray.com</url>
251 </pluginRepository>
252 <pluginRepository>
253 <id>Restlet</id>
254 <name>Restlet Repository</name>
255 <url>http://maven.restlet.com</url>
256 </pluginRepository>
257 </pluginRepositories>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -0400258
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400259 <build>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500260 <pluginManagement>
261 <plugins>
262 <plugin>
Singal, Kapil (ks220y)e1d0e252021-02-01 22:06:16 -0500263 <groupId>org.apache.maven.plugins</groupId>
264 <artifactId>maven-deploy-plugin</artifactId>
265 <!-- This version supports the "deployAtEnd" parameter -->
266 <version>2.8</version>
267 <configuration>
268 <skip/>
269 <deployAtEnd>true</deployAtEnd>
270 </configuration>
271 </plugin>
272 <plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500273 <groupId>com.github.ferstl</groupId>
274 <artifactId>depgraph-maven-plugin</artifactId>
275 <version>3.3.0</version>
276 <configuration>
277 <graphFormat>text</graphFormat>
278 <outputFileName>${dependency-list.file}</outputFileName>
279 <outputDirectory>${project.basedir}</outputDirectory>
280 <transitiveExcludes>*</transitiveExcludes>
281 <showVersions>true</showVersions>
Timoney, Dan (dt5972)cc0c96a2019-12-11 10:04:52 -0500282 <showGroupIds>true</showGroupIds>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500283 </configuration>
284 </plugin>
285 </plugins>
286 </pluginManagement>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400287 <plugins>
Dan Timoney017e0b32020-01-20 10:57:59 -0500288 <!-- Jacoco / Sonar -->
289 <plugin>
290 <groupId>org.jacoco</groupId>
291 <artifactId>jacoco-maven-plugin</artifactId>
292 <version>${jacoco.version}</version>
293 <executions>
294 <execution>
295 <id>pre-unit-test</id>
296 <goals>
297 <goal>prepare-agent</goal>
298 </goals>
299 <configuration>
300 <!-- Sets the path to the file which contains the execution data. -->
301 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
302 <!-- Sets the name of the property containing the settings for JaCoCo
303 runtime agent. -->
304 <propertyName>surefireArgLine</propertyName>
305 </configuration>
306 </execution>
307 <!-- Ensures that the code coverage report for unit tests is created
308 after unit tests have been run. -->
309 <execution>
310 <id>post-unit-test</id>
311 <phase>test</phase>
312 <goals>
313 <goal>report</goal>
314 </goals>
315 <configuration>
316 <!-- Sets the path to the file which contains the execution data. -->
317 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
318 <!-- Sets the output directory for the code coverage report. -->
319 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
320 </configuration>
321 </execution>
322 <execution>
323 <id>pre-integration-test</id>
324 <phase>pre-integration-test</phase>
325 <goals>
326 <goal>prepare-agent</goal>
327 </goals>
328 <configuration>
329 <!-- Sets the path to the file which contains the execution data. -->
330 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
331 <!-- Sets the name of the property containing the settings for JaCoCo
332 runtime agent. -->
333 <propertyName>failsafeArgLine</propertyName>
334 </configuration>
335 </execution>
336 <!-- Ensures that the code coverage report for integration tests after
337 integration tests have been run. -->
338 <execution>
339 <id>post-integration-test</id>
340 <phase>post-integration-test</phase>
341 <goals>
342 <goal>report</goal>
343 </goals>
344 <configuration>
345 <!-- Sets the path to the file which contains the execution data. -->
346 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
347 <!-- Sets the output directory for the code coverage report. -->
348 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
349 </configuration>
350 </execution>
351 <execution>
352 <id>default-prepare-agent</id>
353 <goals>
354 <goal>prepare-agent</goal>
355 </goals>
356 </execution>
357 <execution>
358 <id>default-report</id>
359 <phase>prepare-package</phase>
360 <goals>
361 <goal>report</goal>
362 </goals>
363 </execution>
364 <execution>
365 <id>default-check</id>
366 <goals>
367 <goal>check</goal>
368 </goals>
369 <configuration>
370 <rules>
371 <rule>
372 <element>PACKAGE</element>
373 <limits>
374 <limit>
375 <counter>COMPLEXITY</counter>
376 <value>COVEREDRATIO</value>
377 <minimum>0.0</minimum>
378 </limit>
379 </limits>
380 </rule>
381 </rules>
382 </configuration>
383 </execution>
384 </executions>
385 </plugin>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400386 <plugin>
387 <groupId>org.codehaus.mojo</groupId>
388 <artifactId>versions-maven-plugin</artifactId>
389 <version>2.5</version>
390 <configuration>
391 <processAllModules>true</processAllModules>
392 </configuration>
393 </plugin>
394 </plugins>
395 </build>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -0500396
397 <profiles>
398 <profile>
399 <id>sonar-jacoco-aggregate</id>
400 <activation>
401 <property>
402 <name>onap.jacoco.aggregateFile</name>
403 </property>
404 </activation>
405 <build>
406 <plugins>
407 <plugin>
408 <groupId>org.jacoco</groupId>
409 <artifactId>jacoco-maven-plugin</artifactId>
410 <executions>
411 <execution>
412 <id>merge</id>
413 <goals>
414 <goal>merge</goal>
415 </goals>
416 <phase>generate-resources</phase>
417 <configuration>
418 <destFile>${onap.jacoco.aggregateFile}</destFile>
419 <fileSets>
420 <fileSet>
421 <directory>${project.basedir}</directory>
422 <includes>
423 <include>**/target/code-coverage/*.exec</include>
424 </includes>
425 </fileSet>
426 </fileSets>
427 </configuration>
428 </execution>
429 </executions>
430 </plugin>
431 </plugins>
432 </build>
433 </profile>
434 </profiles>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -0400435</project>