sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 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
|
ezcoxem | 28ceb6a | 2018-08-03 15:20:17 +0100 | [diff] [blame] | 10 | *
|
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 11 | * http://www.apache.org/licenses/LICENSE-2.0
|
ezcoxem | 28ceb6a | 2018-08-03 15:20:17 +0100 | [diff] [blame] | 12 | *
|
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 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 | -->
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 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 | <parent>
|
| 26 | <groupId>org.onap.dmaap.datarouter</groupId>
|
| 27 | <artifactId>parent</artifactId>
|
| 28 | <version>1.0.1-SNAPSHOT</version>
|
| 29 | <relativePath>../pom.xml</relativePath>
|
| 30 | </parent>
|
| 31 | <artifactId>datarouter-prov</artifactId>
|
| 32 | <packaging>jar</packaging>
|
| 33 | <name>datarouter-prov</name>
|
| 34 | <url>https://github.com/att/DMAAP_DATAROUTER</url>
|
| 35 | <properties>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 36 | <sonar.language>java</sonar.language>
|
| 37 | <sonar.skip>false</sonar.skip>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 38 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 39 | <sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
|
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 40 |
|
| 41 | <docker.location>${basedir}/target/${artifactId}</docker.location>
|
| 42 | <datarouter.prov.image.name>onap/dmaap/datarouter-prov</datarouter.prov.image.name>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 43 | </properties>
|
| 44 | <dependencies>
|
| 45 | <dependency>
|
| 46 | <groupId>ch.qos.logback</groupId>
|
| 47 | <artifactId>logback-classic</artifactId>
|
| 48 | <version>1.2.0</version>
|
| 49 | <scope>compile</scope>
|
| 50 | </dependency>
|
| 51 | <dependency>
|
| 52 | <groupId>ch.qos.logback</groupId>
|
| 53 | <artifactId>logback-core</artifactId>
|
| 54 | <version>1.2.0</version>
|
| 55 | <scope>compile</scope>
|
| 56 | </dependency>
|
| 57 | <dependency>
|
Sunil Unnava | 1027909 | 2018-02-27 02:32:46 -0500 | [diff] [blame] | 58 | <groupId>com.thoughtworks.xstream</groupId>
|
| 59 | <artifactId>xstream</artifactId>
|
Ronan Keogh | 09a9e56 | 2018-08-17 11:20:54 +0100 | [diff] [blame] | 60 | <version>${thoughtworks.version}</version>
|
Sunil Unnava | 1027909 | 2018-02-27 02:32:46 -0500 | [diff] [blame] | 61 | </dependency>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 62 | <dependency>
|
| 63 | <groupId>org.json</groupId>
|
| 64 | <artifactId>json</artifactId>
|
| 65 | <version>20160810</version>
|
| 66 | </dependency>
|
| 67 | <dependency>
|
| 68 | <groupId>javax.mail</groupId>
|
| 69 | <artifactId>javax.mail-api</artifactId>
|
| 70 | <version>1.5.1</version>
|
| 71 | </dependency>
|
| 72 | <dependency>
|
| 73 | <groupId>com.att.eelf</groupId>
|
| 74 | <artifactId>eelf-core</artifactId>
|
| 75 | <version>0.0.1</version>
|
| 76 | </dependency>
|
| 77 | <dependency>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 78 | <groupId>org.eclipse.jetty</groupId>
|
| 79 | <artifactId>jetty-server</artifactId>
|
eronkeo | 85129f8 | 2018-08-14 17:58:28 +0100 | [diff] [blame] | 80 | <version>${jetty.version}</version>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 81 | </dependency>
|
| 82 | <dependency>
|
| 83 | <groupId>org.eclipse.jetty</groupId>
|
| 84 | <artifactId>jetty-continuation</artifactId>
|
eronkeo | 85129f8 | 2018-08-14 17:58:28 +0100 | [diff] [blame] | 85 | <version>${jetty.version}</version>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 86 | </dependency>
|
| 87 | <dependency>
|
| 88 | <groupId>org.eclipse.jetty</groupId>
|
| 89 | <artifactId>jetty-util</artifactId>
|
eronkeo | 85129f8 | 2018-08-14 17:58:28 +0100 | [diff] [blame] | 90 | <version>${jetty.version}</version>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 91 | </dependency>
|
| 92 | <dependency>
|
| 93 | <groupId>org.eclipse.jetty</groupId>
|
| 94 | <artifactId>jetty-deploy</artifactId>
|
eronkeo | 85129f8 | 2018-08-14 17:58:28 +0100 | [diff] [blame] | 95 | <version>${jetty.version}</version>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 96 | </dependency>
|
| 97 | <dependency>
|
| 98 | <groupId>org.eclipse.jetty</groupId>
|
| 99 | <artifactId>jetty-servlet</artifactId>
|
eronkeo | 85129f8 | 2018-08-14 17:58:28 +0100 | [diff] [blame] | 100 | <version>${jetty.version}</version>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 101 | </dependency>
|
| 102 | <dependency>
|
| 103 | <groupId>org.eclipse.jetty</groupId>
|
| 104 | <artifactId>jetty-servlets</artifactId>
|
eronkeo | 85129f8 | 2018-08-14 17:58:28 +0100 | [diff] [blame] | 105 | <version>${jetty.version}</version>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 106 | </dependency>
|
| 107 | <dependency>
|
| 108 | <groupId>org.eclipse.jetty</groupId>
|
| 109 | <artifactId>jetty-http</artifactId>
|
eronkeo | 85129f8 | 2018-08-14 17:58:28 +0100 | [diff] [blame] | 110 | <version>${jetty.version}</version>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 111 | </dependency>
|
| 112 | <dependency>
|
| 113 | <groupId>org.eclipse.jetty</groupId>
|
| 114 | <artifactId>jetty-security</artifactId>
|
eronkeo | 85129f8 | 2018-08-14 17:58:28 +0100 | [diff] [blame] | 115 | <version>${jetty.version}</version>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 116 | </dependency>
|
| 117 | <dependency>
|
| 118 | <groupId>org.eclipse.jetty</groupId>
|
| 119 | <artifactId>jetty-websocket</artifactId>
|
eronkeo | 85129f8 | 2018-08-14 17:58:28 +0100 | [diff] [blame] | 120 | <version>${jetty.websocket.version}</version>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 121 | </dependency>
|
| 122 | <dependency>
|
| 123 | <groupId>org.eclipse.jetty</groupId>
|
| 124 | <artifactId>jetty-io</artifactId>
|
eronkeo | 85129f8 | 2018-08-14 17:58:28 +0100 | [diff] [blame] | 125 | <version>${jetty.version}</version>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 126 | </dependency>
|
| 127 | <dependency>
|
| 128 | <groupId>org.apache.commons</groupId>
|
| 129 | <artifactId>commons-io</artifactId>
|
| 130 | <version>1.3.2</version>
|
| 131 | </dependency>
|
| 132 | <dependency>
|
| 133 | <groupId>commons-lang</groupId>
|
| 134 | <artifactId>commons-lang</artifactId>
|
| 135 | <version>2.4</version>
|
| 136 | </dependency>
|
| 137 | <dependency>
|
| 138 | <groupId>commons-io</groupId>
|
| 139 | <artifactId>commons-io</artifactId>
|
| 140 | <version>2.1</version>
|
| 141 | <scope>compile</scope>
|
| 142 | </dependency>
|
| 143 | <dependency>
|
| 144 | <groupId>org.apache.httpcomponents</groupId>
|
| 145 | <artifactId>httpcore</artifactId>
|
| 146 | <version>4.4</version>
|
| 147 | </dependency>
|
| 148 | <dependency>
|
| 149 | <groupId>org.mozilla</groupId>
|
| 150 | <artifactId>rhino</artifactId>
|
| 151 | <version>1.7R3</version>
|
| 152 | </dependency>
|
| 153 | <dependency>
|
| 154 | <groupId>org.apache.james</groupId>
|
| 155 | <artifactId>apache-mime4j-core</artifactId>
|
| 156 | <version>0.7</version>
|
| 157 | </dependency>
|
| 158 | <dependency>
|
| 159 | <groupId>org.apache.httpcomponents</groupId>
|
| 160 | <artifactId>httpclient</artifactId>
|
| 161 | <version>4.5.3</version>
|
| 162 | </dependency>
|
| 163 | <dependency>
|
| 164 | <groupId>org.sonatype.http-testing-harness</groupId>
|
| 165 | <artifactId>junit-runner</artifactId>
|
| 166 | <version>0.11</version>
|
| 167 | <exclusions>
|
| 168 | <exclusion>
|
| 169 | <groupId>org.databene</groupId>
|
| 170 | <artifactId>contiperf</artifactId>
|
| 171 | </exclusion>
|
| 172 | </exclusions>
|
| 173 | </dependency>
|
| 174 | <dependency>
|
| 175 | <groupId>junit</groupId>
|
| 176 | <artifactId>junit</artifactId>
|
| 177 | <version>4.10</version>
|
| 178 | <scope>test</scope>
|
| 179 | </dependency>
|
| 180 | <dependency>
|
| 181 | <groupId>org.mockito</groupId>
|
| 182 | <artifactId>mockito-core</artifactId>
|
| 183 | <version>1.10.19</version>
|
| 184 | <scope>test</scope>
|
| 185 | </dependency>
|
| 186 | <dependency>
|
| 187 | <groupId>org.powermock</groupId>
|
| 188 | <artifactId>powermock-module-junit4</artifactId>
|
| 189 | <version>1.6.4</version>
|
| 190 | <scope>test</scope>
|
| 191 | </dependency>
|
| 192 | <dependency>
|
| 193 | <groupId>org.powermock</groupId>
|
| 194 | <artifactId>powermock-api-mockito</artifactId>
|
| 195 | <version>1.6.4</version>
|
| 196 | <scope>test</scope>
|
| 197 | </dependency>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 198 | <dependency>
|
esobmar | dadcc32 | 2018-08-10 16:59:25 +0100 | [diff] [blame] | 199 | <groupId>org.apache.commons</groupId>
|
| 200 | <artifactId>commons-lang3</artifactId>
|
| 201 | <version>3.0</version>
|
| 202 | </dependency>
|
| 203 | <dependency>
|
Fiachra Corcoran | bce219c | 2018-08-07 22:19:13 +0100 | [diff] [blame] | 204 | <groupId>org.mariadb.jdbc</groupId>
|
| 205 | <artifactId>mariadb-java-client</artifactId>
|
| 206 | <version>2.2.5</version>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 207 | </dependency>
|
| 208 | <dependency>
|
| 209 | <groupId>org.eclipse.jetty.cdi</groupId>
|
| 210 | <artifactId>cdi-websocket</artifactId>
|
Ronan Keogh | 09a9e56 | 2018-08-17 11:20:54 +0100 | [diff] [blame] | 211 | <version>${jetty.version}</version>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 212 | </dependency>
|
| 213 | <dependency>
|
| 214 | <groupId>log4j</groupId>
|
| 215 | <artifactId>log4j</artifactId>
|
| 216 | <version>1.2.17</version>
|
| 217 | <scope>compile</scope>
|
| 218 | </dependency>
|
| 219 | </dependencies>
|
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 220 | <profiles>
|
| 221 | <profile>
|
| 222 | <id>docker</id>
|
| 223 | <properties>
|
ezcoxem | 28ceb6a | 2018-08-03 15:20:17 +0100 | [diff] [blame] | 224 | <skipDockerBuild>false</skipDockerBuild>
|
| 225 | <skipDockerTag>false</skipDockerTag>
|
| 226 | <skipTests>true</skipTests>
|
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 227 | </properties>
|
ezcoxem | 28ceb6a | 2018-08-03 15:20:17 +0100 | [diff] [blame] | 228 | <build>
|
| 229 | <plugins>
|
| 230 | <plugin>
|
| 231 | <groupId>com.spotify</groupId>
|
| 232 | <artifactId>docker-maven-plugin</artifactId>
|
| 233 | <version>1.0.0</version>
|
| 234 | <configuration>
|
| 235 | <imageName>${onap.nexus.dockerregistry.daily}/${datarouter.prov.image.name}</imageName>
|
| 236 | <dockerDirectory>${docker.location}</dockerDirectory>
|
| 237 | <serverId>${onap.nexus.dockerregistry.daily}</serverId>
|
| 238 | <skipDockerBuild>false</skipDockerBuild>
|
| 239 | <imageTags>
|
| 240 | <imageTag>${project.version}</imageTag>
|
| 241 | <imageTag>latest</imageTag>
|
| 242 | </imageTags>
|
| 243 | <forceTags>true</forceTags>
|
| 244 | <resources>
|
| 245 | <resource>
|
| 246 | <targetPath>/</targetPath>
|
| 247 | <directory>${project.basedir}</directory>
|
| 248 | <excludes>
|
| 249 | <exclude>target/**/*</exclude>
|
| 250 | <exclude>pom.xml</exclude>
|
| 251 | </excludes>
|
| 252 | </resource>
|
| 253 |
|
| 254 | <resource>
|
| 255 | <targetPath>/</targetPath>
|
| 256 | <directory>${project.build.directory}</directory>
|
| 257 | <include>**/**</include>
|
| 258 | </resource>
|
| 259 | </resources>
|
| 260 | </configuration>
|
| 261 | </plugin>
|
| 262 | </plugins>
|
| 263 | </build>
|
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 264 | </profile>
|
| 265 | </profiles>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 266 | <build>
|
| 267 | <finalName>datarouter-prov</finalName>
|
| 268 | <resources>
|
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 269 | <resource>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 270 | <directory>src/main/resources</directory>
|
| 271 | <filtering>true</filtering>
|
| 272 | <includes>
|
| 273 | <include>**/*.properties</include>
|
| 274 | </includes>
|
| 275 | </resource>
|
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 276 | <resource>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 277 | <directory>src/main/resources</directory>
|
| 278 | <filtering>true</filtering>
|
| 279 | <includes>
|
Fiachra Corcoran | 19620eb | 2018-08-27 17:59:42 +0100 | [diff] [blame^] | 280 | <include>**/provserver.properties</include>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 281 | </includes>
|
| 282 | </resource>
|
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 283 | <resource>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 284 | <directory>src/main/resources</directory>
|
| 285 | <filtering>true</filtering>
|
| 286 | <includes>
|
| 287 | <include>**/EelfMessages.properties</include>
|
| 288 | </includes>
|
| 289 | </resource>
|
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 290 | <resource>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 291 | <directory>src/main/resources</directory>
|
| 292 | <filtering>true</filtering>
|
| 293 | <includes>
|
| 294 | <include>**/log4j.properties</include>
|
| 295 | </includes>
|
| 296 | </resource>
|
Fiachra Corcoran | bce219c | 2018-08-07 22:19:13 +0100 | [diff] [blame] | 297 | <resource>
|
| 298 | <directory>src/test/resources</directory>
|
| 299 | <filtering>true</filtering>
|
| 300 | <includes>
|
| 301 | <include>**/log4j.properties</include>
|
| 302 | </includes>
|
| 303 | </resource>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 304 | </resources>
|
| 305 | <plugins>
|
| 306 | <plugin>
|
| 307 | <artifactId>maven-assembly-plugin</artifactId>
|
| 308 | <version>2.4</version>
|
| 309 | <configuration>
|
| 310 | <descriptorRefs>
|
| 311 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
| 312 | </descriptorRefs>
|
| 313 | <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
|
| 314 | <archive>
|
| 315 | <manifest>
|
| 316 | <addClasspath>true</addClasspath>
|
| 317 | <mainClass>org.onap.dmaap.datarouter.provisioning.Main</mainClass>
|
| 318 | </manifest>
|
| 319 | </archive>
|
| 320 | </configuration>
|
| 321 | <executions>
|
| 322 | <execution>
|
| 323 | <id>make-assembly</id>
|
| 324 | <!-- this is used for inheritance merges -->
|
| 325 | <phase>package</phase>
|
| 326 | <!-- bind to the packaging phase -->
|
| 327 | <goals>
|
| 328 | <goal>single</goal>
|
| 329 | </goals>
|
| 330 | </execution>
|
| 331 | </executions>
|
| 332 | </plugin>
|
| 333 | <plugin>
|
| 334 | <groupId>org.apache.maven.plugins</groupId>
|
| 335 | <artifactId>maven-compiler-plugin</artifactId>
|
| 336 | <configuration>
|
| 337 | <source>1.8</source>
|
| 338 | <target>1.8</target>
|
| 339 | </configuration>
|
| 340 | <version>3.6.0</version>
|
| 341 | </plugin>
|
| 342 | <plugin>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 343 | <artifactId>maven-resources-plugin</artifactId>
|
| 344 | <version>2.7</version>
|
| 345 | <executions>
|
| 346 | <execution>
|
| 347 | <id>copy-docker-file</id>
|
| 348 | <phase>package</phase>
|
| 349 | <goals>
|
| 350 | <goal>copy-resources</goal>
|
| 351 | </goals>
|
| 352 | <configuration>
|
| 353 | <outputDirectory>${docker.location}</outputDirectory>
|
| 354 | <overwrite>true</overwrite>
|
| 355 | <resources>
|
| 356 | <resource>
|
| 357 | <directory>${basedir}/src/main/resources/docker</directory>
|
| 358 | <filtering>true</filtering>
|
| 359 | <includes>
|
| 360 | <include>**/*</include>
|
| 361 | </includes>
|
| 362 | </resource>
|
| 363 | </resources>
|
| 364 | </configuration>
|
| 365 | </execution>
|
| 366 | <execution>
|
| 367 | <id>copy-resources-1</id>
|
| 368 | <phase>validate</phase>
|
| 369 | <goals>
|
| 370 | <goal>copy-resources</goal>
|
| 371 | </goals>
|
| 372 | <configuration>
|
| 373 | <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
|
| 374 | <resources>
|
| 375 | <resource>
|
| 376 | <directory>${project.basedir}/src/main/resources</directory>
|
| 377 | <includes>
|
| 378 | <include>**/*.jar</include>
|
| 379 | </includes>
|
| 380 | </resource>
|
| 381 | </resources>
|
| 382 | </configuration>
|
| 383 | </execution>
|
| 384 | <execution>
|
| 385 | <id>copy-resources-2</id>
|
| 386 | <phase>validate</phase>
|
| 387 | <goals>
|
| 388 | <goal>copy-resources</goal>
|
| 389 | </goals>
|
| 390 | <configuration>
|
| 391 | <outputDirectory>${basedir}/target/opt/app/datartr/etc</outputDirectory>
|
| 392 | <resources>
|
| 393 | <resource>
|
| 394 | <directory>${basedir}/src/main/resources</directory>
|
| 395 | <includes>
|
| 396 | <include>misc/**</include>
|
| 397 | <include>**/**</include>
|
| 398 | </includes>
|
| 399 | </resource>
|
| 400 | </resources>
|
| 401 | </configuration>
|
| 402 | </execution>
|
| 403 | <execution>
|
| 404 | <id>copy-resources-3</id>
|
| 405 | <phase>validate</phase>
|
| 406 | <goals>
|
| 407 | <goal>copy-resources</goal>
|
| 408 | </goals>
|
| 409 | <configuration>
|
| 410 | <outputDirectory>${basedir}/target/opt/app/datartr</outputDirectory>
|
| 411 | <resources>
|
| 412 | <resource>
|
| 413 | <directory>${basedir}/data</directory>
|
| 414 | <includes>
|
| 415 | <include>misc/**</include>
|
| 416 | <include>**/**</include>
|
| 417 | </includes>
|
| 418 | </resource>
|
| 419 | </resources>
|
| 420 | </configuration>
|
| 421 | </execution>
|
| 422 | <execution>
|
| 423 | <id>copy-resources-4</id>
|
| 424 | <phase>validate</phase>
|
| 425 | <goals>
|
| 426 | <goal>copy-resources</goal>
|
| 427 | </goals>
|
| 428 | <configuration>
|
| 429 | <outputDirectory>${basedir}/target/opt/app/datartr/self_signed</outputDirectory>
|
| 430 | <resources>
|
| 431 | <resource>
|
| 432 | <directory>${basedir}/self_signed</directory>
|
| 433 | <includes>
|
| 434 | <include>misc/**</include>
|
| 435 | <include>**/**</include>
|
| 436 | </includes>
|
| 437 | </resource>
|
| 438 | </resources>
|
| 439 | </configuration>
|
| 440 | </execution>
|
| 441 | </executions>
|
| 442 | </plugin>
|
| 443 | <plugin>
|
| 444 | <groupId>org.apache.maven.plugins</groupId>
|
| 445 | <artifactId>maven-dependency-plugin</artifactId>
|
| 446 | <version>2.10</version>
|
| 447 | <executions>
|
| 448 | <execution>
|
| 449 | <id>copy-dependencies</id>
|
| 450 | <phase>package</phase>
|
| 451 | <goals>
|
| 452 | <goal>copy-dependencies</goal>
|
| 453 | </goals>
|
| 454 | <configuration>
|
| 455 | <outputDirectory>${project.build.directory}/opt/app/datartr/lib</outputDirectory>
|
| 456 | <overWriteReleases>false</overWriteReleases>
|
| 457 | <overWriteSnapshots>false</overWriteSnapshots>
|
| 458 | <overWriteIfNewer>true</overWriteIfNewer>
|
| 459 | </configuration>
|
| 460 | </execution>
|
| 461 | </executions>
|
| 462 | </plugin>
|
| 463 | <plugin>
|
| 464 | <groupId>org.apache.maven.plugins</groupId>
|
| 465 | <artifactId>maven-javadoc-plugin</artifactId>
|
| 466 | <configuration>
|
| 467 | <failOnError>false</failOnError>
|
| 468 | </configuration>
|
| 469 | <executions>
|
| 470 | <execution>
|
| 471 | <id>attach-javadocs</id>
|
| 472 | <goals>
|
| 473 | <goal>jar</goal>
|
| 474 | </goals>
|
| 475 | </execution>
|
| 476 | </executions>
|
| 477 | </plugin>
|
| 478 | <plugin>
|
| 479 | <groupId>org.apache.maven.plugins</groupId>
|
| 480 | <artifactId>maven-source-plugin</artifactId>
|
| 481 | <version>2.2.1</version>
|
| 482 | <executions>
|
| 483 | <execution>
|
| 484 | <id>attach-sources</id>
|
| 485 | <goals>
|
| 486 | <goal>jar-no-fork</goal>
|
| 487 | </goals>
|
| 488 | </execution>
|
| 489 | </executions>
|
| 490 | </plugin>
|
| 491 | <plugin>
|
| 492 | <groupId>org.codehaus.mojo</groupId>
|
| 493 | <artifactId>cobertura-maven-plugin</artifactId>
|
| 494 | <version>2.7</version>
|
| 495 | <configuration>
|
| 496 | <formats>
|
| 497 | <format>html</format>
|
| 498 | <format>xml</format>
|
| 499 | </formats>
|
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 500 | <check/>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 501 | </configuration>
|
| 502 | </plugin>
|
| 503 | <plugin>
|
| 504 | <groupId>org.sonatype.plugins</groupId>
|
| 505 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
| 506 | <version>1.6.7</version>
|
| 507 | <extensions>true</extensions>
|
| 508 | <configuration>
|
eronkeo | dcb5aef | 2018-08-07 16:58:43 +0100 | [diff] [blame] | 509 | <nexusUrl>${onap.nexus.url}</nexusUrl>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 510 | <stagingProfileId>176c31dfe190a</stagingProfileId>
|
| 511 | <serverId>ecomp-staging</serverId>
|
| 512 | </configuration>
|
| 513 | </plugin>
|
| 514 | <plugin>
|
| 515 | <groupId>org.jacoco</groupId>
|
| 516 | <artifactId>jacoco-maven-plugin</artifactId>
|
| 517 | <version>${jacoco.version}</version>
|
| 518 | <configuration>
|
| 519 | <excludes>
|
| 520 | <exclude>**/gen/**</exclude>
|
| 521 | <exclude>**/generated-sources/**</exclude>
|
| 522 | <exclude>**/yang-gen/**</exclude>
|
| 523 | <exclude>**/pax/**</exclude>
|
| 524 | </excludes>
|
| 525 | </configuration>
|
| 526 | <executions>
|
| 527 | <execution>
|
| 528 | <id>pre-unit-test</id>
|
| 529 | <goals>
|
| 530 | <goal>prepare-agent</goal>
|
| 531 | </goals>
|
| 532 | <configuration>
|
| 533 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
|
| 534 | <propertyName>surefireArgLine</propertyName>
|
| 535 | </configuration>
|
| 536 | </execution>
|
| 537 | <execution>
|
| 538 | <id>post-unit-test</id>
|
| 539 | <phase>test</phase>
|
| 540 | <goals>
|
| 541 | <goal>report</goal>
|
| 542 | </goals>
|
| 543 | <configuration>
|
| 544 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
|
| 545 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
|
| 546 | </configuration>
|
| 547 | </execution>
|
| 548 | <execution>
|
| 549 | <id>pre-integration-test</id>
|
| 550 | <phase>pre-integration-test</phase>
|
| 551 | <goals>
|
| 552 | <goal>prepare-agent</goal>
|
| 553 | </goals>
|
| 554 | <configuration>
|
| 555 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
|
| 556 | <propertyName>failsafeArgLine</propertyName>
|
| 557 | </configuration>
|
| 558 | </execution>
|
| 559 | <execution>
|
| 560 | <id>post-integration-test</id>
|
| 561 | <phase>post-integration-test</phase>
|
| 562 | <goals>
|
| 563 | <goal>report</goal>
|
| 564 | </goals>
|
| 565 | <configuration>
|
| 566 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
|
| 567 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
|
| 568 | </configuration>
|
| 569 | </execution>
|
| 570 | </executions>
|
| 571 | </plugin>
|
| 572 | </plugins>
|
| 573 | </build>
|
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 574 | </project>
|