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.4.4</mariadb.connector.version>
59 <fasterxml.jackson.version>2.10.5</fasterxml.jackson.version>
60 <velocity.version>2.0</velocity.version>
61 <dmaap.listener.version>1.1.12</dmaap.listener.version>
62 <sdc.client.version>1.4.1</sdc.client.version>
63 <sdc.tosca.version>1.6.5</sdc.tosca.version>
65 <dependency-list.file>direct-dependencies.txt</dependency-list.file>
68 <dependencyManagement>
71 <groupId>org.onap.sdc.sdc-distribution-client</groupId>
72 <artifactId>sdc-distribution-client</artifactId>
73 <version>${sdc.client.version}</version>
74 <scope>compile</scope>
77 <groupId>org.onap.sdc.sdc-tosca</groupId>
78 <artifactId>sdc-tosca</artifactId>
79 <version>${sdc.tosca.version}</version>
80 <scope>compile</scope>
83 <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
84 <artifactId>dmaapClient</artifactId>
85 <version>${dmaap.listener.version}</version>
88 <groupId>org.slf4j</groupId>
89 <artifactId>slf4j-api</artifactId>
90 <version>1.7.28</version>
93 <groupId>org.apache.logging.log4j</groupId>
94 <artifactId>log4j-slf4j-impl</artifactId>
95 <version>2.11.2</version>
98 <groupId>com.fasterxml.jackson.core</groupId>
99 <artifactId>jackson-core</artifactId>
100 <version>${fasterxml.jackson.version}</version>
103 <groupId>com.fasterxml.jackson.core</groupId>
104 <artifactId>jackson-databind</artifactId>
105 <version>${fasterxml.jackson.version}</version>
108 <groupId>com.fasterxml.jackson.core</groupId>
109 <artifactId>jackson-annotations</artifactId>
110 <version>${fasterxml.jackson.version}</version>
113 <groupId>org.apache.velocity</groupId>
114 <artifactId>velocity-engine-core</artifactId>
115 <version>${velocity.version}</version>
118 <groupId>junit</groupId>
119 <artifactId>junit</artifactId>
120 <version>4.12</version>
124 <groupId>org.mockito</groupId>
125 <artifactId>mockito-core</artifactId>
126 <version>1.10.19</version>
130 <groupId>org.testng</groupId>
131 <artifactId>testng</artifactId>
132 <version>6.11</version>
136 <groupId>ch.vorburger.mariaDB4j</groupId>
137 <artifactId>mariaDB4j</artifactId>
138 <version>2.2.3</version>
142 </dependencyManagement>
147 <url>https://nexus.onap.org/content/groups/public</url>
149 <enabled>true</enabled>
150 <updatePolicy>never</updatePolicy>
153 <enabled>true</enabled>
154 <updatePolicy>always</updatePolicy>
158 <id>onap-staging</id>
159 <url>https://nexus.onap.org/content/groups/staging</url>
161 <enabled>true</enabled>
162 <updatePolicy>never</updatePolicy>
165 <enabled>true</enabled>
166 <updatePolicy>always</updatePolicy>
170 <id>ecomp-release</id>
171 <name>onap-repository-releases</name>
172 <url>https://nexus.onap.org/content/repositories/releases</url>
174 <enabled>true</enabled>
175 <updatePolicy>never</updatePolicy>
178 <enabled>false</enabled>
182 <id>ecomp-snapshot</id>
183 <name>onap-repository-snapshots</name>
184 <url>https://nexus.onap.org/content/repositories/snapshots</url>
186 <enabled>false</enabled>
189 <enabled>true</enabled>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-deploy-plugin</artifactId>
200 <!-- This version supports the "deployAtEnd" parameter -->
201 <version>2.8</version>
204 <deployAtEnd>true</deployAtEnd>
208 <groupId>com.github.ferstl</groupId>
209 <artifactId>depgraph-maven-plugin</artifactId>
210 <version>3.3.0</version>
212 <graphFormat>text</graphFormat>
213 <outputFileName>${dependency-list.file}</outputFileName>
214 <outputDirectory>${project.basedir}</outputDirectory>
215 <transitiveExcludes>*</transitiveExcludes>
216 <showVersions>true</showVersions>
217 <showGroupIds>true</showGroupIds>
223 <!-- Jacoco / Sonar -->
225 <groupId>org.jacoco</groupId>
226 <artifactId>jacoco-maven-plugin</artifactId>
227 <version>${jacoco.version}</version>
230 <id>pre-unit-test</id>
232 <goal>prepare-agent</goal>
235 <!-- Sets the path to the file which contains the execution data. -->
236 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
237 <!-- Sets the name of the property containing the settings for JaCoCo
239 <propertyName>surefireArgLine</propertyName>
242 <!-- Ensures that the code coverage report for unit tests is created
243 after unit tests have been run. -->
245 <id>post-unit-test</id>
251 <!-- Sets the path to the file which contains the execution data. -->
252 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
253 <!-- Sets the output directory for the code coverage report. -->
254 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
258 <id>pre-integration-test</id>
259 <phase>pre-integration-test</phase>
261 <goal>prepare-agent</goal>
264 <!-- Sets the path to the file which contains the execution data. -->
265 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
266 <!-- Sets the name of the property containing the settings for JaCoCo
268 <propertyName>failsafeArgLine</propertyName>
271 <!-- Ensures that the code coverage report for integration tests after
272 integration tests have been run. -->
274 <id>post-integration-test</id>
275 <phase>post-integration-test</phase>
280 <!-- Sets the path to the file which contains the execution data. -->
281 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
282 <!-- Sets the output directory for the code coverage report. -->
283 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
287 <id>default-prepare-agent</id>
289 <goal>prepare-agent</goal>
293 <id>default-report</id>
294 <phase>prepare-package</phase>
300 <id>default-check</id>
307 <element>PACKAGE</element>
310 <counter>COMPLEXITY</counter>
311 <value>COVEREDRATIO</value>
312 <minimum>0.0</minimum>
322 <groupId>org.codehaus.mojo</groupId>
323 <artifactId>versions-maven-plugin</artifactId>
324 <version>2.5</version>
326 <processAllModules>true</processAllModules>
334 <id>sonar-jacoco-aggregate</id>
337 <name>onap.jacoco.aggregateFile</name>
343 <groupId>org.jacoco</groupId>
344 <artifactId>jacoco-maven-plugin</artifactId>
351 <phase>generate-resources</phase>
353 <destFile>${onap.jacoco.aggregateFile}</destFile>
356 <directory>${project.basedir}</directory>
358 <include>**/target/code-coverage/*.exec</include>