ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START================================================== |
| 3 | * org.onap.dmaap |
| 4 | * =========================================================================== |
| 5 | * Copyright © 2017 AT&T Intellectual Property. All rights reserved. |
| 6 | * =========================================================================== |
| 7 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | * you may not use this file except in compliance with the License. |
| 9 | * You may obtain a copy of the License at |
| 10 | * |
| 11 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | * |
| 13 | * Unless required by applicable law or agreed to in writing, software |
| 14 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | * See the License for the specific language governing permissions and |
| 17 | * limitations under the License. |
| 18 | * ============LICENSE_END==================================================== |
| 19 | * |
| 20 | * ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 21 | * |
| 22 | --> |
| 23 | <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/maven-v4_0_0.xsd"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | <groupId>org.onap.dmaap.datarouter</groupId> |
| 26 | <artifactId>parent</artifactId> |
| 27 | <name>dmaap-datarouter</name> |
| 28 | <version>1.0.1-SNAPSHOT</version> |
| 29 | <packaging>pom</packaging> |
| 30 | <url>https://github.com/att/DMAAP_DATAROUTER</url> |
| 31 | <parent> |
| 32 | <groupId>org.onap.oparent</groupId> |
| 33 | <artifactId>oparent</artifactId> |
| 34 | <version>1.1.0</version> |
| 35 | </parent> |
| 36 | <properties> |
| 37 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 38 | <maven.compiler.source>1.8</maven.compiler.source> |
| 39 | <maven.compiler.target>1.8</maven.compiler.target> |
| 40 | <sonar.language>java</sonar.language> |
| 41 | <sonar.skip>false</sonar.skip> |
| 42 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 43 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 44 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> |
| 45 | <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath> |
| 46 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> |
| 47 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
| 48 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 49 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 50 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
| 51 | <sitePath>/content/sites/site/org/onap/dmaap/datarouter/${project.artifactId}/${project.version}</sitePath> |
| 52 | <docker.maven.plugin.version>1.0.0</docker.maven.plugin.version> |
| 53 | <skip.docker.build>true</skip.docker.build> |
| 54 | <skip.docker.tag>true</skip.docker.tag> |
| 55 | <skip.docker.push>true</skip.docker.push> |
| 56 | </properties> |
| 57 | <modules> |
| 58 | <module>datarouter-prov</module> |
| 59 | <module>datarouter-node</module> |
| 60 | </modules> |
| 61 | <build> |
| 62 | <plugins> |
| 63 | <plugin> |
| 64 | <groupId>com.spotify</groupId> |
| 65 | <artifactId>docker-maven-plugin</artifactId> |
| 66 | <version>${docker.maven.plugin.version}</version> |
| 67 | <configuration> |
| 68 | <skipDockerBuild>true</skipDockerBuild> |
| 69 | </configuration> |
| 70 | </plugin> |
| 71 | <plugin> |
| 72 | <groupId>org.sonatype.plugins</groupId> |
| 73 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 74 | <version>1.6.7</version> |
| 75 | <extensions>true</extensions> |
| 76 | <configuration> |
| 77 | <nexusUrl>${onap.nexus.url}</nexusUrl> |
| 78 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 79 | <serverId>ecomp-staging</serverId> |
| 80 | </configuration> |
| 81 | </plugin> |
| 82 | <plugin> |
| 83 | <groupId>org.jacoco</groupId> |
| 84 | <artifactId>jacoco-maven-plugin</artifactId> |
| 85 | <version>${jacoco.version}</version> |
| 86 | <configuration> |
| 87 | <excludes> |
| 88 | <exclude>**/gen/**</exclude> |
| 89 | <exclude>**/generated-sources/**</exclude> |
| 90 | <exclude>**/yang-gen/**</exclude> |
| 91 | <exclude>**/pax/**</exclude> |
| 92 | </excludes> |
| 93 | </configuration> |
| 94 | <executions> |
| 95 | <execution> |
| 96 | <id>pre-unit-test</id> |
| 97 | <goals> |
| 98 | <goal>prepare-agent</goal> |
| 99 | </goals> |
| 100 | <configuration> |
| 101 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 102 | <propertyName>surefireArgLine</propertyName> |
| 103 | </configuration> |
| 104 | </execution> |
| 105 | <execution> |
| 106 | <id>post-unit-test</id> |
| 107 | <phase>test</phase> |
| 108 | <goals> |
| 109 | <goal>report</goal> |
| 110 | </goals> |
| 111 | <configuration> |
| 112 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 113 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 114 | </configuration> |
| 115 | </execution> |
| 116 | <execution> |
| 117 | <id>pre-integration-test</id> |
| 118 | <phase>pre-integration-test</phase> |
| 119 | <goals> |
| 120 | <goal>prepare-agent</goal> |
| 121 | </goals> |
| 122 | <configuration> |
| 123 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
| 124 | <propertyName>failsafeArgLine</propertyName> |
| 125 | </configuration> |
| 126 | </execution> |
| 127 | <execution> |
| 128 | <id>post-integration-test</id> |
| 129 | <phase>post-integration-test</phase> |
| 130 | <goals> |
| 131 | <goal>report</goal> |
| 132 | </goals> |
| 133 | <configuration> |
| 134 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 135 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 136 | </configuration> |
| 137 | </execution> |
| 138 | </executions> |
| 139 | </plugin> |
| 140 | </plugins> |
| 141 | </build> |
| 142 | <distributionManagement> |
| 143 | <repository> |
| 144 | <id>ecomp-releases</id> |
| 145 | <name>DR Release Repository</name> |
| 146 | <url>${onap.nexus.url}${releaseNexusPath}</url> |
| 147 | </repository> |
| 148 | <snapshotRepository> |
| 149 | <id>ecomp-snapshots</id> |
| 150 | <name>DR Snapshot Repository</name> |
| 151 | <url>${onap.nexus.url}${snapshotNexusPath}</url> |
| 152 | </snapshotRepository> |
| 153 | <site> |
| 154 | <id>ecomp-site</id> |
| 155 | <url>dav:${onap.nexus.url}${sitePath}</url> |
| 156 | </site> |
| 157 | </distributionManagement> |
| 158 | <pluginRepositories> |
| 159 | <pluginRepository> |
| 160 | <id>onap-plugin-snapshots</id> |
| 161 | <url>${onap.nexus.url}${snapshotNexusPath}</url> |
| 162 | </pluginRepository> |
| 163 | </pluginRepositories> |
| 164 | </project> |