ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START================================================== |
| 3 | * org.onap.dmaap |
| 4 | * =========================================================================== |
| 5 | * Copyright © 2017 AT&T Intellectual Property. All rights reserved. |
Piotr Darosz | 5a41037 | 2018-10-03 14:31:25 +0200 | [diff] [blame] | 6 | * Modifications Copyright (C) 2018 Nokia. All rights reserved. |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 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 |
eronkeo | 85129f8 | 2018-08-14 17:58:28 +0100 | [diff] [blame] | 11 | * |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 12 | * http://www.apache.org/licenses/LICENSE-2.0 |
eronkeo | 85129f8 | 2018-08-14 17:58:28 +0100 | [diff] [blame] | 13 | * |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 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> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 29 | <version>${revision}</version> |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 30 | <packaging>pom</packaging> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 31 | <url>https://docs.onap.org/en/latest/submodules/dmaap/datarouter.git/docs/index.html</url> |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 32 | <parent> |
| 33 | <groupId>org.onap.oparent</groupId> |
| 34 | <artifactId>oparent</artifactId> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 35 | <version>3.0.0</version> |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 36 | </parent> |
| 37 | <properties> |
efiacor | 404cf6d | 2019-05-30 10:50:57 +0000 | [diff] [blame] | 38 | <!--revision must also be set in the version.properties file at project root--> |
david.mcweeney | a4c3616 | 2021-03-09 16:36:21 +0000 | [diff] [blame] | 39 | <revision>2.1.9-SNAPSHOT</revision> |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 40 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 41 | <maven.compiler.source>11</maven.compiler.source> |
| 42 | <maven.compiler.target>11</maven.compiler.target> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 43 | |
| 44 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 45 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 46 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
| 47 | <sitePath>/content/sites/site/org/onap/dmaap/datarouter/${project.artifactId}/${project.version}</sitePath> |
| 48 | |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 49 | <sonar.language>java</sonar.language> |
| 50 | <sonar.skip>false</sonar.skip> |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 51 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
efiacor | b1ce4e0 | 2020-03-04 20:43:51 +0000 | [diff] [blame] | 52 | <sonar.coverage.jacoco.xmlReportPaths>${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 53 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 54 | |
| 55 | <docker.skip.build>false</docker.skip.build> |
| 56 | <docker.verbose>true</docker.verbose> |
| 57 | <docker.image.root>onap/dmaap/</docker.image.root> |
| 58 | <timestamp>${maven.build.timestamp}</timestamp> |
| 59 | <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> |
| 60 | |
| 61 | <!--dependency version across all modules--> |
efiacor | cb2d2a2 | 2021-08-17 10:52:23 +0100 | [diff] [blame] | 62 | <jetty.version>9.4.41.v20210516</jetty.version> |
edepaul | 555b7fc | 2018-09-11 08:07:16 +0100 | [diff] [blame] | 63 | <javax.mail-api.version>1.5.5</javax.mail-api.version> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 64 | <javax.servlet-api.version>4.0.1</javax.servlet-api.version> |
econwar | d6e999b | 2018-09-05 16:10:01 +0000 | [diff] [blame] | 65 | <qos.logback.version>1.2.3</qos.logback.version> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 66 | <aaf-cadi-aaf.version>2.1.15</aaf-cadi-aaf.version> |
ajay_dp001 | 0cdac15 | 2021-01-22 19:49:48 +0530 | [diff] [blame] | 67 | <commons-codec.version>1.15</commons-codec.version> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 68 | <gmaven-plugin.version>1.5</gmaven-plugin.version> |
efiacor | d20d5f5 | 2020-02-27 16:46:20 +0000 | [diff] [blame] | 69 | <io.fabric8.version>0.33.0</io.fabric8.version> |
| 70 | <docker.apiVersion>2.2.54</docker.apiVersion> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 71 | <commons-lang.version>2.4</commons-lang.version> |
efiacor | e0d6e76 | 2020-08-26 15:14:21 +0100 | [diff] [blame] | 72 | <commons-io.version>2.7</commons-io.version> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 73 | <httpcore.version>4.4</httpcore.version> |
david.mcweeney | 8d903b8 | 2021-06-29 13:22:43 +0100 | [diff] [blame] | 74 | <httpclient.version>4.5.13</httpclient.version> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 75 | <junit-runner.version>0.11</junit-runner.version> |
| 76 | <junit.version>4.12</junit.version> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 77 | <mockito-core.version>3.3.3</mockito-core.version> |
| 78 | <byte-buddy-version>1.10.9</byte-buddy-version> |
| 79 | <powermock.version>2.0.7</powermock.version> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 80 | <commons-lang3.version>3.0</commons-lang3.version> |
| 81 | <eelf-core.version>1.0.0</eelf-core.version> |
efiacor | cb2d2a2 | 2021-08-17 10:52:23 +0100 | [diff] [blame] | 82 | <json.version>20210307</json.version> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 83 | <sl4j-api.version>1.7.25</sl4j-api.version> |
| 84 | <hamcrest-lib.version>1.3</hamcrest-lib.version> |
| 85 | <annotations.version>12.0</annotations.version> |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 86 | </properties> |
| 87 | <modules> |
| 88 | <module>datarouter-prov</module> |
| 89 | <module>datarouter-node</module> |
Fiachra Corcoran | 19620eb | 2018-08-27 17:59:42 +0100 | [diff] [blame] | 90 | <module>datarouter-subscriber</module> |
Piotr Darosz | 4aac89d | 2018-10-11 11:12:27 +0200 | [diff] [blame] | 91 | <module>datarouter-docker-compose</module> |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 92 | </modules> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 93 | <dependencyManagement> |
| 94 | <dependencies> |
| 95 | <dependency> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 96 | <groupId>org.apache.commons</groupId> |
| 97 | <artifactId>commons-lang3</artifactId> |
| 98 | <version>${commons-lang3.version}</version> |
| 99 | </dependency> |
| 100 | <dependency> |
| 101 | <groupId>com.att.eelf</groupId> |
| 102 | <artifactId>eelf-core</artifactId> |
| 103 | <version>${eelf-core.version}</version> |
| 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>org.json</groupId> |
| 107 | <artifactId>json</artifactId> |
| 108 | <version>${json.version}</version> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>org.slf4j</groupId> |
| 112 | <artifactId>slf4j-api</artifactId> |
| 113 | <version>${sl4j-api.version}</version> |
| 114 | </dependency> |
| 115 | <dependency> |
| 116 | <groupId>commons-codec</groupId> |
| 117 | <artifactId>commons-codec</artifactId> |
| 118 | <version>${commons-codec.version}</version> |
| 119 | </dependency> |
| 120 | <dependency> |
| 121 | <groupId>ch.qos.logback</groupId> |
| 122 | <artifactId>logback-classic</artifactId> |
| 123 | <version>${qos.logback.version}</version> |
| 124 | <scope>compile</scope> |
| 125 | </dependency> |
| 126 | <dependency> |
| 127 | <groupId>ch.qos.logback</groupId> |
| 128 | <artifactId>logback-core</artifactId> |
| 129 | <version>${qos.logback.version}</version> |
| 130 | <scope>compile</scope> |
| 131 | </dependency> |
| 132 | <dependency> |
| 133 | <groupId>com.intellij</groupId> |
| 134 | <artifactId>annotations</artifactId> |
| 135 | <version>${annotations.version}</version> |
| 136 | </dependency> |
| 137 | <dependency> |
| 138 | <groupId>javax.servlet</groupId> |
| 139 | <artifactId>javax.servlet-api</artifactId> |
| 140 | <version>${javax.servlet-api.version}</version> |
| 141 | <scope>compile</scope> |
| 142 | </dependency> |
| 143 | <dependency> |
| 144 | <groupId>javax.mail</groupId> |
| 145 | <artifactId>javax.mail-api</artifactId> |
| 146 | <version>${javax.mail-api.version}</version> |
| 147 | </dependency> |
| 148 | <dependency> |
| 149 | <groupId>org.eclipse.jetty</groupId> |
| 150 | <artifactId>jetty-server</artifactId> |
| 151 | <version>${jetty.version}</version> |
| 152 | </dependency> |
| 153 | <dependency> |
| 154 | <groupId>org.eclipse.jetty</groupId> |
| 155 | <artifactId>jetty-continuation</artifactId> |
| 156 | <version>${jetty.version}</version> |
| 157 | </dependency> |
| 158 | <dependency> |
| 159 | <groupId>org.eclipse.jetty</groupId> |
| 160 | <artifactId>jetty-util</artifactId> |
| 161 | <version>${jetty.version}</version> |
| 162 | </dependency> |
| 163 | <dependency> |
| 164 | <groupId>org.eclipse.jetty</groupId> |
| 165 | <artifactId>jetty-servlet</artifactId> |
| 166 | <version>${jetty.version}</version> |
| 167 | </dependency> |
| 168 | <dependency> |
| 169 | <groupId>org.eclipse.jetty</groupId> |
| 170 | <artifactId>jetty-http</artifactId> |
efiacor | cb2d2a2 | 2021-08-17 10:52:23 +0100 | [diff] [blame] | 171 | <version>9.4.43.v20210629</version> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 172 | </dependency> |
| 173 | <dependency> |
| 174 | <groupId>org.eclipse.jetty</groupId> |
| 175 | <artifactId>jetty-io</artifactId> |
| 176 | <version>${jetty.version}</version> |
| 177 | </dependency> |
| 178 | <dependency> |
| 179 | <groupId>org.eclipse.jetty.cdi</groupId> |
| 180 | <artifactId>cdi-websocket</artifactId> |
| 181 | <version>${jetty.version}</version> |
| 182 | </dependency> |
| 183 | <dependency> |
| 184 | <groupId>org.onap.aaf.authz</groupId> |
| 185 | <artifactId>aaf-cadi-core</artifactId> |
| 186 | <version>${aaf-cadi-aaf.version}</version> |
| 187 | </dependency> |
| 188 | <dependency> |
| 189 | <groupId>commons-io</groupId> |
| 190 | <artifactId>commons-io</artifactId> |
| 191 | <version>${commons-io.version}</version> |
| 192 | <scope>compile</scope> |
| 193 | </dependency> |
| 194 | <dependency> |
| 195 | <groupId>org.apache.httpcomponents</groupId> |
| 196 | <artifactId>httpcore</artifactId> |
| 197 | <version>${httpcore.version}</version> |
| 198 | </dependency> |
| 199 | <dependency> |
| 200 | <groupId>org.apache.httpcomponents</groupId> |
| 201 | <artifactId>httpclient</artifactId> |
| 202 | <version>${httpclient.version}</version> |
| 203 | </dependency> |
| 204 | <dependency> |
| 205 | <groupId>org.sonatype.http-testing-harness</groupId> |
| 206 | <artifactId>junit-runner</artifactId> |
| 207 | <version>${junit-runner.version}</version> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 208 | <scope>test</scope> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 209 | <exclusions> |
| 210 | <exclusion> |
| 211 | <groupId>org.databene</groupId> |
| 212 | <artifactId>contiperf</artifactId> |
| 213 | </exclusion> |
econwar | 74b69ed | 2019-04-26 13:32:21 +0000 | [diff] [blame] | 214 | <exclusion> |
| 215 | <groupId>com.thoughtworks.xstream</groupId> |
| 216 | <artifactId>xstream</artifactId> |
| 217 | </exclusion> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 218 | </exclusions> |
| 219 | </dependency> |
| 220 | <dependency> |
| 221 | <groupId>junit</groupId> |
| 222 | <artifactId>junit</artifactId> |
| 223 | <version>${junit.version}</version> |
| 224 | <scope>test</scope> |
| 225 | </dependency> |
| 226 | <dependency> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 227 | <groupId>org.hamcrest</groupId> |
| 228 | <artifactId>hamcrest-all</artifactId> |
| 229 | <version>${hamcrest-lib.version}</version> |
| 230 | <scope>test</scope> |
| 231 | </dependency> |
| 232 | <dependency> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 233 | <groupId>org.mockito</groupId> |
| 234 | <artifactId>mockito-core</artifactId> |
| 235 | <version>${mockito-core.version}</version> |
| 236 | <scope>test</scope> |
| 237 | </dependency> |
| 238 | <dependency> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 239 | <groupId>net.bytebuddy</groupId> |
| 240 | <artifactId>byte-buddy</artifactId> |
| 241 | <version>${byte-buddy-version}</version> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 242 | <scope>test</scope> |
| 243 | </dependency> |
| 244 | <dependency> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 245 | <groupId>net.bytebuddy</groupId> |
| 246 | <artifactId>byte-buddy-agent</artifactId> |
| 247 | <version>${byte-buddy-version}</version> |
| 248 | <scope>test</scope> |
| 249 | </dependency> |
| 250 | <dependency> |
| 251 | <groupId>org.objenesis</groupId> |
| 252 | <artifactId>objenesis</artifactId> |
| 253 | <version>3.1</version> |
| 254 | <scope>test</scope> |
| 255 | </dependency> |
| 256 | <dependency> |
| 257 | <groupId>org.javassist</groupId> |
| 258 | <artifactId>javassist</artifactId> |
| 259 | <version>3.27.0-GA</version> |
| 260 | <scope>test</scope> |
| 261 | </dependency> |
| 262 | <dependency> |
| 263 | <groupId>org.powermock</groupId> |
| 264 | <artifactId>powermock-api-mockito2</artifactId> |
| 265 | <version>${powermock.version}</version> |
| 266 | </dependency> |
| 267 | <dependency> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 268 | <groupId>org.powermock</groupId> |
| 269 | <artifactId>powermock-module-junit4</artifactId> |
| 270 | <version>${powermock.version}</version> |
| 271 | <scope>test</scope> |
| 272 | </dependency> |
| 273 | <dependency> |
| 274 | <groupId>org.powermock</groupId> |
| 275 | <artifactId>powermock-api-support</artifactId> |
| 276 | <version>${powermock.version}</version> |
| 277 | <scope>test</scope> |
| 278 | </dependency> |
| 279 | <dependency> |
| 280 | <groupId>org.powermock</groupId> |
| 281 | <artifactId>powermock-core</artifactId> |
| 282 | <version>${powermock.version}</version> |
| 283 | <scope>test</scope> |
| 284 | </dependency> |
| 285 | <dependency> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 286 | <groupId>org.powermock</groupId> |
| 287 | <artifactId>powermock-module-junit4-rule</artifactId> |
| 288 | <version>${powermock.version}</version> |
| 289 | <scope>test</scope> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 290 | </dependency> |
| 291 | </dependencies> |
| 292 | </dependencyManagement> |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 293 | <build> |
| 294 | <plugins> |
| 295 | <plugin> |
Fiachra Corcoran | 48d2152 | 2018-10-11 15:45:53 +0100 | [diff] [blame] | 296 | <groupId>org.apache.maven.plugins</groupId> |
| 297 | <artifactId>maven-surefire-plugin</artifactId> |
| 298 | <configuration> |
| 299 | <excludes> |
| 300 | <exclude>IntegrationSuite.java</exclude> |
| 301 | </excludes> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 302 | <argLine> |
efiacor | 5906de2 | 2020-04-16 14:59:07 +0100 | [diff] [blame] | 303 | ${surefireArgLine} --illegal-access=permit |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 304 | </argLine> |
| 305 | </configuration> |
| 306 | </plugin> |
| 307 | <plugin> |
| 308 | <groupId>org.apache.maven.plugins</groupId> |
| 309 | <artifactId>maven-failsafe-plugin</artifactId> |
| 310 | <configuration> |
| 311 | <argLine> |
| 312 | --illegal-access=permit |
| 313 | </argLine> |
Fiachra Corcoran | 48d2152 | 2018-10-11 15:45:53 +0100 | [diff] [blame] | 314 | </configuration> |
| 315 | </plugin> |
econwar | 7704d30 | 2019-04-03 10:40:26 +0000 | [diff] [blame] | 316 | <plugin> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 317 | <groupId>org.codehaus.mojo</groupId> |
| 318 | <artifactId>flatten-maven-plugin</artifactId> |
| 319 | <version>1.0.1</version> |
| 320 | <configuration> |
| 321 | <updatePomFile>true</updatePomFile> |
| 322 | <outputDirectory>target</outputDirectory> |
| 323 | </configuration> |
| 324 | <executions> |
| 325 | <execution> |
| 326 | <id>flatten</id> |
| 327 | <phase>process-resources</phase> |
| 328 | <goals> |
| 329 | <goal>flatten</goal> |
| 330 | </goals> |
| 331 | </execution> |
| 332 | </executions> |
| 333 | </plugin> |
| 334 | <plugin> |
econwar | 7704d30 | 2019-04-03 10:40:26 +0000 | [diff] [blame] | 335 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 336 | <executions> |
| 337 | <execution> |
| 338 | <id>onap-java-style</id> |
| 339 | <configuration> |
| 340 | <consoleOutput>false</consoleOutput> |
| 341 | </configuration> |
| 342 | </execution> |
| 343 | </executions> |
| 344 | </plugin> |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 345 | </plugins> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 346 | <pluginManagement> |
| 347 | <plugins> |
| 348 | <plugin> |
| 349 | <groupId>org.apache.maven.plugins</groupId> |
| 350 | <artifactId>maven-compiler-plugin</artifactId> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 351 | <configuration> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 352 | <source>${maven.compiler.source}</source> |
| 353 | <target>${maven.compiler.target}</target> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 354 | </configuration> |
| 355 | </plugin> |
| 356 | <plugin> |
| 357 | <groupId>org.apache.maven.plugins</groupId> |
| 358 | <artifactId>maven-dependency-plugin</artifactId> |
| 359 | <version>2.10</version> |
| 360 | <executions> |
| 361 | <execution> |
| 362 | <id>copy-dependencies</id> |
| 363 | <goals> |
| 364 | <goal>copy-dependencies</goal> |
| 365 | </goals> |
| 366 | <configuration> |
| 367 | <overWriteReleases>false</overWriteReleases> |
| 368 | <overWriteSnapshots>false</overWriteSnapshots> |
| 369 | <overWriteIfNewer>true</overWriteIfNewer> |
| 370 | </configuration> |
| 371 | </execution> |
| 372 | </executions> |
| 373 | </plugin> |
| 374 | <plugin> |
| 375 | <groupId>org.apache.maven.plugins</groupId> |
| 376 | <artifactId>maven-javadoc-plugin</artifactId> |
efiacor | 5906de2 | 2020-04-16 14:59:07 +0100 | [diff] [blame] | 377 | <version>3.2.0</version> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 378 | <configuration> |
| 379 | <failOnError>false</failOnError> |
| 380 | </configuration> |
| 381 | <executions> |
| 382 | <execution> |
| 383 | <id>attach-javadocs</id> |
| 384 | <goals> |
| 385 | <goal>jar</goal> |
| 386 | </goals> |
| 387 | </execution> |
| 388 | </executions> |
| 389 | </plugin> |
| 390 | <plugin> |
| 391 | <groupId>org.apache.maven.plugins</groupId> |
| 392 | <artifactId>maven-source-plugin</artifactId> |
| 393 | <version>2.2.1</version> |
| 394 | <executions> |
| 395 | <execution> |
| 396 | <id>attach-sources</id> |
| 397 | <goals> |
| 398 | <goal>jar-no-fork</goal> |
| 399 | </goals> |
| 400 | </execution> |
| 401 | </executions> |
| 402 | </plugin> |
| 403 | <plugin> |
| 404 | <groupId>org.codehaus.mojo</groupId> |
| 405 | <artifactId>cobertura-maven-plugin</artifactId> |
| 406 | <version>2.7</version> |
| 407 | <configuration> |
| 408 | <formats> |
| 409 | <format>html</format> |
| 410 | <format>xml</format> |
| 411 | </formats> |
| 412 | <check/> |
| 413 | </configuration> |
| 414 | </plugin> |
| 415 | <plugin> |
| 416 | <groupId>org.codehaus.gmaven</groupId> |
| 417 | <artifactId>gmaven-plugin</artifactId> |
| 418 | <version>${gmaven-plugin.version}</version> |
| 419 | <executions> |
| 420 | <execution> |
| 421 | <phase>validate</phase> |
| 422 | <goals> |
| 423 | <goal>execute</goal> |
| 424 | </goals> |
| 425 | <configuration> |
| 426 | <properties> |
| 427 | <ver>${project.version}</ver> |
| 428 | </properties> |
| 429 | <!-- Setup image tags per https://wiki.onap.org/display/DW/Independent+Versioning+and+Release+Process#IndependentVersioningandReleaseProcess-StandardizedDockerTagging --> |
| 430 | <source> |
| 431 | println 'ver: ' + project.properties['ver']; |
| 432 | if ( project.properties['ver'].endsWith("-SNAPSHOT") ) { |
| 433 | project.properties['dockertag1']=project.properties['ver'] + "-latest"; |
| 434 | project.properties['dockertag2']=project.properties['ver'] + "-" + project.properties['timestamp']; |
| 435 | } else { |
| 436 | project.properties['dockertag1']=project.properties['ver'] + "-STAGING-latest"; |
| 437 | project.properties['dockertag2']=project.properties['ver'] + "-STAGING-" + project.properties['timestamp']; |
| 438 | } |
| 439 | println 'docker tag 1: ' + project.properties['dockertag1']; |
| 440 | println 'docker tag 2: ' + project.properties['dockertag2']; |
| 441 | </source> |
| 442 | </configuration> |
| 443 | </execution> |
| 444 | </executions> |
| 445 | </plugin> |
| 446 | <plugin> |
| 447 | <groupId>io.fabric8</groupId> |
| 448 | <artifactId>docker-maven-plugin</artifactId> |
| 449 | <version>${io.fabric8.version}</version> |
| 450 | <configuration> |
| 451 | <skipBuild>${docker.skip.build}</skipBuild> |
| 452 | <verbose>${docker.verbose}</verbose> |
| 453 | <apiVersion>${docker.apiVersion}</apiVersion> |
| 454 | <pullRegistry>${docker.pull.registry}</pullRegistry> |
| 455 | <pushRegistry>${docker.push.registry}</pushRegistry> |
| 456 | </configuration> |
| 457 | </plugin> |
| 458 | <plugin> |
| 459 | <groupId>org.codehaus.mojo</groupId> |
| 460 | <artifactId>properties-maven-plugin</artifactId> |
| 461 | <version>1.0.0</version> |
| 462 | <executions> |
| 463 | <execution> |
| 464 | <phase>validate</phase> |
| 465 | <goals> |
| 466 | <goal>read-project-properties</goal> |
| 467 | </goals> |
| 468 | <configuration> |
| 469 | <files> |
| 470 | <file>../version.properties</file> |
| 471 | </files> |
| 472 | </configuration> |
| 473 | </execution> |
| 474 | </executions> |
| 475 | </plugin> |
| 476 | </plugins> |
| 477 | </pluginManagement> |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 478 | </build> |
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 479 | <pluginRepositories> |
| 480 | <pluginRepository> |
| 481 | <id>onap-plugin-snapshots</id> |
| 482 | <url>${onap.nexus.url}${snapshotNexusPath}</url> |
| 483 | </pluginRepository> |
| 484 | </pluginRepositories> |
| 485 | </project> |