blob: 8ef01610133b62343e73173724a59597e3c011aa [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.
Piotr Darosz5a410372018-10-03 14:31:25 +02006 * Modifications Copyright (C) 2018 Nokia. All rights reserved.
ezcoxemda23b252018-07-31 15:54:56 +01007 * ===========================================================================
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
eronkeo85129f82018-08-14 17:58:28 +010011 *
ezcoxemda23b252018-07-31 15:54:56 +010012 * http://www.apache.org/licenses/LICENSE-2.0
eronkeo85129f82018-08-14 17:58:28 +010013 *
ezcoxemda23b252018-07-31 15:54:56 +010014 * 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>
eronkeo69084992019-02-26 09:21:47 +000029 <version>2.0.1-SNAPSHOT</version>
ezcoxemda23b252018-07-31 15:54:56 +010030 <packaging>pom</packaging>
31 <url>https://github.com/att/DMAAP_DATAROUTER</url>
32 <parent>
33 <groupId>org.onap.oparent</groupId>
34 <artifactId>oparent</artifactId>
efiacor4f1d5962019-03-13 15:45:21 +000035 <version>1.2.3</version>
ezcoxemda23b252018-07-31 15:54:56 +010036 </parent>
37 <properties>
eronkeo69084992019-02-26 09:21:47 +000038 <datarouter.version>2.0.1-SNAPSHOT</datarouter.version>
ezcoxemda23b252018-07-31 15:54:56 +010039 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40 <maven.compiler.source>1.8</maven.compiler.source>
41 <maven.compiler.target>1.8</maven.compiler.target>
42 <sonar.language>java</sonar.language>
43 <sonar.skip>false</sonar.skip>
44 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
45 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
econwar6c83a6f2018-08-24 13:11:57 +000046 <sonar.jacoco.reportPaths>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPaths>
ezcoxemda23b252018-07-31 15:54:56 +010047 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
48 <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
49 <sonar.projectVersion>${project.version}</sonar.projectVersion>
eronkeo08c00262019-01-23 11:28:54 +000050 <jetty.version>9.4.14.v20181114</jetty.version>
eronkeo85129f82018-08-14 17:58:28 +010051 <jetty.websocket.version>8.2.0.v20160908</jetty.websocket.version>
edepaul555b7fc2018-09-11 08:07:16 +010052 <javax.mail-api.version>1.5.5</javax.mail-api.version>
Ronan Keoghf36b8de2018-10-10 17:20:59 +010053 <dom4j.version>2.1.1</dom4j.version>
Paul Dennehy1cac6d22018-09-20 10:15:08 +010054 <xml-apis.version>1.4.01</xml-apis.version>
Ronan Keogh09a9e562018-08-17 11:20:54 +010055 <thoughtworks.version>1.4.10</thoughtworks.version>
edepaul12c71a52018-09-07 16:27:01 +010056 <google.guava.version>26.0-jre</google.guava.version>
econward6e999b2018-09-05 16:10:01 +000057 <qos.logback.version>1.2.3</qos.logback.version>
ezcoxemda23b252018-07-31 15:54:56 +010058 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
59 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
60 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
61 <sitePath>/content/sites/site/org/onap/dmaap/datarouter/${project.artifactId}/${project.version}</sitePath>
62 <docker.maven.plugin.version>1.0.0</docker.maven.plugin.version>
63 <skip.docker.build>true</skip.docker.build>
64 <skip.docker.tag>true</skip.docker.tag>
65 <skip.docker.push>true</skip.docker.push>
edepaul12c71a52018-09-07 16:27:01 +010066 <commons-codec.version>1.10</commons-codec.version>
ezcoxemda23b252018-07-31 15:54:56 +010067 </properties>
68 <modules>
69 <module>datarouter-prov</module>
70 <module>datarouter-node</module>
Fiachra Corcoran19620eb2018-08-27 17:59:42 +010071 <module>datarouter-subscriber</module>
Piotr Darosz4aac89d2018-10-11 11:12:27 +020072 <module>datarouter-docker-compose</module>
ezcoxemda23b252018-07-31 15:54:56 +010073 </modules>
74 <build>
75 <plugins>
76 <plugin>
77 <groupId>com.spotify</groupId>
78 <artifactId>docker-maven-plugin</artifactId>
79 <version>${docker.maven.plugin.version}</version>
80 <configuration>
81 <skipDockerBuild>true</skipDockerBuild>
82 </configuration>
83 </plugin>
84 <plugin>
85 <groupId>org.sonatype.plugins</groupId>
86 <artifactId>nexus-staging-maven-plugin</artifactId>
87 <version>1.6.7</version>
88 <extensions>true</extensions>
89 <configuration>
90 <nexusUrl>${onap.nexus.url}</nexusUrl>
91 <stagingProfileId>176c31dfe190a</stagingProfileId>
92 <serverId>ecomp-staging</serverId>
93 </configuration>
94 </plugin>
95 <plugin>
96 <groupId>org.jacoco</groupId>
97 <artifactId>jacoco-maven-plugin</artifactId>
98 <version>${jacoco.version}</version>
99 <configuration>
100 <excludes>
101 <exclude>**/gen/**</exclude>
102 <exclude>**/generated-sources/**</exclude>
103 <exclude>**/yang-gen/**</exclude>
104 <exclude>**/pax/**</exclude>
105 </excludes>
106 </configuration>
107 <executions>
108 <execution>
109 <id>pre-unit-test</id>
110 <goals>
111 <goal>prepare-agent</goal>
112 </goals>
113 <configuration>
114 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
115 <propertyName>surefireArgLine</propertyName>
116 </configuration>
117 </execution>
118 <execution>
119 <id>post-unit-test</id>
120 <phase>test</phase>
121 <goals>
122 <goal>report</goal>
123 </goals>
124 <configuration>
125 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
126 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
127 </configuration>
128 </execution>
129 <execution>
130 <id>pre-integration-test</id>
131 <phase>pre-integration-test</phase>
132 <goals>
133 <goal>prepare-agent</goal>
134 </goals>
135 <configuration>
136 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
137 <propertyName>failsafeArgLine</propertyName>
138 </configuration>
139 </execution>
140 <execution>
141 <id>post-integration-test</id>
142 <phase>post-integration-test</phase>
143 <goals>
144 <goal>report</goal>
145 </goals>
146 <configuration>
147 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
148 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
149 </configuration>
150 </execution>
151 </executions>
152 </plugin>
Fiachra Corcoran48d21522018-10-11 15:45:53 +0100153 <plugin>
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-surefire-plugin</artifactId>
156 <configuration>
157 <excludes>
158 <exclude>IntegrationSuite.java</exclude>
159 </excludes>
160 </configuration>
161 </plugin>
ezcoxemda23b252018-07-31 15:54:56 +0100162 </plugins>
163 </build>
164 <distributionManagement>
165 <repository>
166 <id>ecomp-releases</id>
167 <name>DR Release Repository</name>
168 <url>${onap.nexus.url}${releaseNexusPath}</url>
169 </repository>
170 <snapshotRepository>
171 <id>ecomp-snapshots</id>
172 <name>DR Snapshot Repository</name>
173 <url>${onap.nexus.url}${snapshotNexusPath}</url>
174 </snapshotRepository>
175 <site>
176 <id>ecomp-site</id>
177 <url>dav:${onap.nexus.url}${sitePath}</url>
178 </site>
179 </distributionManagement>
180 <pluginRepositories>
181 <pluginRepository>
182 <id>onap-plugin-snapshots</id>
183 <url>${onap.nexus.url}${snapshotNexusPath}</url>
184 </pluginRepository>
185 </pluginRepositories>
186</project>