Timoney, Dan (dt5972) | 1d5b9fd | 2019-05-09 10:06:50 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 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"> |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 3 | <modelVersion>4.0.0</modelVersion> |
Timoney, Dan (dt5972) | 1d5b9fd | 2019-05-09 10:06:50 -0400 | [diff] [blame] | 4 | |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 5 | <parent> |
| 6 | <groupId>org.onap.oparent</groupId> |
| 7 | <artifactId>oparent</artifactId> |
| 8 | <version>2.0.0</version> |
Singal, Kapil (ks220y) | f15762d | 2019-12-03 10:48:17 -0500 | [diff] [blame] | 9 | <relativePath/> |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 10 | </parent> |
Timoney, Dan (dt5972) | 1d5b9fd | 2019-05-09 10:06:50 -0400 | [diff] [blame] | 11 | |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 12 | <groupId>org.onap.ccsdk.parent</groupId> |
| 13 | <artifactId>standalone-parent</artifactId> |
Dan Timoney | d06b615 | 2020-03-04 10:58:59 -0500 | [diff] [blame^] | 14 | <version>1.5.3-SNAPSHOT</version> |
Singal, Kapil (ks220y) | 2e8a4da | 2019-10-01 22:31:50 -0400 | [diff] [blame] | 15 | <packaging>pom</packaging> |
| 16 | |
| 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> |
| 20 | <organization> |
| 21 | <name>ONAP</name> |
| 22 | </organization> |
| 23 | |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 24 | <issueManagement> |
| 25 | <system>JIRA</system> |
| 26 | <url>https://jira.onap.org/</url> |
| 27 | </issueManagement> |
Timoney, Dan (dt5972) | 1d5b9fd | 2019-05-09 10:06:50 -0400 | [diff] [blame] | 28 | |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 29 | <properties> |
Dan Timoney | 017e0b3 | 2020-01-20 10:57:59 -0500 | [diff] [blame] | 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> |
Timoney, Dan (dt5972) | 1d5b9fd | 2019-05-09 10:06:50 -0400 | [diff] [blame] | 38 | |
Dan Timoney | 017e0b3 | 2020-01-20 10:57:59 -0500 | [diff] [blame] | 39 | <!-- Jacoco properties --> |
| 40 | <jacoco.version>0.8.5</jacoco.version> |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 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> |
Timoney, Dan (dt5972) | 1d5b9fd | 2019-05-09 10:06:50 -0400 | [diff] [blame] | 52 | |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 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> |
Timoney, Dan (dt5972) | 1d5b9fd | 2019-05-09 10:06:50 -0400 | [diff] [blame] | 57 | |
Timoney, Dan (dt5972) | 1d5b9fd | 2019-05-09 10:06:50 -0400 | [diff] [blame] | 58 | |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 59 | <mariadb.connector.version>2.1.1</mariadb.connector.version> |
lalena.aria | 400f2e4 | 2020-02-27 15:54:19 +0000 | [diff] [blame] | 60 | <fasterxml.jackson.version>2.10.0</fasterxml.jackson.version> |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 61 | <velocity.version>2.0</velocity.version> |
Timoney, Dan (dt5972) | 1d5b9fd | 2019-05-09 10:06:50 -0400 | [diff] [blame] | 62 | |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 63 | <dmaap.listener.version>1.1.5</dmaap.listener.version> |
lalena.aria | 826ef89 | 2019-08-14 19:42:18 +0000 | [diff] [blame] | 64 | <sdc.client.version>1.4.0</sdc.client.version> |
Agarwal, Ruchira (ra1926) | e9dc0f4 | 2019-10-17 16:02:36 +0000 | [diff] [blame] | 65 | <sdc.tosca.version>1.6.3</sdc.tosca.version> |
Timoney, Dan (dt5972) | 1d5b9fd | 2019-05-09 10:06:50 -0400 | [diff] [blame] | 66 | |
Timoney, Dan (dt5972) | 94fcbc2 | 2019-12-10 09:18:51 -0500 | [diff] [blame] | 67 | <dependency-list.file>direct-dependencies.txt</dependency-list.file> |
| 68 | |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 69 | </properties> |
Timoney, Dan (dt5972) | 1d5b9fd | 2019-05-09 10:06:50 -0400 | [diff] [blame] | 70 | |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 71 | <dependencyManagement> |
| 72 | <dependencies> |
| 73 | <dependency> |
| 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> |
| 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>org.onap.sdc.sdc-tosca</groupId> |
| 81 | <artifactId>sdc-tosca</artifactId> |
| 82 | <version>${sdc.tosca.version}</version> |
| 83 | <scope>compile</scope> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId> |
| 87 | <artifactId>dmaapClient</artifactId> |
| 88 | <version>${dmaap.listener.version}</version> |
| 89 | </dependency> |
| 90 | <dependency> |
| 91 | <groupId>org.slf4j</groupId> |
| 92 | <artifactId>slf4j-api</artifactId> |
| 93 | <version>1.7.21</version> |
| 94 | </dependency> |
| 95 | <dependency> |
| 96 | <groupId>org.apache.logging.log4j</groupId> |
| 97 | <artifactId>log4j-slf4j-impl</artifactId> |
| 98 | <version>2.11.2</version> |
| 99 | </dependency> |
| 100 | <dependency> |
| 101 | <groupId>com.fasterxml.jackson.core</groupId> |
| 102 | <artifactId>jackson-core</artifactId> |
| 103 | <version>${fasterxml.jackson.version}</version> |
| 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>com.fasterxml.jackson.core</groupId> |
| 107 | <artifactId>jackson-databind</artifactId> |
lalena.aria | 400f2e4 | 2020-02-27 15:54:19 +0000 | [diff] [blame] | 108 | <version>${fasterxml.jackson.version}</version> |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>com.fasterxml.jackson.core</groupId> |
| 112 | <artifactId>jackson-annotations</artifactId> |
| 113 | <version>${fasterxml.jackson.version}</version> |
| 114 | </dependency> |
| 115 | <dependency> |
| 116 | <groupId>org.apache.velocity</groupId> |
| 117 | <artifactId>velocity-engine-core</artifactId> |
| 118 | <version>${velocity.version}</version> |
| 119 | </dependency> |
| 120 | <dependency> |
| 121 | <groupId>junit</groupId> |
| 122 | <artifactId>junit</artifactId> |
| 123 | <version>4.12</version> |
| 124 | <scope>test</scope> |
| 125 | </dependency> |
| 126 | <dependency> |
| 127 | <groupId>org.mockito</groupId> |
| 128 | <artifactId>mockito-core</artifactId> |
| 129 | <version>1.10.19</version> |
| 130 | <scope>test</scope> |
| 131 | </dependency> |
| 132 | <dependency> |
| 133 | <groupId>org.testng</groupId> |
| 134 | <artifactId>testng</artifactId> |
| 135 | <version>6.11</version> |
| 136 | <scope>test</scope> |
| 137 | </dependency> |
| 138 | <dependency> |
| 139 | <groupId>ch.vorburger.mariaDB4j</groupId> |
| 140 | <artifactId>mariaDB4j</artifactId> |
| 141 | <version>2.2.3</version> |
| 142 | <scope>test</scope> |
| 143 | </dependency> |
| 144 | </dependencies> |
| 145 | </dependencyManagement> |
| 146 | |
| 147 | <repositories> |
| 148 | <repository> |
| 149 | <id>onap-public</id> |
| 150 | <url>https://nexus.onap.org/content/groups/public</url> |
| 151 | <releases> |
| 152 | <enabled>true</enabled> |
| 153 | <updatePolicy>never</updatePolicy> |
| 154 | </releases> |
| 155 | <snapshots> |
| 156 | <enabled>true</enabled> |
| 157 | <updatePolicy>always</updatePolicy> |
| 158 | </snapshots> |
| 159 | </repository> |
| 160 | <repository> |
| 161 | <id>onap-staging</id> |
| 162 | <url>https://nexus.onap.org/content/groups/staging</url> |
| 163 | <releases> |
| 164 | <enabled>true</enabled> |
| 165 | <updatePolicy>never</updatePolicy> |
| 166 | </releases> |
| 167 | <snapshots> |
| 168 | <enabled>true</enabled> |
| 169 | <updatePolicy>always</updatePolicy> |
| 170 | </snapshots> |
| 171 | </repository> |
| 172 | <repository> |
| 173 | <id>ecomp-release</id> |
| 174 | <name>onap-repository-releases</name> |
| 175 | <url>https://nexus.onap.org/content/repositories/releases</url> |
| 176 | <releases> |
| 177 | <enabled>true</enabled> |
| 178 | <updatePolicy>never</updatePolicy> |
| 179 | </releases> |
| 180 | <snapshots> |
| 181 | <enabled>false</enabled> |
| 182 | </snapshots> |
| 183 | </repository> |
| 184 | <repository> |
| 185 | <id>ecomp-snapshot</id> |
| 186 | <name>onap-repository-snapshots</name> |
| 187 | <url>https://nexus.onap.org/content/repositories/snapshots</url> |
| 188 | <releases> |
| 189 | <enabled>false</enabled> |
| 190 | </releases> |
| 191 | <snapshots> |
| 192 | <enabled>true</enabled> |
| 193 | </snapshots> |
| 194 | </repository> |
| 195 | </repositories> |
Timoney, Dan (dt5972) | 1d5b9fd | 2019-05-09 10:06:50 -0400 | [diff] [blame] | 196 | |
Timoney, Dan (dt5972) | 94fcbc2 | 2019-12-10 09:18:51 -0500 | [diff] [blame] | 197 | |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 198 | <build> |
Timoney, Dan (dt5972) | 94fcbc2 | 2019-12-10 09:18:51 -0500 | [diff] [blame] | 199 | <pluginManagement> |
| 200 | <plugins> |
| 201 | <plugin> |
| 202 | <groupId>com.github.ferstl</groupId> |
| 203 | <artifactId>depgraph-maven-plugin</artifactId> |
| 204 | <version>3.3.0</version> |
| 205 | <configuration> |
| 206 | <graphFormat>text</graphFormat> |
| 207 | <outputFileName>${dependency-list.file}</outputFileName> |
| 208 | <outputDirectory>${project.basedir}</outputDirectory> |
| 209 | <transitiveExcludes>*</transitiveExcludes> |
| 210 | <showVersions>true</showVersions> |
Timoney, Dan (dt5972) | cc0c96a | 2019-12-11 10:04:52 -0500 | [diff] [blame] | 211 | <showGroupIds>true</showGroupIds> |
Timoney, Dan (dt5972) | 94fcbc2 | 2019-12-10 09:18:51 -0500 | [diff] [blame] | 212 | </configuration> |
| 213 | </plugin> |
| 214 | </plugins> |
| 215 | </pluginManagement> |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 216 | <plugins> |
Dan Timoney | 017e0b3 | 2020-01-20 10:57:59 -0500 | [diff] [blame] | 217 | <!-- Jacoco / Sonar --> |
| 218 | <plugin> |
| 219 | <groupId>org.jacoco</groupId> |
| 220 | <artifactId>jacoco-maven-plugin</artifactId> |
| 221 | <version>${jacoco.version}</version> |
| 222 | <executions> |
| 223 | <execution> |
| 224 | <id>pre-unit-test</id> |
| 225 | <goals> |
| 226 | <goal>prepare-agent</goal> |
| 227 | </goals> |
| 228 | <configuration> |
| 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 |
| 232 | runtime agent. --> |
| 233 | <propertyName>surefireArgLine</propertyName> |
| 234 | </configuration> |
| 235 | </execution> |
| 236 | <!-- Ensures that the code coverage report for unit tests is created |
| 237 | after unit tests have been run. --> |
| 238 | <execution> |
| 239 | <id>post-unit-test</id> |
| 240 | <phase>test</phase> |
| 241 | <goals> |
| 242 | <goal>report</goal> |
| 243 | </goals> |
| 244 | <configuration> |
| 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> |
| 249 | </configuration> |
| 250 | </execution> |
| 251 | <execution> |
| 252 | <id>pre-integration-test</id> |
| 253 | <phase>pre-integration-test</phase> |
| 254 | <goals> |
| 255 | <goal>prepare-agent</goal> |
| 256 | </goals> |
| 257 | <configuration> |
| 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 |
| 261 | runtime agent. --> |
| 262 | <propertyName>failsafeArgLine</propertyName> |
| 263 | </configuration> |
| 264 | </execution> |
| 265 | <!-- Ensures that the code coverage report for integration tests after |
| 266 | integration tests have been run. --> |
| 267 | <execution> |
| 268 | <id>post-integration-test</id> |
| 269 | <phase>post-integration-test</phase> |
| 270 | <goals> |
| 271 | <goal>report</goal> |
| 272 | </goals> |
| 273 | <configuration> |
| 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> |
| 278 | </configuration> |
| 279 | </execution> |
| 280 | <execution> |
| 281 | <id>default-prepare-agent</id> |
| 282 | <goals> |
| 283 | <goal>prepare-agent</goal> |
| 284 | </goals> |
| 285 | </execution> |
| 286 | <execution> |
| 287 | <id>default-report</id> |
| 288 | <phase>prepare-package</phase> |
| 289 | <goals> |
| 290 | <goal>report</goal> |
| 291 | </goals> |
| 292 | </execution> |
| 293 | <execution> |
| 294 | <id>default-check</id> |
| 295 | <goals> |
| 296 | <goal>check</goal> |
| 297 | </goals> |
| 298 | <configuration> |
| 299 | <rules> |
| 300 | <rule> |
| 301 | <element>PACKAGE</element> |
| 302 | <limits> |
| 303 | <limit> |
| 304 | <counter>COMPLEXITY</counter> |
| 305 | <value>COVEREDRATIO</value> |
| 306 | <minimum>0.0</minimum> |
| 307 | </limit> |
| 308 | </limits> |
| 309 | </rule> |
| 310 | </rules> |
| 311 | </configuration> |
| 312 | </execution> |
| 313 | </executions> |
| 314 | </plugin> |
Timoney, Dan (dt5972) | 0586da4 | 2019-07-17 10:43:14 -0400 | [diff] [blame] | 315 | <plugin> |
| 316 | <groupId>org.codehaus.mojo</groupId> |
| 317 | <artifactId>versions-maven-plugin</artifactId> |
| 318 | <version>2.5</version> |
| 319 | <configuration> |
| 320 | <processAllModules>true</processAllModules> |
| 321 | </configuration> |
| 322 | </plugin> |
| 323 | </plugins> |
| 324 | </build> |
Timoney, Dan (dt5972) | 008b52b | 2019-12-06 09:10:09 -0500 | [diff] [blame] | 325 | |
| 326 | <profiles> |
| 327 | <profile> |
| 328 | <id>sonar-jacoco-aggregate</id> |
| 329 | <activation> |
| 330 | <property> |
| 331 | <name>onap.jacoco.aggregateFile</name> |
| 332 | </property> |
| 333 | </activation> |
| 334 | <build> |
| 335 | <plugins> |
| 336 | <plugin> |
| 337 | <groupId>org.jacoco</groupId> |
| 338 | <artifactId>jacoco-maven-plugin</artifactId> |
| 339 | <executions> |
| 340 | <execution> |
| 341 | <id>merge</id> |
| 342 | <goals> |
| 343 | <goal>merge</goal> |
| 344 | </goals> |
| 345 | <phase>generate-resources</phase> |
| 346 | <configuration> |
| 347 | <destFile>${onap.jacoco.aggregateFile}</destFile> |
| 348 | <fileSets> |
| 349 | <fileSet> |
| 350 | <directory>${project.basedir}</directory> |
| 351 | <includes> |
| 352 | <include>**/target/code-coverage/*.exec</include> |
| 353 | </includes> |
| 354 | </fileSet> |
| 355 | </fileSets> |
| 356 | </configuration> |
| 357 | </execution> |
| 358 | </executions> |
| 359 | </plugin> |
| 360 | </plugins> |
| 361 | </build> |
| 362 | </profile> |
| 363 | </profiles> |
Timoney, Dan (dt5972) | 1d5b9fd | 2019-05-09 10:06:50 -0400 | [diff] [blame] | 364 | </project> |