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.0-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>
58 <mariadb.connector.version>2.1.1</mariadb.connector.version>
59 <fasterxml.jackson.version>2.10.0</fasterxml.jackson.version>
60 <velocity.version>2.0</velocity.version>
62 <dmaap.listener.version>1.1.5</dmaap.listener.version>
63 <sdc.client.version>1.4.1</sdc.client.version>
64 <sdc.tosca.version>1.6.5</sdc.tosca.version>
66 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
70 <dependencyManagement>
73 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
74 <artifactId>sdc-distribution-client</artifactId>
75 <version>${sdc.client.version}</version>
76 <scope>compile</scope>
79 <groupId>org.onap.sdc.sdc-tosca</groupId>
80 <artifactId>sdc-tosca</artifactId>
81 <version>${sdc.tosca.version}</version>
82 <scope>compile</scope>
85 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
86 <artifactId>dmaapClient</artifactId>
87 <version>${dmaap.listener.version}</version>
90 <groupId>org.slf4j</groupId>
91 <artifactId>slf4j-api</artifactId>
92 <version>1.7.21</version>
95 <groupId>org.apache.logging.log4j</groupId>
96 <artifactId>log4j-slf4j-impl</artifactId>
97 <version>2.11.2</version>
100 <groupId>com.fasterxml.jackson.core</groupId>
101 <artifactId>jackson-core</artifactId>
102 <version>${fasterxml.jackson.version}</version>
105 <groupId>com.fasterxml.jackson.core</groupId>
106 <artifactId>jackson-databind</artifactId>
107 <version>${fasterxml.jackson.version}</version>
110 <groupId>com.fasterxml.jackson.core</groupId>
111 <artifactId>jackson-annotations</artifactId>
112 <version>${fasterxml.jackson.version}</version>
115 <groupId>org.apache.velocity</groupId>
116 <artifactId>velocity-engine-core</artifactId>
117 <version>${velocity.version}</version>
120 <groupId>junit</groupId>
121 <artifactId>junit</artifactId>
122 <version>4.12</version>
126 <groupId>org.mockito</groupId>
127 <artifactId>mockito-core</artifactId>
128 <version>1.10.19</version>
132 <groupId>org.testng</groupId>
133 <artifactId>testng</artifactId>
134 <version>6.11</version>
138 <groupId>ch.vorburger.mariaDB4j</groupId>
139 <artifactId>mariaDB4j</artifactId>
140 <version>2.2.3</version>
144 </dependencyManagement>
149 <url>https://nexus.onap.org/content/groups/public</url>
151 <enabled>true</enabled>
152 <updatePolicy>never</updatePolicy>
155 <enabled>true</enabled>
156 <updatePolicy>always</updatePolicy>
160 <id>onap-staging</id>
161 <url>https://nexus.onap.org/content/groups/staging</url>
163 <enabled>true</enabled>
164 <updatePolicy>never</updatePolicy>
167 <enabled>true</enabled>
168 <updatePolicy>always</updatePolicy>
172 <id>ecomp-release</id>
173 <name>onap-repository-releases</name>
174 <url>https://nexus.onap.org/content/repositories/releases</url>
176 <enabled>true</enabled>
177 <updatePolicy>never</updatePolicy>
180 <enabled>false</enabled>
184 <id>ecomp-snapshot</id>
185 <name>onap-repository-snapshots</name>
186 <url>https://nexus.onap.org/content/repositories/snapshots</url>
188 <enabled>false</enabled>
191 <enabled>true</enabled>
200 <groupId>org.apache.maven.plugins</groupId>
201 <artifactId>maven-deploy-plugin</artifactId>
202 <!-- This version supports the "deployAtEnd" parameter -->
203 <version>2.8</version>
206 <deployAtEnd>true</deployAtEnd>
210 <groupId>com.github.ferstl</groupId>
211 <artifactId>depgraph-maven-plugin</artifactId>
212 <version>3.3.0</version>
214 <graphFormat>text</graphFormat>
215 <outputFileName>${dependency-list.file}</outputFileName>
216 <outputDirectory>${project.basedir}</outputDirectory>
217 <transitiveExcludes>*</transitiveExcludes>
218 <showVersions>true</showVersions>
219 <showGroupIds>true</showGroupIds>
225 <!-- Jacoco / Sonar -->
227 <groupId>org.jacoco</groupId>
228 <artifactId>jacoco-maven-plugin</artifactId>
229 <version>${jacoco.version}</version>
232 <id>pre-unit-test</id>
234 <goal>prepare-agent</goal>
237 <!-- Sets the path to the file which contains the execution data. -->
238 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
239 <!-- Sets the name of the property containing the settings for JaCoCo
241 <propertyName>surefireArgLine</propertyName>
244 <!-- Ensures that the code coverage report for unit tests is created
245 after unit tests have been run. -->
247 <id>post-unit-test</id>
253 <!-- Sets the path to the file which contains the execution data. -->
254 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
255 <!-- Sets the output directory for the code coverage report. -->
256 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
260 <id>pre-integration-test</id>
261 <phase>pre-integration-test</phase>
263 <goal>prepare-agent</goal>
266 <!-- Sets the path to the file which contains the execution data. -->
267 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
268 <!-- Sets the name of the property containing the settings for JaCoCo
270 <propertyName>failsafeArgLine</propertyName>
273 <!-- Ensures that the code coverage report for integration tests after
274 integration tests have been run. -->
276 <id>post-integration-test</id>
277 <phase>post-integration-test</phase>
282 <!-- Sets the path to the file which contains the execution data. -->
283 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
284 <!-- Sets the output directory for the code coverage report. -->
285 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
289 <id>default-prepare-agent</id>
291 <goal>prepare-agent</goal>
295 <id>default-report</id>
296 <phase>prepare-package</phase>
302 <id>default-check</id>
309 <element>PACKAGE</element>
312 <counter>COMPLEXITY</counter>
313 <value>COVEREDRATIO</value>
314 <minimum>0.0</minimum>
324 <groupId>org.codehaus.mojo</groupId>
325 <artifactId>versions-maven-plugin</artifactId>
326 <version>2.5</version>
328 <processAllModules>true</processAllModules>
336 <id>sonar-jacoco-aggregate</id>
339 <name>onap.jacoco.aggregateFile</name>
345 <groupId>org.jacoco</groupId>
346 <artifactId>jacoco-maven-plugin</artifactId>
353 <phase>generate-resources</phase>
355 <destFile>${onap.jacoco.aggregateFile}</destFile>
358 <directory>${project.basedir}</directory>
360 <include>**/target/code-coverage/*.exec</include>