blob: a74231275bd32e9c08b2371a89c6e7b0f2d57d1b [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 Timoney129bbdb2021-03-09 09:43:57 -050014 <version>2.2.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
Singal, Kapil (ks220y)b5628bd2021-07-08 10:48:36 -040068 <mariadb.connector.version>2.7.2</mariadb.connector.version>
Singal, Kapil (ks220y)b2db3c42021-06-08 12:00:17 -040069 <fasterxml.jackson.version>2.10.5</fasterxml.jackson.version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -040070 <velocity.version>2.0</velocity.version>
Dan Timoneydffc2f52021-06-09 16:28:07 -040071 <dmaap.listener.version>1.1.12</dmaap.listener.version>
Dan Timoney2f11eeb2020-05-18 08:39:04 -040072 <sdc.client.version>1.4.1</sdc.client.version>
73 <sdc.tosca.version>1.6.5</sdc.tosca.version>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -040074
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -050075 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -040076 </properties>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -040077
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -040078 <dependencyManagement>
79 <dependencies>
80 <dependency>
81 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
82 <artifactId>sdc-distribution-client</artifactId>
83 <version>${sdc.client.version}</version>
84 <scope>compile</scope>
85 </dependency>
86 <dependency>
87 <groupId>org.onap.sdc.sdc-tosca</groupId>
88 <artifactId>sdc-tosca</artifactId>
89 <version>${sdc.tosca.version}</version>
90 <scope>compile</scope>
91 </dependency>
92 <dependency>
93 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
94 <artifactId>dmaapClient</artifactId>
95 <version>${dmaap.listener.version}</version>
96 </dependency>
97 <dependency>
98 <groupId>org.slf4j</groupId>
99 <artifactId>slf4j-api</artifactId>
Singal, Kapil (ks220y)7fb88322021-07-08 20:39:34 -0400100 <version>1.7.29</version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400101 </dependency>
102 <dependency>
103 <groupId>org.apache.logging.log4j</groupId>
104 <artifactId>log4j-slf4j-impl</artifactId>
105 <version>2.11.2</version>
106 </dependency>
107 <dependency>
108 <groupId>com.fasterxml.jackson.core</groupId>
109 <artifactId>jackson-core</artifactId>
110 <version>${fasterxml.jackson.version}</version>
111 </dependency>
112 <dependency>
113 <groupId>com.fasterxml.jackson.core</groupId>
114 <artifactId>jackson-databind</artifactId>
lalena.aria400f2e42020-02-27 15:54:19 +0000115 <version>${fasterxml.jackson.version}</version>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400116 </dependency>
117 <dependency>
118 <groupId>com.fasterxml.jackson.core</groupId>
119 <artifactId>jackson-annotations</artifactId>
120 <version>${fasterxml.jackson.version}</version>
121 </dependency>
122 <dependency>
123 <groupId>org.apache.velocity</groupId>
124 <artifactId>velocity-engine-core</artifactId>
125 <version>${velocity.version}</version>
126 </dependency>
127 <dependency>
128 <groupId>junit</groupId>
129 <artifactId>junit</artifactId>
130 <version>4.12</version>
131 <scope>test</scope>
132 </dependency>
133 <dependency>
134 <groupId>org.mockito</groupId>
135 <artifactId>mockito-core</artifactId>
136 <version>1.10.19</version>
137 <scope>test</scope>
138 </dependency>
139 <dependency>
140 <groupId>org.testng</groupId>
141 <artifactId>testng</artifactId>
142 <version>6.11</version>
143 <scope>test</scope>
144 </dependency>
145 <dependency>
146 <groupId>ch.vorburger.mariaDB4j</groupId>
147 <artifactId>mariaDB4j</artifactId>
148 <version>2.2.3</version>
149 <scope>test</scope>
150 </dependency>
151 </dependencies>
152 </dependencyManagement>
153
154 <repositories>
155 <repository>
156 <id>onap-public</id>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400157 <url>${onap.nexus.public-url}</url>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400158 <releases>
159 <enabled>true</enabled>
160 <updatePolicy>never</updatePolicy>
161 </releases>
162 <snapshots>
163 <enabled>true</enabled>
164 <updatePolicy>always</updatePolicy>
165 </snapshots>
166 </repository>
167 <repository>
168 <id>onap-staging</id>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400169 <url>${onap.nexus.staging-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>ecomp-release</id>
181 <name>onap-repository-releases</name>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400182 <url>${onap.nexus.release-url}</url>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400183 <releases>
184 <enabled>true</enabled>
185 <updatePolicy>never</updatePolicy>
186 </releases>
187 <snapshots>
188 <enabled>false</enabled>
189 </snapshots>
190 </repository>
191 <repository>
192 <id>ecomp-snapshot</id>
193 <name>onap-repository-snapshots</name>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400194 <url>${onap.nexus.snapshot-url}</url>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400195 <releases>
196 <enabled>false</enabled>
197 </releases>
198 <snapshots>
199 <enabled>true</enabled>
200 </snapshots>
201 </repository>
202 </repositories>
Singal, Kapil (ks220y)7bc072e2021-06-09 17:31:32 -0400203 <pluginRepositories>
204 <pluginRepository>
205 <id>onap-public</id>
206 <url>${onap.nexus.public-url}</url>
207 <releases>
208 <enabled>true</enabled>
209 </releases>
210 <snapshots>
211 <enabled>true</enabled>
212 </snapshots>
213 </pluginRepository>
214 <pluginRepository>
215 <id>onap-staging</id>
216 <url>${onap.nexus.staging-url}</url>
217 <releases>
218 <enabled>true</enabled>
219 </releases>
220 <snapshots>
221 <enabled>true</enabled>
222 </snapshots>
223 </pluginRepository>
224 <pluginRepository>
225 <id>onap-snapshot</id>
226 <url>${onap.nexus.snapshot-url}</url>
227 <releases>
228 <enabled>false</enabled>
229 </releases>
230 <snapshots>
231 <enabled>true</enabled>
232 </snapshots>
233 </pluginRepository>
234 <!-- Black Duck plugin dependencies -->
235 <pluginRepository>
236 <id>JCenter</id>
237 <name>JCenter Repository</name>
238 <url>http://jcenter.bintray.com</url>
239 </pluginRepository>
240 <pluginRepository>
241 <id>Restlet</id>
242 <name>Restlet Repository</name>
243 <url>http://maven.restlet.com</url>
244 </pluginRepository>
245 </pluginRepositories>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -0400246
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400247 <build>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500248 <pluginManagement>
249 <plugins>
250 <plugin>
Singal, Kapil (ks220y)e1d0e252021-02-01 22:06:16 -0500251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-deploy-plugin</artifactId>
253 <!-- This version supports the "deployAtEnd" parameter -->
254 <version>2.8</version>
255 <configuration>
256 <skip/>
257 <deployAtEnd>true</deployAtEnd>
258 </configuration>
259 </plugin>
260 <plugin>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500261 <groupId>com.github.ferstl</groupId>
262 <artifactId>depgraph-maven-plugin</artifactId>
263 <version>3.3.0</version>
264 <configuration>
265 <graphFormat>text</graphFormat>
266 <outputFileName>${dependency-list.file}</outputFileName>
267 <outputDirectory>${project.basedir}</outputDirectory>
268 <transitiveExcludes>*</transitiveExcludes>
269 <showVersions>true</showVersions>
Timoney, Dan (dt5972)cc0c96a2019-12-11 10:04:52 -0500270 <showGroupIds>true</showGroupIds>
Timoney, Dan (dt5972)94fcbc22019-12-10 09:18:51 -0500271 </configuration>
272 </plugin>
273 </plugins>
274 </pluginManagement>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400275 <plugins>
Dan Timoney017e0b32020-01-20 10:57:59 -0500276 <!-- Jacoco / Sonar -->
277 <plugin>
278 <groupId>org.jacoco</groupId>
279 <artifactId>jacoco-maven-plugin</artifactId>
280 <version>${jacoco.version}</version>
281 <executions>
282 <execution>
283 <id>pre-unit-test</id>
284 <goals>
285 <goal>prepare-agent</goal>
286 </goals>
287 <configuration>
288 <!-- Sets the path to the file which contains the execution data. -->
289 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
290 <!-- Sets the name of the property containing the settings for JaCoCo
291 runtime agent. -->
292 <propertyName>surefireArgLine</propertyName>
293 </configuration>
294 </execution>
295 <!-- Ensures that the code coverage report for unit tests is created
296 after unit tests have been run. -->
297 <execution>
298 <id>post-unit-test</id>
299 <phase>test</phase>
300 <goals>
301 <goal>report</goal>
302 </goals>
303 <configuration>
304 <!-- Sets the path to the file which contains the execution data. -->
305 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
306 <!-- Sets the output directory for the code coverage report. -->
307 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
308 </configuration>
309 </execution>
310 <execution>
311 <id>pre-integration-test</id>
312 <phase>pre-integration-test</phase>
313 <goals>
314 <goal>prepare-agent</goal>
315 </goals>
316 <configuration>
317 <!-- Sets the path to the file which contains the execution data. -->
318 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
319 <!-- Sets the name of the property containing the settings for JaCoCo
320 runtime agent. -->
321 <propertyName>failsafeArgLine</propertyName>
322 </configuration>
323 </execution>
324 <!-- Ensures that the code coverage report for integration tests after
325 integration tests have been run. -->
326 <execution>
327 <id>post-integration-test</id>
328 <phase>post-integration-test</phase>
329 <goals>
330 <goal>report</goal>
331 </goals>
332 <configuration>
333 <!-- Sets the path to the file which contains the execution data. -->
334 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
335 <!-- Sets the output directory for the code coverage report. -->
336 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
337 </configuration>
338 </execution>
339 <execution>
340 <id>default-prepare-agent</id>
341 <goals>
342 <goal>prepare-agent</goal>
343 </goals>
344 </execution>
345 <execution>
346 <id>default-report</id>
347 <phase>prepare-package</phase>
348 <goals>
349 <goal>report</goal>
350 </goals>
351 </execution>
352 <execution>
353 <id>default-check</id>
354 <goals>
355 <goal>check</goal>
356 </goals>
357 <configuration>
358 <rules>
359 <rule>
360 <element>PACKAGE</element>
361 <limits>
362 <limit>
363 <counter>COMPLEXITY</counter>
364 <value>COVEREDRATIO</value>
365 <minimum>0.0</minimum>
366 </limit>
367 </limits>
368 </rule>
369 </rules>
370 </configuration>
371 </execution>
372 </executions>
373 </plugin>
Timoney, Dan (dt5972)0586da42019-07-17 10:43:14 -0400374 <plugin>
375 <groupId>org.codehaus.mojo</groupId>
376 <artifactId>versions-maven-plugin</artifactId>
377 <version>2.5</version>
378 <configuration>
379 <processAllModules>true</processAllModules>
380 </configuration>
381 </plugin>
382 </plugins>
383 </build>
Timoney, Dan (dt5972)008b52b2019-12-06 09:10:09 -0500384
385 <profiles>
386 <profile>
387 <id>sonar-jacoco-aggregate</id>
388 <activation>
389 <property>
390 <name>onap.jacoco.aggregateFile</name>
391 </property>
392 </activation>
393 <build>
394 <plugins>
395 <plugin>
396 <groupId>org.jacoco</groupId>
397 <artifactId>jacoco-maven-plugin</artifactId>
398 <executions>
399 <execution>
400 <id>merge</id>
401 <goals>
402 <goal>merge</goal>
403 </goals>
404 <phase>generate-resources</phase>
405 <configuration>
406 <destFile>${onap.jacoco.aggregateFile}</destFile>
407 <fileSets>
408 <fileSet>
409 <directory>${project.basedir}</directory>
410 <includes>
411 <include>**/target/code-coverage/*.exec</include>
412 </includes>
413 </fileSet>
414 </fileSets>
415 </configuration>
416 </execution>
417 </executions>
418 </plugin>
419 </plugins>
420 </build>
421 </profile>
422 </profiles>
Timoney, Dan (dt5972)1d5b9fd2019-05-09 10:06:50 -0400423</project>