2 ============LICENSE_START==================================================
\r
4 * ===========================================================================
\r
5 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
\r
6 * ===========================================================================
\r
7 * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 * you may not use this file except in compliance with the License.
\r
9 * You may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * Unless required by applicable law or agreed to in writing, software
\r
14 * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * See the License for the specific language governing permissions and
\r
17 * limitations under the License.
\r
18 * ============LICENSE_END====================================================
\r
20 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
\r
23 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
\r
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
\r
25 <modelVersion>4.0.0</modelVersion>
\r
26 <groupId>org.onap.dmaap.datarouter</groupId>
\r
27 <artifactId>parent</artifactId>
\r
28 <name>dmaap-datarouter</name>
\r
29 <version>1.0.1-SNAPSHOT</version>
\r
30 <packaging>pom</packaging>
\r
31 <url>https://github.com/att/DMAAP_DATAROUTER</url>
\r
35 <groupId>org.onap.oparent</groupId>
\r
36 <artifactId>oparent</artifactId>
\r
37 <version>0.1.1</version>
\r
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
\r
42 <maven.compiler.source>1.8</maven.compiler.source>
\r
43 <maven.compiler.target>1.8</maven.compiler.target>
\r
44 <sonar.language>java</sonar.language>
\r
45 <sonar.skip>false</sonar.skip>
\r
46 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
\r
47 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
\r
48 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
\r
49 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
\r
50 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
\r
51 <sonar.projectVersion>${project.version}</sonar.projectVersion>
\r
52 <nexusproxy>https://nexus.onap.org</nexusproxy>
\r
53 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
\r
54 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
\r
55 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
\r
56 <sitePath>/content/sites/site/org/onap/datarouter/${project.artifactId}/${project.version}</sitePath>
\r
61 <module>datarouter-prov</module>
\r
62 <module>datarouter-node</module>
\r
68 <groupId>org.sonatype.plugins</groupId>
\r
69 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
70 <version>1.6.7</version>
\r
71 <extensions>true</extensions>
\r
73 <nexusUrl>${nexusproxy}</nexusUrl>
\r
74 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
75 <serverId>ecomp-staging</serverId>
\r
80 <groupId>org.sonatype.plugins</groupId>
\r
81 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
82 <version>1.6.7</version>
\r
83 <extensions>true</extensions>
\r
85 <nexusUrl>${nexusproxy}</nexusUrl>
\r
86 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
87 <serverId>ecomp-staging</serverId>
\r
92 <groupId>org.jacoco</groupId>
\r
93 <artifactId>jacoco-maven-plugin</artifactId>
\r
94 <version>${jacoco.version}</version>
\r
97 <exclude>**/gen/**</exclude>
\r
98 <exclude>**/generated-sources/**</exclude>
\r
99 <exclude>**/yang-gen/**</exclude>
\r
100 <exclude>**/pax/**</exclude>
\r
106 <id>pre-unit-test</id>
\r
108 <goal>prepare-agent</goal>
\r
111 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
\r
112 <propertyName>surefireArgLine</propertyName>
\r
118 <id>post-unit-test</id>
\r
119 <phase>test</phase>
\r
121 <goal>report</goal>
\r
124 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
\r
125 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
\r
129 <id>pre-integration-test</id>
\r
130 <phase>pre-integration-test</phase>
\r
132 <goal>prepare-agent</goal>
\r
135 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
\r
137 <propertyName>failsafeArgLine</propertyName>
\r
143 <id>post-integration-test</id>
\r
144 <phase>post-integration-test</phase>
\r
146 <goal>report</goal>
\r
149 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
\r
150 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
\r
157 <distributionManagement>
\r
159 <id>ecomp-releases</id>
\r
160 <name>DR Release Repository</name>
\r
161 <url>${nexusproxy}${releaseNexusPath}</url>
\r
163 <snapshotRepository>
\r
164 <id>ecomp-snapshots</id>
\r
165 <name>DR Snapshot Repository</name>
\r
166 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
167 </snapshotRepository>
\r
169 <id>ecomp-site</id>
\r
170 <url>dav:${nexusproxy}${sitePath}</url>
\r
172 </distributionManagement>
\r
173 <pluginRepositories>
\r
175 <id>onap-plugin-snapshots</id>
\r
176 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
\r
177 </pluginRepository>
\r
178 </pluginRepositories>
\r