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.0.1</version>
12 <groupId>org.onap.ccsdk.parent</groupId>
13 <artifactId>standalone-parent</artifactId>
14 <version>2.1.0</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>
30 <!-- Sonar properties -->
31 <sonar.scanner.version>3.7.0.1746</sonar.scanner.version>
32 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
33 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
34 <!-- Default Sonar configuration -->
35 <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml,${project.reporting.outputDirectory}/jacoco-it/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
36 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
37 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
39 <!-- Jacoco properties -->
40 <jacoco.version>0.8.5</jacoco.version>
41 <!-- ONAP repositories -->
42 <onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
43 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
44 <onap.nexus.port>443</onap.nexus.port>
45 <onap.nexus.protocol>https</onap.nexus.protocol>
46 <onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
47 <onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
48 <onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
49 <onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
50 <onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
51 <onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>
53 <java.version.source>1.8</java.version.source>
54 <java.version.target>1.8</java.version.target>
55 <bundle.plugin.version>2.5.0</bundle.plugin.version>
56 <checkstyle.skip>true</checkstyle.skip>
59 <mariadb.connector.version>2.1.1</mariadb.connector.version>
60 <fasterxml.jackson.version>2.10.0</fasterxml.jackson.version>
61 <velocity.version>2.0</velocity.version>
63 <dmaap.listener.version>1.1.5</dmaap.listener.version>
64 <sdc.client.version>1.4.1</sdc.client.version>
65 <sdc.tosca.version>1.6.5</sdc.tosca.version>
67 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
71 <dependencyManagement>
74 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
75 <artifactId>sdc-distribution-client</artifactId>
76 <version>${sdc.client.version}</version>
77 <scope>compile</scope>
80 <groupId>org.onap.sdc.sdc-tosca</groupId>
81 <artifactId>sdc-tosca</artifactId>
82 <version>${sdc.tosca.version}</version>
83 <scope>compile</scope>
86 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
87 <artifactId>dmaapClient</artifactId>
88 <version>${dmaap.listener.version}</version>
91 <groupId>org.slf4j</groupId>
92 <artifactId>slf4j-api</artifactId>
93 <version>1.7.21</version>
96 <groupId>org.apache.logging.log4j</groupId>
97 <artifactId>log4j-slf4j-impl</artifactId>
98 <version>2.11.2</version>
101 <groupId>com.fasterxml.jackson.core</groupId>
102 <artifactId>jackson-core</artifactId>
103 <version>${fasterxml.jackson.version}</version>
106 <groupId>com.fasterxml.jackson.core</groupId>
107 <artifactId>jackson-databind</artifactId>
108 <version>${fasterxml.jackson.version}</version>
111 <groupId>com.fasterxml.jackson.core</groupId>
112 <artifactId>jackson-annotations</artifactId>
113 <version>${fasterxml.jackson.version}</version>
116 <groupId>org.apache.velocity</groupId>
117 <artifactId>velocity-engine-core</artifactId>
118 <version>${velocity.version}</version>
121 <groupId>junit</groupId>
122 <artifactId>junit</artifactId>
123 <version>4.12</version>
127 <groupId>org.mockito</groupId>
128 <artifactId>mockito-core</artifactId>
129 <version>1.10.19</version>
133 <groupId>org.testng</groupId>
134 <artifactId>testng</artifactId>
135 <version>6.11</version>
139 <groupId>ch.vorburger.mariaDB4j</groupId>
140 <artifactId>mariaDB4j</artifactId>
141 <version>2.2.3</version>
145 </dependencyManagement>
150 <url>https://nexus.onap.org/content/groups/public</url>
152 <enabled>true</enabled>
153 <updatePolicy>never</updatePolicy>
156 <enabled>true</enabled>
157 <updatePolicy>always</updatePolicy>
161 <id>onap-staging</id>
162 <url>https://nexus.onap.org/content/groups/staging</url>
164 <enabled>true</enabled>
165 <updatePolicy>never</updatePolicy>
168 <enabled>true</enabled>
169 <updatePolicy>always</updatePolicy>
173 <id>ecomp-release</id>
174 <name>onap-repository-releases</name>
175 <url>https://nexus.onap.org/content/repositories/releases</url>
177 <enabled>true</enabled>
178 <updatePolicy>never</updatePolicy>
181 <enabled>false</enabled>
185 <id>ecomp-snapshot</id>
186 <name>onap-repository-snapshots</name>
187 <url>https://nexus.onap.org/content/repositories/snapshots</url>
189 <enabled>false</enabled>
192 <enabled>true</enabled>
202 <groupId>com.github.ferstl</groupId>
203 <artifactId>depgraph-maven-plugin</artifactId>
204 <version>3.3.0</version>
206 <graphFormat>text</graphFormat>
207 <outputFileName>${dependency-list.file}</outputFileName>
208 <outputDirectory>${project.basedir}</outputDirectory>
209 <transitiveExcludes>*</transitiveExcludes>
210 <showVersions>true</showVersions>
211 <showGroupIds>true</showGroupIds>
217 <!-- Jacoco / Sonar -->
219 <groupId>org.jacoco</groupId>
220 <artifactId>jacoco-maven-plugin</artifactId>
221 <version>${jacoco.version}</version>
224 <id>pre-unit-test</id>
226 <goal>prepare-agent</goal>
229 <!-- Sets the path to the file which contains the execution data. -->
230 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
231 <!-- Sets the name of the property containing the settings for JaCoCo
233 <propertyName>surefireArgLine</propertyName>
236 <!-- Ensures that the code coverage report for unit tests is created
237 after unit tests have been run. -->
239 <id>post-unit-test</id>
245 <!-- Sets the path to the file which contains the execution data. -->
246 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
247 <!-- Sets the output directory for the code coverage report. -->
248 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
252 <id>pre-integration-test</id>
253 <phase>pre-integration-test</phase>
255 <goal>prepare-agent</goal>
258 <!-- Sets the path to the file which contains the execution data. -->
259 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
260 <!-- Sets the name of the property containing the settings for JaCoCo
262 <propertyName>failsafeArgLine</propertyName>
265 <!-- Ensures that the code coverage report for integration tests after
266 integration tests have been run. -->
268 <id>post-integration-test</id>
269 <phase>post-integration-test</phase>
274 <!-- Sets the path to the file which contains the execution data. -->
275 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
276 <!-- Sets the output directory for the code coverage report. -->
277 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
281 <id>default-prepare-agent</id>
283 <goal>prepare-agent</goal>
287 <id>default-report</id>
288 <phase>prepare-package</phase>
294 <id>default-check</id>
301 <element>PACKAGE</element>
304 <counter>COMPLEXITY</counter>
305 <value>COVEREDRATIO</value>
306 <minimum>0.0</minimum>
316 <groupId>org.codehaus.mojo</groupId>
317 <artifactId>versions-maven-plugin</artifactId>
318 <version>2.5</version>
320 <processAllModules>true</processAllModules>
328 <id>sonar-jacoco-aggregate</id>
331 <name>onap.jacoco.aggregateFile</name>
337 <groupId>org.jacoco</groupId>
338 <artifactId>jacoco-maven-plugin</artifactId>
345 <phase>generate-resources</phase>
347 <destFile>${onap.jacoco.aggregateFile}</destFile>
350 <directory>${project.basedir}</directory>
352 <include>**/target/code-coverage/*.exec</include>