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>
|
econwar | d6e999b | 2018-09-05 16:10:01 +0000 | [diff] [blame] | 48 | <version>${qos.logback.version}</version>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 49 | <scope>compile</scope>
|
| 50 | </dependency>
|
| 51 | <dependency>
|
| 52 | <groupId>ch.qos.logback</groupId>
|
| 53 | <artifactId>logback-core</artifactId>
|
econwar | d6e999b | 2018-09-05 16:10:01 +0000 | [diff] [blame] | 54 | <version>${qos.logback.version}</version>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 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>
|
econwar | 8ef486f | 2018-08-31 11:36:11 +0000 | [diff] [blame] | 219 | <dependency>
|
| 220 | <groupId>com.h2database</groupId>
|
| 221 | <artifactId>h2</artifactId>
|
| 222 | <version>1.4.197</version>
|
| 223 | </dependency>
|
| 224 | <dependency>
|
| 225 | <groupId>org.hibernate</groupId>
|
| 226 | <artifactId>hibernate-entitymanager</artifactId>
|
| 227 | <version>5.2.9.Final</version>
|
| 228 | </dependency>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 229 | </dependencies>
|
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 230 | <profiles>
|
| 231 | <profile>
|
| 232 | <id>docker</id>
|
| 233 | <properties>
|
ezcoxem | 28ceb6a | 2018-08-03 15:20:17 +0100 | [diff] [blame] | 234 | <skipDockerBuild>false</skipDockerBuild>
|
| 235 | <skipDockerTag>false</skipDockerTag>
|
| 236 | <skipTests>true</skipTests>
|
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 237 | </properties>
|
ezcoxem | 28ceb6a | 2018-08-03 15:20:17 +0100 | [diff] [blame] | 238 | <build>
|
| 239 | <plugins>
|
| 240 | <plugin>
|
| 241 | <groupId>com.spotify</groupId>
|
| 242 | <artifactId>docker-maven-plugin</artifactId>
|
| 243 | <version>1.0.0</version>
|
| 244 | <configuration>
|
| 245 | <imageName>${onap.nexus.dockerregistry.daily}/${datarouter.prov.image.name}</imageName>
|
| 246 | <dockerDirectory>${docker.location}</dockerDirectory>
|
| 247 | <serverId>${onap.nexus.dockerregistry.daily}</serverId>
|
| 248 | <skipDockerBuild>false</skipDockerBuild>
|
| 249 | <imageTags>
|
| 250 | <imageTag>${project.version}</imageTag>
|
| 251 | <imageTag>latest</imageTag>
|
| 252 | </imageTags>
|
| 253 | <forceTags>true</forceTags>
|
| 254 | <resources>
|
| 255 | <resource>
|
| 256 | <targetPath>/</targetPath>
|
| 257 | <directory>${project.basedir}</directory>
|
| 258 | <excludes>
|
| 259 | <exclude>target/**/*</exclude>
|
| 260 | <exclude>pom.xml</exclude>
|
| 261 | </excludes>
|
| 262 | </resource>
|
| 263 |
|
| 264 | <resource>
|
| 265 | <targetPath>/</targetPath>
|
| 266 | <directory>${project.build.directory}</directory>
|
| 267 | <include>**/**</include>
|
| 268 | </resource>
|
| 269 | </resources>
|
| 270 | </configuration>
|
| 271 | </plugin>
|
| 272 | </plugins>
|
| 273 | </build>
|
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 274 | </profile>
|
| 275 | </profiles>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 276 | <build>
|
| 277 | <finalName>datarouter-prov</finalName>
|
| 278 | <resources>
|
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 279 | <resource>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 280 | <directory>src/main/resources</directory>
|
| 281 | <filtering>true</filtering>
|
| 282 | <includes>
|
| 283 | <include>**/*.properties</include>
|
| 284 | </includes>
|
| 285 | </resource>
|
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 286 | <resource>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 287 | <directory>src/main/resources</directory>
|
| 288 | <filtering>true</filtering>
|
| 289 | <includes>
|
Fiachra Corcoran | 19620eb | 2018-08-27 17:59:42 +0100 | [diff] [blame] | 290 | <include>**/provserver.properties</include>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 291 | </includes>
|
| 292 | </resource>
|
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 293 | <resource>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 294 | <directory>src/main/resources</directory>
|
| 295 | <filtering>true</filtering>
|
| 296 | <includes>
|
| 297 | <include>**/EelfMessages.properties</include>
|
| 298 | </includes>
|
| 299 | </resource>
|
sg481n | aaf2df8 | 2017-08-03 17:56:38 -0400 | [diff] [blame] | 300 | <resource>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 301 | <directory>src/main/resources</directory>
|
| 302 | <filtering>true</filtering>
|
| 303 | <includes>
|
| 304 | <include>**/log4j.properties</include>
|
| 305 | </includes>
|
| 306 | </resource>
|
Fiachra Corcoran | bce219c | 2018-08-07 22:19:13 +0100 | [diff] [blame] | 307 | <resource>
|
| 308 | <directory>src/test/resources</directory>
|
| 309 | <filtering>true</filtering>
|
| 310 | <includes>
|
| 311 | <include>**/log4j.properties</include>
|
| 312 | </includes>
|
| 313 | </resource>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 314 | </resources>
|
| 315 | <plugins>
|
| 316 | <plugin>
|
| 317 | <artifactId>maven-assembly-plugin</artifactId>
|
| 318 | <version>2.4</version>
|
| 319 | <configuration>
|
| 320 | <descriptorRefs>
|
| 321 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
| 322 | </descriptorRefs>
|
| 323 | <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
|
| 324 | <archive>
|
| 325 | <manifest>
|
| 326 | <addClasspath>true</addClasspath>
|
| 327 | <mainClass>org.onap.dmaap.datarouter.provisioning.Main</mainClass>
|
| 328 | </manifest>
|
| 329 | </archive>
|
| 330 | </configuration>
|
| 331 | <executions>
|
| 332 | <execution>
|
| 333 | <id>make-assembly</id>
|
| 334 | <!-- this is used for inheritance merges -->
|
| 335 | <phase>package</phase>
|
| 336 | <!-- bind to the packaging phase -->
|
| 337 | <goals>
|
| 338 | <goal>single</goal>
|
| 339 | </goals>
|
| 340 | </execution>
|
| 341 | </executions>
|
| 342 | </plugin>
|
| 343 | <plugin>
|
| 344 | <groupId>org.apache.maven.plugins</groupId>
|
| 345 | <artifactId>maven-compiler-plugin</artifactId>
|
| 346 | <configuration>
|
| 347 | <source>1.8</source>
|
| 348 | <target>1.8</target>
|
| 349 | </configuration>
|
| 350 | <version>3.6.0</version>
|
| 351 | </plugin>
|
| 352 | <plugin>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 353 | <artifactId>maven-resources-plugin</artifactId>
|
| 354 | <version>2.7</version>
|
| 355 | <executions>
|
| 356 | <execution>
|
| 357 | <id>copy-docker-file</id>
|
| 358 | <phase>package</phase>
|
| 359 | <goals>
|
| 360 | <goal>copy-resources</goal>
|
| 361 | </goals>
|
| 362 | <configuration>
|
| 363 | <outputDirectory>${docker.location}</outputDirectory>
|
| 364 | <overwrite>true</overwrite>
|
| 365 | <resources>
|
| 366 | <resource>
|
| 367 | <directory>${basedir}/src/main/resources/docker</directory>
|
| 368 | <filtering>true</filtering>
|
| 369 | <includes>
|
| 370 | <include>**/*</include>
|
| 371 | </includes>
|
| 372 | </resource>
|
| 373 | </resources>
|
| 374 | </configuration>
|
| 375 | </execution>
|
| 376 | <execution>
|
| 377 | <id>copy-resources-1</id>
|
| 378 | <phase>validate</phase>
|
| 379 | <goals>
|
| 380 | <goal>copy-resources</goal>
|
| 381 | </goals>
|
| 382 | <configuration>
|
| 383 | <outputDirectory>${basedir}/target/opt/app/datartr/lib</outputDirectory>
|
| 384 | <resources>
|
| 385 | <resource>
|
| 386 | <directory>${project.basedir}/src/main/resources</directory>
|
| 387 | <includes>
|
| 388 | <include>**/*.jar</include>
|
| 389 | </includes>
|
| 390 | </resource>
|
| 391 | </resources>
|
| 392 | </configuration>
|
| 393 | </execution>
|
| 394 | <execution>
|
| 395 | <id>copy-resources-2</id>
|
| 396 | <phase>validate</phase>
|
| 397 | <goals>
|
| 398 | <goal>copy-resources</goal>
|
| 399 | </goals>
|
| 400 | <configuration>
|
| 401 | <outputDirectory>${basedir}/target/opt/app/datartr/etc</outputDirectory>
|
| 402 | <resources>
|
| 403 | <resource>
|
| 404 | <directory>${basedir}/src/main/resources</directory>
|
| 405 | <includes>
|
| 406 | <include>misc/**</include>
|
| 407 | <include>**/**</include>
|
| 408 | </includes>
|
| 409 | </resource>
|
| 410 | </resources>
|
| 411 | </configuration>
|
| 412 | </execution>
|
| 413 | <execution>
|
| 414 | <id>copy-resources-3</id>
|
| 415 | <phase>validate</phase>
|
| 416 | <goals>
|
| 417 | <goal>copy-resources</goal>
|
| 418 | </goals>
|
| 419 | <configuration>
|
| 420 | <outputDirectory>${basedir}/target/opt/app/datartr</outputDirectory>
|
| 421 | <resources>
|
| 422 | <resource>
|
| 423 | <directory>${basedir}/data</directory>
|
| 424 | <includes>
|
| 425 | <include>misc/**</include>
|
| 426 | <include>**/**</include>
|
| 427 | </includes>
|
| 428 | </resource>
|
| 429 | </resources>
|
| 430 | </configuration>
|
| 431 | </execution>
|
| 432 | <execution>
|
| 433 | <id>copy-resources-4</id>
|
| 434 | <phase>validate</phase>
|
| 435 | <goals>
|
| 436 | <goal>copy-resources</goal>
|
| 437 | </goals>
|
| 438 | <configuration>
|
Ronan Keogh | ce73ff5 | 2018-08-23 11:04:45 +0100 | [diff] [blame] | 439 | <outputDirectory>${basedir}/target/opt/app/datartr/aaf_certs</outputDirectory>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 440 | <resources>
|
| 441 | <resource>
|
Ronan Keogh | ce73ff5 | 2018-08-23 11:04:45 +0100 | [diff] [blame] | 442 | <directory>${basedir}/aaf_certs</directory>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 443 | <includes>
|
| 444 | <include>misc/**</include>
|
| 445 | <include>**/**</include>
|
| 446 | </includes>
|
| 447 | </resource>
|
| 448 | </resources>
|
| 449 | </configuration>
|
| 450 | </execution>
|
| 451 | </executions>
|
| 452 | </plugin>
|
| 453 | <plugin>
|
| 454 | <groupId>org.apache.maven.plugins</groupId>
|
| 455 | <artifactId>maven-dependency-plugin</artifactId>
|
| 456 | <version>2.10</version>
|
| 457 | <executions>
|
| 458 | <execution>
|
| 459 | <id>copy-dependencies</id>
|
| 460 | <phase>package</phase>
|
| 461 | <goals>
|
| 462 | <goal>copy-dependencies</goal>
|
| 463 | </goals>
|
| 464 | <configuration>
|
| 465 | <outputDirectory>${project.build.directory}/opt/app/datartr/lib</outputDirectory>
|
| 466 | <overWriteReleases>false</overWriteReleases>
|
| 467 | <overWriteSnapshots>false</overWriteSnapshots>
|
| 468 | <overWriteIfNewer>true</overWriteIfNewer>
|
| 469 | </configuration>
|
| 470 | </execution>
|
| 471 | </executions>
|
| 472 | </plugin>
|
| 473 | <plugin>
|
| 474 | <groupId>org.apache.maven.plugins</groupId>
|
| 475 | <artifactId>maven-javadoc-plugin</artifactId>
|
| 476 | <configuration>
|
| 477 | <failOnError>false</failOnError>
|
| 478 | </configuration>
|
| 479 | <executions>
|
| 480 | <execution>
|
| 481 | <id>attach-javadocs</id>
|
| 482 | <goals>
|
| 483 | <goal>jar</goal>
|
| 484 | </goals>
|
| 485 | </execution>
|
| 486 | </executions>
|
| 487 | </plugin>
|
| 488 | <plugin>
|
| 489 | <groupId>org.apache.maven.plugins</groupId>
|
| 490 | <artifactId>maven-source-plugin</artifactId>
|
| 491 | <version>2.2.1</version>
|
| 492 | <executions>
|
| 493 | <execution>
|
| 494 | <id>attach-sources</id>
|
| 495 | <goals>
|
| 496 | <goal>jar-no-fork</goal>
|
| 497 | </goals>
|
| 498 | </execution>
|
| 499 | </executions>
|
| 500 | </plugin>
|
| 501 | <plugin>
|
| 502 | <groupId>org.codehaus.mojo</groupId>
|
| 503 | <artifactId>cobertura-maven-plugin</artifactId>
|
| 504 | <version>2.7</version>
|
| 505 | <configuration>
|
| 506 | <formats>
|
| 507 | <format>html</format>
|
| 508 | <format>xml</format>
|
| 509 | </formats>
|
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 510 | <check/>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 511 | </configuration>
|
| 512 | </plugin>
|
| 513 | <plugin>
|
| 514 | <groupId>org.sonatype.plugins</groupId>
|
| 515 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
| 516 | <version>1.6.7</version>
|
| 517 | <extensions>true</extensions>
|
| 518 | <configuration>
|
eronkeo | dcb5aef | 2018-08-07 16:58:43 +0100 | [diff] [blame] | 519 | <nexusUrl>${onap.nexus.url}</nexusUrl>
|
Fiachra Corcoran | fa1da98 | 2018-07-26 07:23:34 +0100 | [diff] [blame] | 520 | <stagingProfileId>176c31dfe190a</stagingProfileId>
|
| 521 | <serverId>ecomp-staging</serverId>
|
| 522 | </configuration>
|
| 523 | </plugin>
|
| 524 | <plugin>
|
| 525 | <groupId>org.jacoco</groupId>
|
| 526 | <artifactId>jacoco-maven-plugin</artifactId>
|
| 527 | <version>${jacoco.version}</version>
|
| 528 | <configuration>
|
| 529 | <excludes>
|
| 530 | <exclude>**/gen/**</exclude>
|
| 531 | <exclude>**/generated-sources/**</exclude>
|
| 532 | <exclude>**/yang-gen/**</exclude>
|
| 533 | <exclude>**/pax/**</exclude>
|
| 534 | </excludes>
|
| 535 | </configuration>
|
| 536 | <executions>
|
| 537 | <execution>
|
| 538 | <id>pre-unit-test</id>
|
| 539 | <goals>
|
| 540 | <goal>prepare-agent</goal>
|
| 541 | </goals>
|
| 542 | <configuration>
|
| 543 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
|
| 544 | <propertyName>surefireArgLine</propertyName>
|
| 545 | </configuration>
|
| 546 | </execution>
|
| 547 | <execution>
|
| 548 | <id>post-unit-test</id>
|
| 549 | <phase>test</phase>
|
| 550 | <goals>
|
| 551 | <goal>report</goal>
|
| 552 | </goals>
|
| 553 | <configuration>
|
| 554 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
|
| 555 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
|
| 556 | </configuration>
|
| 557 | </execution>
|
| 558 | <execution>
|
| 559 | <id>pre-integration-test</id>
|
| 560 | <phase>pre-integration-test</phase>
|
| 561 | <goals>
|
| 562 | <goal>prepare-agent</goal>
|
| 563 | </goals>
|
| 564 | <configuration>
|
| 565 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
|
| 566 | <propertyName>failsafeArgLine</propertyName>
|
| 567 | </configuration>
|
| 568 | </execution>
|
| 569 | <execution>
|
| 570 | <id>post-integration-test</id>
|
| 571 | <phase>post-integration-test</phase>
|
| 572 | <goals>
|
| 573 | <goal>report</goal>
|
| 574 | </goals>
|
| 575 | <configuration>
|
| 576 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
|
| 577 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
|
| 578 | </configuration>
|
| 579 | </execution>
|
| 580 | </executions>
|
| 581 | </plugin>
|
| 582 | </plugins>
|
| 583 | </build>
|
ezcoxem | da23b25 | 2018-07-31 15:54:56 +0100 | [diff] [blame] | 584 | </project>
|