blob: 0fe61c02d105fabcd39ed6f41db7b6ab9a3ef9de [file] [log] [blame]
ezcoxemda23b252018-07-31 15:54:56 +01001<!--
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
eronkeo85129f82018-08-14 17:58:28 +010010 *
ezcoxemda23b252018-07-31 15:54:56 +010011 * http://www.apache.org/licenses/LICENSE-2.0
eronkeo85129f82018-08-14 17:58:28 +010012 *
ezcoxemda23b252018-07-31 15:54:56 +010013 * 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>
Ronan Keogh09a9e562018-08-17 11:20:54 +010048 <jetty.version>9.4.12.RC2</jetty.version>
eronkeo85129f82018-08-14 17:58:28 +010049 <jetty.websocket.version>8.2.0.v20160908</jetty.websocket.version>
Ronan Keogh09a9e562018-08-17 11:20:54 +010050 <thoughtworks.version>1.4.10</thoughtworks.version>
ezcoxemda23b252018-07-31 15:54:56 +010051 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
52 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
53 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
54 <sitePath>/content/sites/site/org/onap/dmaap/datarouter/${project.artifactId}/${project.version}</sitePath>
55 <docker.maven.plugin.version>1.0.0</docker.maven.plugin.version>
56 <skip.docker.build>true</skip.docker.build>
57 <skip.docker.tag>true</skip.docker.tag>
58 <skip.docker.push>true</skip.docker.push>
59 </properties>
60 <modules>
61 <module>datarouter-prov</module>
62 <module>datarouter-node</module>
63 </modules>
64 <build>
65 <plugins>
66 <plugin>
67 <groupId>com.spotify</groupId>
68 <artifactId>docker-maven-plugin</artifactId>
69 <version>${docker.maven.plugin.version}</version>
70 <configuration>
71 <skipDockerBuild>true</skipDockerBuild>
72 </configuration>
73 </plugin>
74 <plugin>
75 <groupId>org.sonatype.plugins</groupId>
76 <artifactId>nexus-staging-maven-plugin</artifactId>
77 <version>1.6.7</version>
78 <extensions>true</extensions>
79 <configuration>
80 <nexusUrl>${onap.nexus.url}</nexusUrl>
81 <stagingProfileId>176c31dfe190a</stagingProfileId>
82 <serverId>ecomp-staging</serverId>
83 </configuration>
84 </plugin>
85 <plugin>
86 <groupId>org.jacoco</groupId>
87 <artifactId>jacoco-maven-plugin</artifactId>
88 <version>${jacoco.version}</version>
89 <configuration>
90 <excludes>
91 <exclude>**/gen/**</exclude>
92 <exclude>**/generated-sources/**</exclude>
93 <exclude>**/yang-gen/**</exclude>
94 <exclude>**/pax/**</exclude>
95 </excludes>
96 </configuration>
97 <executions>
98 <execution>
99 <id>pre-unit-test</id>
100 <goals>
101 <goal>prepare-agent</goal>
102 </goals>
103 <configuration>
104 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
105 <propertyName>surefireArgLine</propertyName>
106 </configuration>
107 </execution>
108 <execution>
109 <id>post-unit-test</id>
110 <phase>test</phase>
111 <goals>
112 <goal>report</goal>
113 </goals>
114 <configuration>
115 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
116 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
117 </configuration>
118 </execution>
119 <execution>
120 <id>pre-integration-test</id>
121 <phase>pre-integration-test</phase>
122 <goals>
123 <goal>prepare-agent</goal>
124 </goals>
125 <configuration>
126 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
127 <propertyName>failsafeArgLine</propertyName>
128 </configuration>
129 </execution>
130 <execution>
131 <id>post-integration-test</id>
132 <phase>post-integration-test</phase>
133 <goals>
134 <goal>report</goal>
135 </goals>
136 <configuration>
137 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
138 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
139 </configuration>
140 </execution>
141 </executions>
142 </plugin>
143 </plugins>
144 </build>
145 <distributionManagement>
146 <repository>
147 <id>ecomp-releases</id>
148 <name>DR Release Repository</name>
149 <url>${onap.nexus.url}${releaseNexusPath}</url>
150 </repository>
151 <snapshotRepository>
152 <id>ecomp-snapshots</id>
153 <name>DR Snapshot Repository</name>
154 <url>${onap.nexus.url}${snapshotNexusPath}</url>
155 </snapshotRepository>
156 <site>
157 <id>ecomp-site</id>
158 <url>dav:${onap.nexus.url}${sitePath}</url>
159 </site>
160 </distributionManagement>
161 <pluginRepositories>
162 <pluginRepository>
163 <id>onap-plugin-snapshots</id>
164 <url>${onap.nexus.url}${snapshotNexusPath}</url>
165 </pluginRepository>
166 </pluginRepositories>
167</project>