eronkeo | 1841cb5 | 2018-08-12 15:46:43 +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. |
Alexander Mazuruk | 3ae776d | 2021-02-17 21:36:03 +0100 | [diff] [blame^] | 7 | * Modifications Copyright (C) 2021 Samsung Electronics. All rights reserved. |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 8 | * =========================================================================== |
| 9 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | * you may not use this file except in compliance with the License. |
| 11 | * You may obtain a copy of the License at |
| 12 | * |
| 13 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | * |
| 15 | * Unless required by applicable law or agreed to in writing, software |
| 16 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | * See the License for the specific language governing permissions and |
| 19 | * limitations under the License. |
| 20 | * ============LICENSE_END==================================================== |
| 21 | * |
| 22 | * ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 23 | * |
| 24 | --> |
| 25 | <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"> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <parent> |
| 28 | <groupId>org.onap.dmaap.datarouter</groupId> |
| 29 | <artifactId>parent</artifactId> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 30 | <version>${revision}</version> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 31 | <relativePath>../pom.xml</relativePath> |
| 32 | </parent> |
| 33 | <artifactId>datarouter-node</artifactId> |
| 34 | <packaging>jar</packaging> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 35 | <url>https://docs.onap.org/en/latest/submodules/dmaap/datarouter.git/docs/index.html</url> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 36 | <properties> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 37 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 38 | <docker.location>${basedir}/target/${project.artifactId}</docker.location> |
| 39 | <datarouter.node.image.name>${docker.image.root}${project.artifactId}</datarouter.node.image.name> |
efiacor | f20778f | 2019-07-23 16:22:03 +0000 | [diff] [blame] | 40 | <sonar.exclusions>src/main/java/org/onap/dmaap/datarouter/node/NodeMain.java</sonar.exclusions> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 41 | <sonar.language>java</sonar.language> |
| 42 | <sonar.skip>false</sonar.skip> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 43 | </properties> |
| 44 | <dependencies> |
| 45 | <dependency> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 46 | <groupId>org.apache.commons</groupId> |
| 47 | <artifactId>commons-lang3</artifactId> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.slf4j</groupId> |
| 51 | <artifactId>slf4j-api</artifactId> |
edepaul | 555b7fc | 2018-09-11 08:07:16 +0100 | [diff] [blame] | 52 | </dependency> |
| 53 | <dependency> |
edepaul | 12c71a5 | 2018-09-07 16:27:01 +0100 | [diff] [blame] | 54 | <groupId>commons-codec</groupId> |
| 55 | <artifactId>commons-codec</artifactId> |
edepaul | 12c71a5 | 2018-09-07 16:27:01 +0100 | [diff] [blame] | 56 | </dependency> |
| 57 | <dependency> |
efiacor | c466fbd | 2019-06-25 11:01:10 +0000 | [diff] [blame] | 58 | <groupId>commons-io</groupId> |
| 59 | <artifactId>commons-io</artifactId> |
| 60 | </dependency> |
| 61 | <dependency> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 62 | <groupId>org.json</groupId> |
| 63 | <artifactId>json</artifactId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 64 | </dependency> |
| 65 | <dependency> |
| 66 | <groupId>com.att.eelf</groupId> |
| 67 | <artifactId>eelf-core</artifactId> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 68 | <exclusions> |
| 69 | <exclusion> |
| 70 | <artifactId>powermock-api-mockito</artifactId> |
| 71 | <groupId>org.powermock</groupId> |
| 72 | </exclusion> |
| 73 | </exclusions> |
EmmettCox | b60213d | 2019-04-08 10:34:31 +0000 | [diff] [blame] | 74 | </dependency> |
| 75 | <dependency> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 76 | <groupId>ch.qos.logback</groupId> |
| 77 | <artifactId>logback-classic</artifactId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 78 | </dependency> |
| 79 | <dependency> |
| 80 | <groupId>ch.qos.logback</groupId> |
| 81 | <artifactId>logback-core</artifactId> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 82 | </dependency> |
| 83 | <dependency> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 84 | <groupId>javax.servlet</groupId> |
| 85 | <artifactId>javax.servlet-api</artifactId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 86 | </dependency> |
| 87 | <dependency> |
| 88 | <groupId>org.eclipse.jetty</groupId> |
| 89 | <artifactId>jetty-server</artifactId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 90 | </dependency> |
| 91 | <dependency> |
| 92 | <groupId>org.eclipse.jetty</groupId> |
| 93 | <artifactId>jetty-util</artifactId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 94 | </dependency> |
| 95 | <dependency> |
| 96 | <groupId>org.eclipse.jetty</groupId> |
| 97 | <artifactId>jetty-servlet</artifactId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 98 | </dependency> |
| 99 | <dependency> |
| 100 | <groupId>org.eclipse.jetty</groupId> |
| 101 | <artifactId>jetty-http</artifactId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 102 | </dependency> |
| 103 | <dependency> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 104 | <groupId>org.onap.aaf.authz</groupId> |
| 105 | <artifactId>aaf-cadi-core</artifactId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 106 | </dependency> |
| 107 | <dependency> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 108 | <groupId>com.intellij</groupId> |
| 109 | <artifactId>annotations</artifactId> |
| 110 | </dependency> |
| 111 | <dependency> |
| 112 | <groupId>org.hamcrest</groupId> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 113 | <artifactId>hamcrest-all</artifactId> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 114 | <scope>test</scope> |
| 115 | </dependency> |
| 116 | <dependency> |
| 117 | <groupId>junit</groupId> |
| 118 | <artifactId>junit</artifactId> |
| 119 | <scope>test</scope> |
| 120 | </dependency> |
| 121 | <dependency> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 122 | <groupId>org.sonatype.http-testing-harness</groupId> |
| 123 | <artifactId>junit-runner</artifactId> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 124 | <scope>test</scope> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 125 | <exclusions> |
| 126 | <exclusion> |
| 127 | <artifactId>powermock-api-mockito</artifactId> |
| 128 | <groupId>org.powermock</groupId> |
| 129 | </exclusion> |
| 130 | <exclusion> |
| 131 | <artifactId>powermock-reflect</artifactId> |
| 132 | <groupId>org.powermock</groupId> |
| 133 | </exclusion> |
| 134 | <exclusion> |
| 135 | <artifactId>jetty-security</artifactId> |
| 136 | <groupId>org.eclipse.jetty</groupId> |
| 137 | </exclusion> |
| 138 | <exclusion> |
| 139 | <artifactId>jsr305</artifactId> |
| 140 | <groupId>com.google.code.findbugs</groupId> |
| 141 | </exclusion> |
| 142 | </exclusions> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 143 | </dependency> |
| 144 | <dependency> |
econwar | 81734bd | 2018-08-23 13:46:30 +0000 | [diff] [blame] | 145 | <groupId>org.mockito</groupId> |
| 146 | <artifactId>mockito-core</artifactId> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 147 | <scope>test</scope> |
econwar | 81734bd | 2018-08-23 13:46:30 +0000 | [diff] [blame] | 148 | </dependency> |
| 149 | <dependency> |
| 150 | <groupId>org.powermock</groupId> |
| 151 | <artifactId>powermock-module-junit4</artifactId> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 152 | <scope>test</scope> |
econwar | 81734bd | 2018-08-23 13:46:30 +0000 | [diff] [blame] | 153 | </dependency> |
| 154 | <dependency> |
| 155 | <groupId>org.powermock</groupId> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 156 | <artifactId>powermock-api-mockito2</artifactId> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 157 | <scope>test</scope> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 158 | </dependency> |
| 159 | <dependency> |
| 160 | <groupId>org.powermock</groupId> |
| 161 | <artifactId>powermock-api-support</artifactId> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 162 | <scope>test</scope> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 163 | </dependency> |
| 164 | <dependency> |
| 165 | <groupId>org.powermock</groupId> |
| 166 | <artifactId>powermock-core</artifactId> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 167 | <scope>test</scope> |
efiacor | 5775de7 | 2019-03-26 14:29:01 +0000 | [diff] [blame] | 168 | </dependency> |
econwar | 5a55b79 | 2019-06-24 11:03:58 +0000 | [diff] [blame] | 169 | <dependency> |
efiacor | 8552e04 | 2020-04-04 17:51:53 +0100 | [diff] [blame] | 170 | <groupId>org.powermock</groupId> |
| 171 | <artifactId>powermock-module-junit4-rule</artifactId> |
| 172 | </dependency> |
| 173 | <dependency> |
| 174 | <groupId>net.bytebuddy</groupId> |
| 175 | <artifactId>byte-buddy</artifactId> |
| 176 | </dependency> |
| 177 | <dependency> |
| 178 | <groupId>net.bytebuddy</groupId> |
| 179 | <artifactId>byte-buddy-agent</artifactId> |
| 180 | </dependency> |
| 181 | <dependency> |
| 182 | <groupId>org.objenesis</groupId> |
| 183 | <artifactId>objenesis</artifactId> |
| 184 | </dependency> |
| 185 | <dependency> |
| 186 | <groupId>org.javassist</groupId> |
| 187 | <artifactId>javassist</artifactId> |
| 188 | </dependency> |
| 189 | <dependency> |
econwar | 5a55b79 | 2019-06-24 11:03:58 +0000 | [diff] [blame] | 190 | <groupId>org.awaitility</groupId> |
| 191 | <artifactId>awaitility</artifactId> |
| 192 | <version>3.1.6</version> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 193 | <scope>test</scope> |
econwar | 5a55b79 | 2019-06-24 11:03:58 +0000 | [diff] [blame] | 194 | </dependency> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 195 | </dependencies> |
| 196 | <profiles> |
| 197 | <profile> |
| 198 | <id>docker</id> |
| 199 | <properties> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 200 | <skipTests>true</skipTests> |
| 201 | </properties> |
| 202 | <build> |
| 203 | <plugins> |
| 204 | <plugin> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 205 | <groupId>org.codehaus.gmaven</groupId> |
| 206 | <artifactId>gmaven-plugin</artifactId> |
sandovalfr | efad461 | 2019-03-04 09:31:59 -0500 | [diff] [blame] | 207 | </plugin> |
| 208 | <plugin> |
| 209 | <groupId>io.fabric8</groupId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 210 | <artifactId>docker-maven-plugin</artifactId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 211 | <configuration> |
sandovalfr | efad461 | 2019-03-04 09:31:59 -0500 | [diff] [blame] | 212 | <images> |
| 213 | <image> |
| 214 | <name>${datarouter.node.image.name}</name> |
| 215 | <build> |
| 216 | <cleanup>try</cleanup> |
efiacor | d20d5f5 | 2020-02-27 16:46:20 +0000 | [diff] [blame] | 217 | <noCache>true</noCache> |
| 218 | <optimise>true</optimise> |
| 219 | <contextDir>${basedir}/target/docker-stage</contextDir> |
sandovalfr | efad461 | 2019-03-04 09:31:59 -0500 | [diff] [blame] | 220 | <dockerFile>Dockerfile</dockerFile> |
| 221 | <tags> |
| 222 | <tag>${dockertag1}</tag> |
| 223 | <tag>${dockertag2}</tag> |
| 224 | </tags> |
| 225 | </build> |
| 226 | </image> |
| 227 | </images> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 228 | </configuration> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 229 | <executions> |
| 230 | <execution> |
| 231 | <id>generate-images</id> |
| 232 | <phase>install</phase> |
| 233 | <goals> |
| 234 | <goal>build</goal> |
| 235 | </goals> |
| 236 | </execution> |
| 237 | <execution> |
| 238 | <id>push-images</id> |
| 239 | <phase>deploy</phase> |
| 240 | <goals> |
| 241 | <goal>push</goal> |
| 242 | </goals> |
| 243 | </execution> |
| 244 | </executions> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 245 | </plugin> |
| 246 | </plugins> |
| 247 | </build> |
| 248 | </profile> |
| 249 | </profiles> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 250 | <build> |
| 251 | <finalName>datarouter-node</finalName> |
| 252 | <resources> |
| 253 | <resource> |
| 254 | <directory>src/main/resources</directory> |
| 255 | <filtering>true</filtering> |
| 256 | <includes> |
| 257 | <include>**/*.properties</include> |
| 258 | </includes> |
| 259 | </resource> |
| 260 | <resource> |
| 261 | <directory>src/main/resources</directory> |
| 262 | <filtering>true</filtering> |
| 263 | <includes> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 264 | <include>**/logback.xml</include> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 265 | </includes> |
| 266 | </resource> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 267 | </resources> |
| 268 | <plugins> |
| 269 | <plugin> |
| 270 | <groupId>org.apache.maven.plugins</groupId> |
| 271 | <artifactId>maven-compiler-plugin</artifactId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 272 | </plugin> |
| 273 | <plugin> |
| 274 | <artifactId>maven-assembly-plugin</artifactId> |
| 275 | <version>2.4</version> |
| 276 | <configuration> |
| 277 | <descriptorRefs> |
| 278 | <descriptorRef>jar-with-dependencies</descriptorRef> |
| 279 | </descriptorRefs> |
sandovalfr | efad461 | 2019-03-04 09:31:59 -0500 | [diff] [blame] | 280 | <outputDirectory>${basedir}/target/docker-stage/opt/app/datartr/lib</outputDirectory> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 281 | <archive> |
| 282 | <manifest> |
| 283 | <addClasspath>true</addClasspath> |
efiacor | adb2ad2 | 2019-10-23 15:31:43 +0100 | [diff] [blame] | 284 | <mainClass>org.onap.dmaap.datarouter.node.NodeRunner</mainClass> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 285 | </manifest> |
| 286 | </archive> |
| 287 | </configuration> |
| 288 | <executions> |
| 289 | <execution> |
| 290 | <id>make-assembly</id> |
| 291 | <!-- this is used for inheritance merges --> |
| 292 | <phase>package</phase> |
| 293 | <!-- bind to the packaging phase --> |
| 294 | <goals> |
| 295 | <goal>single</goal> |
| 296 | </goals> |
| 297 | </execution> |
| 298 | </executions> |
| 299 | </plugin> |
| 300 | <plugin> |
| 301 | <groupId>org.apache.maven.plugins</groupId> |
| 302 | <artifactId>maven-resources-plugin</artifactId> |
| 303 | <version>2.7</version> |
| 304 | <executions> |
| 305 | <execution> |
| 306 | <id>copy-docker-file</id> |
sandovalfr | efad461 | 2019-03-04 09:31:59 -0500 | [diff] [blame] | 307 | <phase>validate</phase> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 308 | <goals> |
| 309 | <goal>copy-resources</goal> |
| 310 | </goals> |
| 311 | <configuration> |
sandovalfr | efad461 | 2019-03-04 09:31:59 -0500 | [diff] [blame] | 312 | <outputDirectory>${basedir}/target/docker-stage</outputDirectory> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 313 | <overwrite>true</overwrite> |
| 314 | <resources> |
| 315 | <resource> |
| 316 | <directory>${basedir}/src/main/resources/docker</directory> |
| 317 | <filtering>true</filtering> |
| 318 | <includes> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 319 | <include>Dockerfile</include> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 320 | </includes> |
| 321 | </resource> |
| 322 | </resources> |
| 323 | </configuration> |
| 324 | </execution> |
| 325 | <execution> |
sandovalfr | efad461 | 2019-03-04 09:31:59 -0500 | [diff] [blame] | 326 | <id>copy-startup-script</id> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 327 | <phase>validate</phase> |
| 328 | <goals> |
| 329 | <goal>copy-resources</goal> |
| 330 | </goals> |
| 331 | <configuration> |
sandovalfr | efad461 | 2019-03-04 09:31:59 -0500 | [diff] [blame] | 332 | <outputDirectory>${basedir}/target/docker-stage/opt</outputDirectory> |
| 333 | <overwrite>true</overwrite> |
| 334 | <resources> |
| 335 | <resource> |
| 336 | <directory>${basedir}/src/main/resources/docker</directory> |
| 337 | <filtering>true</filtering> |
| 338 | <includes> |
| 339 | <include>startup.sh</include> |
| 340 | </includes> |
| 341 | </resource> |
| 342 | </resources> |
| 343 | </configuration> |
| 344 | </execution> |
| 345 | <execution> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 346 | <id>copy-resources-etc</id> |
sandovalfr | efad461 | 2019-03-04 09:31:59 -0500 | [diff] [blame] | 347 | <phase>validate</phase> |
| 348 | <goals> |
| 349 | <goal>copy-resources</goal> |
| 350 | </goals> |
| 351 | <configuration> |
| 352 | <outputDirectory>${basedir}/target/docker-stage/opt/app/datartr/etc</outputDirectory> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 353 | <resources> |
| 354 | <resource> |
| 355 | <directory>${basedir}/src/main/resources</directory> |
| 356 | <includes> |
| 357 | <include>misc/**</include> |
| 358 | <include>**/**</include> |
| 359 | </includes> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 360 | <excludes> |
| 361 | <exclude>aaf/**</exclude> |
| 362 | <exclude>docker/**</exclude> |
| 363 | </excludes> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 364 | </resource> |
| 365 | </resources> |
| 366 | </configuration> |
| 367 | </execution> |
| 368 | <execution> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 369 | <id>copy-aaf-props</id> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 370 | <phase>validate</phase> |
| 371 | <goals> |
| 372 | <goal>copy-resources</goal> |
| 373 | </goals> |
| 374 | <configuration> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 375 | <outputDirectory>${basedir}/target/docker-stage/opt/app/osaaf/local</outputDirectory> |
sandovalfr | efad461 | 2019-03-04 09:31:59 -0500 | [diff] [blame] | 376 | <resources> |
| 377 | <resource> |
efiacor | 1ccd9c3 | 2019-10-08 16:24:28 +0100 | [diff] [blame] | 378 | <directory>${basedir}/src/main/resources/aaf</directory> |
sandovalfr | efad461 | 2019-03-04 09:31:59 -0500 | [diff] [blame] | 379 | <includes> |
sandovalfr | efad461 | 2019-03-04 09:31:59 -0500 | [diff] [blame] | 380 | <include>**/**</include> |
| 381 | </includes> |
| 382 | </resource> |
| 383 | </resources> |
| 384 | </configuration> |
| 385 | </execution> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 386 | </executions> |
| 387 | </plugin> |
| 388 | <plugin> |
| 389 | <groupId>org.apache.maven.plugins</groupId> |
| 390 | <artifactId>maven-javadoc-plugin</artifactId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 391 | </plugin> |
| 392 | <plugin> |
| 393 | <groupId>org.apache.maven.plugins</groupId> |
| 394 | <artifactId>maven-source-plugin</artifactId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 395 | </plugin> |
| 396 | <plugin> |
| 397 | <groupId>org.codehaus.mojo</groupId> |
| 398 | <artifactId>cobertura-maven-plugin</artifactId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 399 | </plugin> |
| 400 | <plugin> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 401 | <groupId>org.jacoco</groupId> |
| 402 | <artifactId>jacoco-maven-plugin</artifactId> |
efiacor | f20778f | 2019-07-23 16:22:03 +0000 | [diff] [blame] | 403 | <configuration> |
| 404 | <excludes> |
efiacor | adb2ad2 | 2019-10-23 15:31:43 +0100 | [diff] [blame] | 405 | <exclude>src/main/java/org/onap/dmaap/datarouter/node/NodeRunner.java</exclude> |
efiacor | f20778f | 2019-07-23 16:22:03 +0000 | [diff] [blame] | 406 | </excludes> |
| 407 | </configuration> |
efiacor | 1c11ab8 | 2019-04-09 13:52:17 +0000 | [diff] [blame] | 408 | </plugin> |
| 409 | <plugin> |
| 410 | <groupId>org.codehaus.mojo</groupId> |
| 411 | <artifactId>properties-maven-plugin</artifactId> |
eronkeo | 1841cb5 | 2018-08-12 15:46:43 +0100 | [diff] [blame] | 412 | </plugin> |
| 413 | </plugins> |
| 414 | </build> |
| 415 | </project> |