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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
\r
24 <modelVersion>4.0.0</modelVersion>
\r
25 <groupId>org.onap.dmaap.datarouter</groupId>
\r
26 <artifactId>parent</artifactId>
\r
27 <name>dmaap-datarouter</name>
\r
28 <version>1.0.1-SNAPSHOT</version>
\r
29 <packaging>pom</packaging>
\r
30 <url>https://github.com/att/DMAAP_DATAROUTER</url>
\r
32 <groupId>org.onap.oparent</groupId>
\r
33 <artifactId>oparent</artifactId>
\r
34 <version>0.1.1</version>
\r
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
\r
38 <maven.compiler.source>1.8</maven.compiler.source>
\r
39 <maven.compiler.target>1.8</maven.compiler.target>
\r
40 <sonar.language>java</sonar.language>
\r
41 <sonar.skip>false</sonar.skip>
\r
42 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
\r
43 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
\r
44 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
\r
45 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
\r
46 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
\r
47 <sonar.projectVersion>${project.version}</sonar.projectVersion>
\r
48 <nexusproxy>https://nexus.onap.org</nexusproxy>
\r
49 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
\r
50 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
\r
51 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
\r
52 <sitePath>/content/sites/site/org/onap/dmaap/datarouter/${project.artifactId}/${project.version}</sitePath>
\r
55 <module>datarouter-prov</module>
\r
56 <module>datarouter-node</module>
\r
61 <groupId>org.sonatype.plugins</groupId>
\r
62 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
63 <version>1.6.7</version>
\r
64 <extensions>true</extensions>
\r
66 <nexusUrl>${nexusproxy}</nexusUrl>
\r
67 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
68 <serverId>ecomp-staging</serverId>
\r
72 <groupId>org.sonatype.plugins</groupId>
\r
73 <artifactId>nexus-staging-maven-plugin</artifactId>
\r
74 <version>1.6.7</version>
\r
75 <extensions>true</extensions>
\r
77 <nexusUrl>${nexusproxy}</nexusUrl>
\r
78 <stagingProfileId>176c31dfe190a</stagingProfileId>
\r
79 <serverId>ecomp-staging</serverId>
\r
83 <groupId>org.jacoco</groupId>
\r
84 <artifactId>jacoco-maven-plugin</artifactId>
\r
85 <version>${jacoco.version}</version>
\r
88 <exclude>**/gen/**</exclude>
\r
89 <exclude>**/generated-sources/**</exclude>
\r
90 <exclude>**/yang-gen/**</exclude>
\r
91 <exclude>**/pax/**</exclude>
\r
96 <id>pre-unit-test</id>
\r
98 <goal>prepare-agent</goal>
\r
101 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
\r
102 <propertyName>surefireArgLine</propertyName>
\r
106 <id>post-unit-test</id>
\r
107 <phase>test</phase>
\r
109 <goal>report</goal>
\r
112 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
\r
113 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
\r
117 <id>pre-integration-test</id>
\r
118 <phase>pre-integration-test</phase>
\r
120 <goal>prepare-agent</goal>
\r
123 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
\r
124 <propertyName>failsafeArgLine</propertyName>
\r
128 <id>post-integration-test</id>
\r
129 <phase>post-integration-test</phase>
\r
131 <goal>report</goal>
\r
134 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
\r
135 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
\r
142 <distributionManagement>
\r
144 <id>ecomp-releases</id>
\r
145 <name>DR Release Repository</name>
\r
146 <url>${nexusproxy}${releaseNexusPath}</url>
\r
148 <snapshotRepository>
\r
149 <id>ecomp-snapshots</id>
\r
150 <name>DR Snapshot Repository</name>
\r
151 <url>${nexusproxy}${snapshotNexusPath}</url>
\r
152 </snapshotRepository>
\r
154 <id>ecomp-site</id>
\r
155 <url>dav:${nexusproxy}${sitePath}</url>
\r
157 </distributionManagement>
\r
158 <pluginRepositories>
\r
160 <id>onap-plugin-snapshots</id>
\r
161 <url>https://nexus.onap.org/content/repositories/snapshots/</url>
\r
162 </pluginRepository>
\r
163 </pluginRepositories>
\r