2 ============LICENSE_START==================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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====================================================
20 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
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>
32 <groupId>org.onap.oparent</groupId>
33 <artifactId>oparent</artifactId>
34 <version>1.1.0</version>
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>
58 <module>datarouter-prov</module>
59 <module>datarouter-node</module>
64 <groupId>com.spotify</groupId>
65 <artifactId>docker-maven-plugin</artifactId>
66 <version>${docker.maven.plugin.version}</version>
68 <skipDockerBuild>true</skipDockerBuild>
72 <groupId>org.sonatype.plugins</groupId>
73 <artifactId>nexus-staging-maven-plugin</artifactId>
74 <version>1.6.7</version>
75 <extensions>true</extensions>
77 <nexusUrl>${onap.nexus.url}</nexusUrl>
78 <stagingProfileId>176c31dfe190a</stagingProfileId>
79 <serverId>ecomp-staging</serverId>
83 <groupId>org.jacoco</groupId>
84 <artifactId>jacoco-maven-plugin</artifactId>
85 <version>${jacoco.version}</version>
88 <exclude>**/gen/**</exclude>
89 <exclude>**/generated-sources/**</exclude>
90 <exclude>**/yang-gen/**</exclude>
91 <exclude>**/pax/**</exclude>
96 <id>pre-unit-test</id>
98 <goal>prepare-agent</goal>
101 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
102 <propertyName>surefireArgLine</propertyName>
106 <id>post-unit-test</id>
112 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
113 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
117 <id>pre-integration-test</id>
118 <phase>pre-integration-test</phase>
120 <goal>prepare-agent</goal>
123 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
124 <propertyName>failsafeArgLine</propertyName>
128 <id>post-integration-test</id>
129 <phase>post-integration-test</phase>
134 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
135 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
142 <distributionManagement>
144 <id>ecomp-releases</id>
145 <name>DR Release Repository</name>
146 <url>${onap.nexus.url}${releaseNexusPath}</url>
149 <id>ecomp-snapshots</id>
150 <name>DR Snapshot Repository</name>
151 <url>${onap.nexus.url}${snapshotNexusPath}</url>
152 </snapshotRepository>
155 <url>dav:${onap.nexus.url}${sitePath}</url>
157 </distributionManagement>
160 <id>onap-plugin-snapshots</id>
161 <url>${onap.nexus.url}${snapshotNexusPath}</url>
163 </pluginRepositories>