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