Merge "update pom version to fix architecture diagram"
[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   * Modifications Copyright (C) 2018 Nokia. All rights reserved.
7   * ===========================================================================
8   * Licensed under the Apache License, Version 2.0 (the "License");
9   * you may not use this file except in compliance with the License.
10   * You may obtain a copy of the License at
11   *
12    *      http://www.apache.org/licenses/LICENSE-2.0
13   *
14    * Unless required by applicable law or agreed to in writing, software
15   * distributed under the License is distributed on an "AS IS" BASIS,
16   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17   * See the License for the specific language governing permissions and
18   * limitations under the License.
19   * ============LICENSE_END====================================================
20   *
21   * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22   *
23 -->
24 <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">
25     <modelVersion>4.0.0</modelVersion>
26     <groupId>org.onap.dmaap.datarouter</groupId>
27     <artifactId>parent</artifactId>
28     <name>dmaap-datarouter</name>
29     <version>1.0.5-SNAPSHOT</version>
30     <packaging>pom</packaging>
31     <url>https://github.com/att/DMAAP_DATAROUTER</url>
32     <parent>
33         <groupId>org.onap.oparent</groupId>
34         <artifactId>oparent</artifactId>
35         <version>1.2.1</version>
36     </parent>
37     <properties>
38         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39         <maven.compiler.source>1.8</maven.compiler.source>
40         <maven.compiler.target>1.8</maven.compiler.target>
41         <sonar.language>java</sonar.language>
42         <sonar.skip>false</sonar.skip>
43         <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
44         <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
45         <sonar.jacoco.reportPaths>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPaths>
46         <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
47         <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
48         <sonar.projectVersion>${project.version}</sonar.projectVersion>
49         <jetty.version>9.3.8.RC0</jetty.version>
50         <jetty.websocket.version>8.2.0.v20160908</jetty.websocket.version>
51         <javax.mail-api.version>1.5.5</javax.mail-api.version>
52         <dom4j.version>2.1.1</dom4j.version>
53         <xml-apis.version>1.4.01</xml-apis.version>
54         <thoughtworks.version>1.4.10</thoughtworks.version>
55         <google.guava.version>26.0-jre</google.guava.version>
56         <qos.logback.version>1.2.3</qos.logback.version>
57         <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
58         <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
59         <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
60         <sitePath>/content/sites/site/org/onap/dmaap/datarouter/${project.artifactId}/${project.version}</sitePath>
61         <docker.maven.plugin.version>1.0.0</docker.maven.plugin.version>
62         <skip.docker.build>true</skip.docker.build>
63         <skip.docker.tag>true</skip.docker.tag>
64         <skip.docker.push>true</skip.docker.push>
65         <commons-codec.version>1.10</commons-codec.version>
66     </properties>
67     <modules>
68         <module>datarouter-prov</module>
69         <module>datarouter-node</module>
70         <module>datarouter-subscriber</module>
71         <module>datarouter-docker-compose</module>
72     </modules>
73     <build>
74         <plugins>
75             <plugin>
76                 <groupId>com.spotify</groupId>
77                 <artifactId>docker-maven-plugin</artifactId>
78                 <version>${docker.maven.plugin.version}</version>
79                 <configuration>
80                     <skipDockerBuild>true</skipDockerBuild>
81                 </configuration>
82             </plugin>
83             <plugin>
84                 <groupId>org.sonatype.plugins</groupId>
85                 <artifactId>nexus-staging-maven-plugin</artifactId>
86                 <version>1.6.7</version>
87                 <extensions>true</extensions>
88                 <configuration>
89                     <nexusUrl>${onap.nexus.url}</nexusUrl>
90                     <stagingProfileId>176c31dfe190a</stagingProfileId>
91                     <serverId>ecomp-staging</serverId>
92                 </configuration>
93             </plugin>
94             <plugin>
95                 <groupId>org.jacoco</groupId>
96                 <artifactId>jacoco-maven-plugin</artifactId>
97                 <version>${jacoco.version}</version>
98                 <configuration>
99                     <excludes>
100                         <exclude>**/gen/**</exclude>
101                         <exclude>**/generated-sources/**</exclude>
102                         <exclude>**/yang-gen/**</exclude>
103                         <exclude>**/pax/**</exclude>
104                     </excludes>
105                 </configuration>
106                 <executions>
107                     <execution>
108                         <id>pre-unit-test</id>
109                         <goals>
110                             <goal>prepare-agent</goal>
111                         </goals>
112                         <configuration>
113                             <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
114                             <propertyName>surefireArgLine</propertyName>
115                         </configuration>
116                     </execution>
117                     <execution>
118                         <id>post-unit-test</id>
119                         <phase>test</phase>
120                         <goals>
121                             <goal>report</goal>
122                         </goals>
123                         <configuration>
124                             <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
125                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
126                         </configuration>
127                     </execution>
128                     <execution>
129                         <id>pre-integration-test</id>
130                         <phase>pre-integration-test</phase>
131                         <goals>
132                             <goal>prepare-agent</goal>
133                         </goals>
134                         <configuration>
135                             <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
136                             <propertyName>failsafeArgLine</propertyName>
137                         </configuration>
138                     </execution>
139                     <execution>
140                         <id>post-integration-test</id>
141                         <phase>post-integration-test</phase>
142                         <goals>
143                             <goal>report</goal>
144                         </goals>
145                         <configuration>
146                             <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
147                             <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
148                         </configuration>
149                     </execution>
150                 </executions>
151             </plugin>
152             <plugin>
153                 <groupId>org.apache.maven.plugins</groupId>
154                 <artifactId>maven-surefire-plugin</artifactId>
155                 <configuration>
156                     <excludes>
157                         <exclude>IntegrationSuite.java</exclude>
158                     </excludes>
159                 </configuration>
160             </plugin>
161         </plugins>
162     </build>
163     <distributionManagement>
164         <repository>
165             <id>ecomp-releases</id>
166             <name>DR Release Repository</name>
167             <url>${onap.nexus.url}${releaseNexusPath}</url>
168         </repository>
169         <snapshotRepository>
170             <id>ecomp-snapshots</id>
171             <name>DR Snapshot Repository</name>
172             <url>${onap.nexus.url}${snapshotNexusPath}</url>
173         </snapshotRepository>
174         <site>
175             <id>ecomp-site</id>
176             <url>dav:${onap.nexus.url}${sitePath}</url>
177         </site>
178     </distributionManagement>
179     <pluginRepositories>
180         <pluginRepository>
181             <id>onap-plugin-snapshots</id>
182             <url>${onap.nexus.url}${snapshotNexusPath}</url>
183         </pluginRepository>
184     </pluginRepositories>
185 </project>