1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.onap.oparent</groupId>
7 <artifactId>oparent</artifactId>
8 <version>3.1.0</version>
12 <groupId>org.onap.ccsdk.parent</groupId>
13 <artifactId>standalone-parent</artifactId>
14 <version>2.2.2-SNAPSHOT</version>
15 <packaging>pom</packaging>
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>
26 <url>https://jira.onap.org/</url>
28 <distributionManagement>
30 <id>ecomp-releases</id>
31 <url>${onap.nexus.release-url}</url>
34 <id>ecomp-snapshots</id>
35 <url>${onap.nexus.snapshot-url}</url>
37 </distributionManagement>
40 <!-- 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>
49 <!-- Jacoco properties -->
50 <jacoco.version>0.8.5</jacoco.version>
51 <!-- 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>
63 <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>
68 <mariadb.connector.version>2.7.2</mariadb.connector.version>
69 <fasterxml.jackson.version>2.12.4</fasterxml.jackson.version>
70 <velocity.version>2.3</velocity.version>
71 <dmaap.listener.version>1.1.12</dmaap.listener.version>
72 <sdc.client.version>1.4.1</sdc.client.version>
73 <sdc.tosca.version>1.6.5</sdc.tosca.version>
75 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
78 <dependencyManagement>
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>
87 <groupId>org.onap.sdc.sdc-tosca</groupId>
88 <artifactId>sdc-tosca</artifactId>
89 <version>${sdc.tosca.version}</version>
90 <scope>compile</scope>
93 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
94 <artifactId>dmaapClient</artifactId>
95 <version>${dmaap.listener.version}</version>
98 <groupId>org.slf4j</groupId>
99 <artifactId>slf4j-api</artifactId>
100 <version>1.7.29</version>
103 <groupId>org.apache.logging.log4j</groupId>
104 <artifactId>log4j-slf4j-impl</artifactId>
105 <version>2.11.2</version>
108 <groupId>com.fasterxml.jackson.core</groupId>
109 <artifactId>jackson-core</artifactId>
110 <version>${fasterxml.jackson.version}</version>
113 <groupId>com.fasterxml.jackson.core</groupId>
114 <artifactId>jackson-databind</artifactId>
115 <version>${fasterxml.jackson.version}</version>
118 <groupId>com.fasterxml.jackson.core</groupId>
119 <artifactId>jackson-annotations</artifactId>
120 <version>${fasterxml.jackson.version}</version>
123 <groupId>org.apache.velocity</groupId>
124 <artifactId>velocity-engine-core</artifactId>
125 <version>${velocity.version}</version>
128 <groupId>junit</groupId>
129 <artifactId>junit</artifactId>
130 <version>4.13.2</version>
134 <groupId>org.mockito</groupId>
135 <artifactId>mockito-core</artifactId>
136 <version>1.10.19</version>
140 <groupId>org.testng</groupId>
141 <artifactId>testng</artifactId>
142 <version>6.11</version>
146 <groupId>ch.vorburger.mariaDB4j</groupId>
147 <artifactId>mariaDB4j</artifactId>
148 <version>2.2.3</version>
152 </dependencyManagement>
157 <url>${onap.nexus.public-url}</url>
159 <enabled>true</enabled>
160 <updatePolicy>never</updatePolicy>
163 <enabled>true</enabled>
164 <updatePolicy>always</updatePolicy>
168 <id>onap-staging</id>
169 <url>${onap.nexus.staging-url}</url>
171 <enabled>true</enabled>
172 <updatePolicy>never</updatePolicy>
175 <enabled>true</enabled>
176 <updatePolicy>always</updatePolicy>
180 <id>ecomp-release</id>
181 <name>onap-repository-releases</name>
182 <url>${onap.nexus.release-url}</url>
184 <enabled>true</enabled>
185 <updatePolicy>never</updatePolicy>
188 <enabled>false</enabled>
192 <id>ecomp-snapshot</id>
193 <name>onap-repository-snapshots</name>
194 <url>${onap.nexus.snapshot-url}</url>
196 <enabled>false</enabled>
199 <enabled>true</enabled>
206 <url>${onap.nexus.public-url}</url>
208 <enabled>true</enabled>
211 <enabled>true</enabled>
215 <id>onap-staging</id>
216 <url>${onap.nexus.staging-url}</url>
218 <enabled>true</enabled>
221 <enabled>true</enabled>
225 <id>onap-snapshot</id>
226 <url>${onap.nexus.snapshot-url}</url>
228 <enabled>false</enabled>
231 <enabled>true</enabled>
234 <!-- Black Duck plugin dependencies -->
237 <name>JCenter Repository</name>
238 <url>http://jcenter.bintray.com</url>
242 <name>Restlet Repository</name>
243 <url>http://maven.restlet.com</url>
245 </pluginRepositories>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-deploy-plugin</artifactId>
253 <!-- This version supports the "deployAtEnd" parameter -->
254 <version>2.8</version>
257 <deployAtEnd>true</deployAtEnd>
261 <groupId>com.github.ferstl</groupId>
262 <artifactId>depgraph-maven-plugin</artifactId>
263 <version>3.3.0</version>
265 <graphFormat>text</graphFormat>
266 <outputFileName>${dependency-list.file}</outputFileName>
267 <outputDirectory>${project.basedir}</outputDirectory>
268 <transitiveExcludes>*</transitiveExcludes>
269 <showVersions>true</showVersions>
270 <showGroupIds>true</showGroupIds>
276 <!-- Jacoco / Sonar -->
278 <groupId>org.jacoco</groupId>
279 <artifactId>jacoco-maven-plugin</artifactId>
280 <version>${jacoco.version}</version>
283 <id>pre-unit-test</id>
285 <goal>prepare-agent</goal>
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
292 <propertyName>surefireArgLine</propertyName>
295 <!-- Ensures that the code coverage report for unit tests is created
296 after unit tests have been run. -->
298 <id>post-unit-test</id>
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>
311 <id>pre-integration-test</id>
312 <phase>pre-integration-test</phase>
314 <goal>prepare-agent</goal>
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
321 <propertyName>failsafeArgLine</propertyName>
324 <!-- Ensures that the code coverage report for integration tests after
325 integration tests have been run. -->
327 <id>post-integration-test</id>
328 <phase>post-integration-test</phase>
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>
340 <id>default-prepare-agent</id>
342 <goal>prepare-agent</goal>
346 <id>default-report</id>
347 <phase>prepare-package</phase>
353 <id>default-check</id>
360 <element>PACKAGE</element>
363 <counter>COMPLEXITY</counter>
364 <value>COVEREDRATIO</value>
365 <minimum>0.0</minimum>
375 <groupId>org.codehaus.mojo</groupId>
376 <artifactId>versions-maven-plugin</artifactId>
377 <version>2.5</version>
379 <processAllModules>true</processAllModules>
387 <id>sonar-jacoco-aggregate</id>
390 <name>onap.jacoco.aggregateFile</name>
396 <groupId>org.jacoco</groupId>
397 <artifactId>jacoco-maven-plugin</artifactId>
404 <phase>generate-resources</phase>
406 <destFile>${onap.jacoco.aggregateFile}</destFile>
409 <directory>${project.basedir}</directory>
411 <include>**/target/code-coverage/*.exec</include>