Replacing att.com namespace
[dmaap/datarouter.git] / pom.xml
1 <!--\r
2   ============LICENSE_START==================================================\r
3   * org.onap.dmaap\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
10   * \r
11    *      http://www.apache.org/licenses/LICENSE-2.0\r
12   * \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
19   *\r
20   * ECOMP is a trademark and service mark of AT&T Intellectual Property.\r
21   *\r
22 -->\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
31     <parent>\r
32         <groupId>org.onap.oparent</groupId>\r
33         <artifactId>oparent</artifactId>\r
34         <version>0.1.1</version>\r
35     </parent>\r
36     <properties>\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
53     </properties>\r
54     <modules>\r
55         <module>datarouter-prov</module>\r
56         <module>datarouter-node</module>\r
57     </modules>\r
58     <build>\r
59         <plugins>\r
60             <plugin>\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
65                 <configuration>\r
66                     <nexusUrl>${nexusproxy}</nexusUrl>\r
67                     <stagingProfileId>176c31dfe190a</stagingProfileId>\r
68                     <serverId>ecomp-staging</serverId>\r
69                 </configuration>\r
70             </plugin>\r
71             <plugin>\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
76                 <configuration>\r
77                     <nexusUrl>${nexusproxy}</nexusUrl>\r
78                     <stagingProfileId>176c31dfe190a</stagingProfileId>\r
79                     <serverId>ecomp-staging</serverId>\r
80                 </configuration>\r
81             </plugin>\r
82             <plugin>\r
83                 <groupId>org.jacoco</groupId>\r
84                 <artifactId>jacoco-maven-plugin</artifactId>\r
85                 <version>${jacoco.version}</version>\r
86                 <configuration>\r
87                     <excludes>\r
88                         <exclude>**/gen/**</exclude>\r
89                         <exclude>**/generated-sources/**</exclude>\r
90                         <exclude>**/yang-gen/**</exclude>\r
91                         <exclude>**/pax/**</exclude>\r
92                     </excludes>\r
93                 </configuration>\r
94                 <executions>\r
95                     <execution>\r
96                         <id>pre-unit-test</id>\r
97                         <goals>\r
98                             <goal>prepare-agent</goal>\r
99                         </goals>\r
100                         <configuration>\r
101                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>\r
102                             <propertyName>surefireArgLine</propertyName>\r
103                         </configuration>\r
104                     </execution>\r
105                     <execution>\r
106                         <id>post-unit-test</id>\r
107                         <phase>test</phase>\r
108                         <goals>\r
109                             <goal>report</goal>\r
110                         </goals>\r
111                         <configuration>\r
112                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>\r
113                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>\r
114                         </configuration>\r
115                     </execution>\r
116                     <execution>\r
117                         <id>pre-integration-test</id>\r
118                         <phase>pre-integration-test</phase>\r
119                         <goals>\r
120                             <goal>prepare-agent</goal>\r
121                         </goals>\r
122                         <configuration>\r
123                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>\r
124                             <propertyName>failsafeArgLine</propertyName>\r
125                         </configuration>\r
126                     </execution>\r
127                     <execution>\r
128                         <id>post-integration-test</id>\r
129                         <phase>post-integration-test</phase>\r
130                         <goals>\r
131                             <goal>report</goal>\r
132                         </goals>\r
133                         <configuration>\r
134                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>\r
135                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>\r
136                         </configuration>\r
137                     </execution>\r
138                 </executions>\r
139             </plugin>\r
140         </plugins>\r
141     </build>\r
142     <distributionManagement>\r
143         <repository>\r
144             <id>ecomp-releases</id>\r
145             <name>DR Release Repository</name>\r
146             <url>${nexusproxy}${releaseNexusPath}</url>\r
147         </repository>\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
153         <site>\r
154             <id>ecomp-site</id>\r
155             <url>dav:${nexusproxy}${sitePath}</url>\r
156         </site>\r
157     </distributionManagement>\r
158     <pluginRepositories>\r
159         <pluginRepository>\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
164 </project>