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>2.0.0</version>
12 <groupId>org.onap.ccsdk.parent</groupId>
13 <artifactId>standalone-parent</artifactId>
14 <version>1.5.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>
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.9.8</fasterxml.jackson.version>
61 <fasterxml.jackson.databind.version>2.9.9.3</fasterxml.jackson.databind.version>
62 <velocity.version>2.0</velocity.version>
64 <dmaap.listener.version>1.1.5</dmaap.listener.version>
65 <sdc.client.version>1.4.0</sdc.client.version>
66 <sdc.tosca.version>1.6.3</sdc.tosca.version>
68 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
72 <dependencyManagement>
75 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
76 <artifactId>sdc-distribution-client</artifactId>
77 <version>${sdc.client.version}</version>
78 <scope>compile</scope>
81 <groupId>org.onap.sdc.sdc-tosca</groupId>
82 <artifactId>sdc-tosca</artifactId>
83 <version>${sdc.tosca.version}</version>
84 <scope>compile</scope>
87 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
88 <artifactId>dmaapClient</artifactId>
89 <version>${dmaap.listener.version}</version>
92 <groupId>org.slf4j</groupId>
93 <artifactId>slf4j-api</artifactId>
94 <version>1.7.21</version>
97 <groupId>org.apache.logging.log4j</groupId>
98 <artifactId>log4j-slf4j-impl</artifactId>
99 <version>2.11.2</version>
102 <groupId>com.fasterxml.jackson.core</groupId>
103 <artifactId>jackson-core</artifactId>
104 <version>${fasterxml.jackson.version}</version>
107 <groupId>com.fasterxml.jackson.core</groupId>
108 <artifactId>jackson-databind</artifactId>
109 <version>${fasterxml.jackson.databind.version}</version>
112 <groupId>com.fasterxml.jackson.core</groupId>
113 <artifactId>jackson-annotations</artifactId>
114 <version>${fasterxml.jackson.version}</version>
117 <groupId>org.apache.velocity</groupId>
118 <artifactId>velocity-engine-core</artifactId>
119 <version>${velocity.version}</version>
122 <groupId>junit</groupId>
123 <artifactId>junit</artifactId>
124 <version>4.12</version>
128 <groupId>org.mockito</groupId>
129 <artifactId>mockito-core</artifactId>
130 <version>1.10.19</version>
134 <groupId>org.testng</groupId>
135 <artifactId>testng</artifactId>
136 <version>6.11</version>
140 <groupId>ch.vorburger.mariaDB4j</groupId>
141 <artifactId>mariaDB4j</artifactId>
142 <version>2.2.3</version>
146 </dependencyManagement>
151 <url>https://nexus.onap.org/content/groups/public</url>
153 <enabled>true</enabled>
154 <updatePolicy>never</updatePolicy>
157 <enabled>true</enabled>
158 <updatePolicy>always</updatePolicy>
162 <id>onap-staging</id>
163 <url>https://nexus.onap.org/content/groups/staging</url>
165 <enabled>true</enabled>
166 <updatePolicy>never</updatePolicy>
169 <enabled>true</enabled>
170 <updatePolicy>always</updatePolicy>
174 <id>ecomp-release</id>
175 <name>onap-repository-releases</name>
176 <url>https://nexus.onap.org/content/repositories/releases</url>
178 <enabled>true</enabled>
179 <updatePolicy>never</updatePolicy>
182 <enabled>false</enabled>
186 <id>ecomp-snapshot</id>
187 <name>onap-repository-snapshots</name>
188 <url>https://nexus.onap.org/content/repositories/snapshots</url>
190 <enabled>false</enabled>
193 <enabled>true</enabled>
203 <groupId>com.github.ferstl</groupId>
204 <artifactId>depgraph-maven-plugin</artifactId>
205 <version>3.3.0</version>
207 <graphFormat>text</graphFormat>
208 <outputFileName>${dependency-list.file}</outputFileName>
209 <outputDirectory>${project.basedir}</outputDirectory>
210 <transitiveExcludes>*</transitiveExcludes>
211 <showVersions>true</showVersions>
212 <showGroupIds>true</showGroupIds>
218 <!-- Jacoco / Sonar -->
220 <groupId>org.jacoco</groupId>
221 <artifactId>jacoco-maven-plugin</artifactId>
222 <version>${jacoco.version}</version>
225 <id>pre-unit-test</id>
227 <goal>prepare-agent</goal>
230 <!-- Sets the path to the file which contains the execution data. -->
231 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
232 <!-- Sets the name of the property containing the settings for JaCoCo
234 <propertyName>surefireArgLine</propertyName>
237 <!-- Ensures that the code coverage report for unit tests is created
238 after unit tests have been run. -->
240 <id>post-unit-test</id>
246 <!-- Sets the path to the file which contains the execution data. -->
247 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
248 <!-- Sets the output directory for the code coverage report. -->
249 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
253 <id>pre-integration-test</id>
254 <phase>pre-integration-test</phase>
256 <goal>prepare-agent</goal>
259 <!-- Sets the path to the file which contains the execution data. -->
260 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
261 <!-- Sets the name of the property containing the settings for JaCoCo
263 <propertyName>failsafeArgLine</propertyName>
266 <!-- Ensures that the code coverage report for integration tests after
267 integration tests have been run. -->
269 <id>post-integration-test</id>
270 <phase>post-integration-test</phase>
275 <!-- Sets the path to the file which contains the execution data. -->
276 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
277 <!-- Sets the output directory for the code coverage report. -->
278 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
282 <id>default-prepare-agent</id>
284 <goal>prepare-agent</goal>
288 <id>default-report</id>
289 <phase>prepare-package</phase>
295 <id>default-check</id>
302 <element>PACKAGE</element>
305 <counter>COMPLEXITY</counter>
306 <value>COVEREDRATIO</value>
307 <minimum>0.0</minimum>
317 <groupId>org.codehaus.mojo</groupId>
318 <artifactId>versions-maven-plugin</artifactId>
319 <version>2.5</version>
321 <processAllModules>true</processAllModules>
329 <id>sonar-jacoco-aggregate</id>
332 <name>onap.jacoco.aggregateFile</name>
338 <groupId>org.jacoco</groupId>
339 <artifactId>jacoco-maven-plugin</artifactId>
346 <phase>generate-resources</phase>
348 <destFile>${onap.jacoco.aggregateFile}</destFile>
351 <directory>${project.basedir}</directory>
353 <include>**/target/code-coverage/*.exec</include>