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