blob: 60a7a11b460f2e503fd9626d26bdd7ad6883947c [file] [log] [blame]
sg481nbd890c52017-08-28 12:11:35 -04001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START====================================================
4 * org.onap.aaf
5 * ===========================================================================
6 * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
7 * ===========================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END====================================================
20 *
21 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 *
23-->
24<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 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.aaf.authz</groupId>
29 <artifactId>parent</artifactId>
sg481na2ac6782017-09-18 16:35:50 -040030 <version>1.0.1-SNAPSHOT</version>
sg481nbd890c52017-08-28 12:11:35 -040031 <relativePath>../pom.xml</relativePath>
32 </parent>
33
34 <artifactId>authz-service</artifactId>
35 <name>Authz Service</name>
36 <description>API for Authorization and Authentication</description>
37 <url>https://github.com/att/AAF</url>
38 <licenses>
39 <license>
40 <name>BSD License</name>
41 <url> </url>
42 </license>
43 </licenses>
44 <developers>
45 <developer>
46 <name>Jonathan Gathman</name>
47 <email></email>
48 <organization>ATT</organization>
49 <organizationUrl></organizationUrl>
50 </developer>
51 </developers>
52
53 <properties>
sg481nc7499ee2017-09-24 04:05:00 +000054 <maven.build.timestamp.format>yyyy.MM.dd'T'hh.mm.ss'Z'</maven.build.timestamp.format>
sg481n08e11042017-09-29 12:33:53 +000055 <maven.test.failure.ignore>true</maven.test.failure.ignore>
56 <project.swmVersion>1</project.swmVersion>
sg481na2ac6782017-09-18 16:35:50 -040057 <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
58 <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
sg481nb0012ae2017-09-24 05:39:19 +000059 <dockerLocation>${basedir}/target/</dockerLocation>
sg481ndc5fcf12017-09-15 13:06:30 -040060 <distFilesRootDirPath>opt/app/aaf/${project.artifactId}/${project.version}</distFilesRootDirPath>
sg481n40cd3562017-09-01 13:12:31 -040061 <sonar.language>java</sonar.language>
62 <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
63 <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
64 <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
65 <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
sg481nf33ea6d2017-10-01 17:28:44 +000066 <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
sg481n40cd3562017-09-01 13:12:31 -040067 <sonar.projectVersion>${project.version}</sonar.projectVersion>
sg481nbd890c52017-08-28 12:11:35 -040068 <nexusproxy>https://nexus.onap.org</nexusproxy>
sg481n29638552017-09-25 00:49:17 +000069 <docker.push.registry>localhost:5000</docker.push.registry>
sg481nbd890c52017-08-28 12:11:35 -040070 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
71 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
72 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
sg481na9d21082017-09-23 14:26:06 +000073 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
sg481nc7499ee2017-09-24 04:05:00 +000074 <skip.docker.build>true</skip.docker.build>
75 <skip.docker.push>true</skip.docker.push>
76 <skip.staging.artifacts>false</skip.staging.artifacts>
sg481nbd890c52017-08-28 12:11:35 -040077 </properties>
78
79
80 <dependencies>
81 <dependency>
82 <groupId>org.onap.aaf.authz</groupId>
83 <artifactId>authz-client</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040084 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040085 </dependency>
sg481ndc5fcf12017-09-15 13:06:30 -040086
87 <dependency>
88 <groupId>org.onap.aaf.authz</groupId>
89 <artifactId>authz-cmd</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040090 <version>${project.version}</version>
sg481ndc5fcf12017-09-15 13:06:30 -040091 </dependency>
sg481nbd890c52017-08-28 12:11:35 -040092 <dependency>
93 <groupId>org.onap.aaf.authz</groupId>
94 <artifactId>authz-core</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -040095 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -040096 <exclusions>
97 <exclusion>
98 <groupId>javax.servlet</groupId>
99 <artifactId>servlet-api</artifactId>
100 </exclusion>
101 </exclusions>
102 </dependency>
103
104 <dependency>
105 <groupId>org.onap.aaf.authz</groupId>
106 <artifactId>authz-cass</artifactId>
sg481n5c30b7f2017-09-17 11:37:00 -0400107 <version>${project.version}</version>
sg481nbd890c52017-08-28 12:11:35 -0400108 </dependency>
109
110 <dependency>
111 <groupId>org.onap.aaf.authz</groupId>
112 <artifactId>authz-defOrg</artifactId>
113 <version>${project.version}</version>
114 </dependency>
115
116
117
118 <dependency >
119 <groupId>org.onap.aaf.inno</groupId>
120 <artifactId>env</artifactId>
sg481na2ac6782017-09-18 16:35:50 -0400121 <version>${project.innoVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -0400122 </dependency>
123
124
125 <dependency>
126 <groupId>org.onap.aaf.cadi</groupId>
127 <artifactId>cadi-core</artifactId>
sg481na2ac6782017-09-18 16:35:50 -0400128 <version>${project.cadiVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -0400129 </dependency>
130
131 <dependency>
132 <groupId>com.att.aft</groupId>
133 <artifactId>dme2</artifactId>
134 </dependency>
135
136 <dependency>
137 <groupId>org.onap.aaf.inno</groupId>
138 <artifactId>rosetta</artifactId>
sg481na2ac6782017-09-18 16:35:50 -0400139 <version>${project.innoVersion}</version>
sg481nbd890c52017-08-28 12:11:35 -0400140 </dependency>
141 <dependency>
142 <groupId>org.onap.aaf.cadi</groupId>
143 <artifactId>cadi-aaf</artifactId>
sg481na2ac6782017-09-18 16:35:50 -0400144 <version>${project.cadiVersion}</version>
sg481ndc5fcf12017-09-15 13:06:30 -0400145 </dependency>
sg481nbd890c52017-08-28 12:11:35 -0400146 </dependencies>
sg481n2bc35382017-09-23 15:50:15 +0000147
sg481nc7499ee2017-09-24 04:05:00 +0000148
sg481nbd890c52017-08-28 12:11:35 -0400149 <build>
sg481n29638552017-09-25 00:49:17 +0000150 <finalName>authz-service</finalName>
sg481nbd890c52017-08-28 12:11:35 -0400151 <plugins>
sg481nc7499ee2017-09-24 04:05:00 +0000152
sg481na9d21082017-09-23 14:26:06 +0000153
sg481nc7499ee2017-09-24 04:05:00 +0000154<plugin>
155 <groupId>com.spotify</groupId>
156 <artifactId>docker-maven-plugin</artifactId>
157 <version>1.0.0</version>
158 <configuration>
159 <imageName>onap/aaf/authz-service</imageName>
sg481ncd577642017-09-24 21:23:40 +0000160 <!-- <dockerDirectory>${dockerLocation}</dockerDirectory> -->
161 <dockerDirectory>${basedir}/src/main/resources/docker</dockerDirectory>
sg481nc7499ee2017-09-24 04:05:00 +0000162 <imageTags>
163 <imageTag>latest</imageTag>
164 <imageTag>${project.docker.latesttagtimestamp.version}</imageTag>
165 <imageTag>${project.docker.latesttag.version}</imageTag>
166 </imageTags>
167 <forceTags>true</forceTags>
sg481ncd577642017-09-24 21:23:40 +0000168 <!-- <resources>
sg481nc7499ee2017-09-24 04:05:00 +0000169 <resource>
170 <targetPath>/</targetPath>
sg481nb0012ae2017-09-24 05:39:19 +0000171 <directory>${project.build.directory}/opt</directory>
sg481nc7499ee2017-09-24 04:05:00 +0000172 <filtering>true</filtering>
173 <includes>
sg481ncd577642017-09-24 21:23:40 +0000174 <include>**/**</include>
sg481nc7499ee2017-09-24 04:05:00 +0000175 </includes>
176 </resource>
sg481ncd577642017-09-24 21:23:40 +0000177 </resources> -->
178 <resources>
179 <resource>
180 <targetPath>/</targetPath>
181 <directory>${project.build.directory}/opt</directory>
182 <include>${project.build.finalName}.jar</include>
183 </resource>
184 <resource>
185 <targetPath>/</targetPath>
186 <directory>${project.build.directory}</directory>
187 <include>**/**</include>
188 </resource>
189 </resources>
sg481nb0012ae2017-09-24 05:39:19 +0000190 </configuration>
sg481nc7499ee2017-09-24 04:05:00 +0000191 <executions>
sg481ncd577642017-09-24 21:23:40 +0000192 <execution>
sg481n1e538f72017-09-24 02:12:15 +0000193 <id>build-image</id>
194 <phase>package</phase>
195 <goals>
196 <goal>build</goal>
197 </goals>
198 <configuration>
199 <skipDockerBuild>${skip.docker.build}</skipDockerBuild>
sg481n1e538f72017-09-24 02:12:15 +0000200 </configuration>
sg481ncd577642017-09-24 21:23:40 +0000201 </execution>
sg481nc7499ee2017-09-24 04:05:00 +0000202
203 <execution>
sg481n0492cd02017-09-24 23:08:44 +0000204 <id>tag-image-project-version</id>
sg481nc7499ee2017-09-24 04:05:00 +0000205 <phase>package</phase>
206 <goals>
207 <goal>tag</goal>
208 </goals>
209 <configuration>
210 <image>onap/aaf/authz-service</image>
sg481n29638552017-09-25 00:49:17 +0000211 <newName>${docker.push.registry}/onap/aaf/authz-service:${project.version}</newName>
sg481nc7499ee2017-09-24 04:05:00 +0000212 <skipDockerTag>${skip.docker.push}</skipDockerTag>
213 </configuration>
214 </execution>
sg481n0492cd02017-09-24 23:08:44 +0000215
216 <execution>
sg481nc7499ee2017-09-24 04:05:00 +0000217 <id>tag-image-latest</id>
218 <phase>package</phase>
219 <goals>
220 <goal>tag</goal>
221 </goals>
222 <configuration>
223 <image>onap/aaf/authz-service</image>
sg481n29638552017-09-25 00:49:17 +0000224 <newName>${docker.push.registry}/onap/aaf/authz-service:latest</newName>
sg481nc7499ee2017-09-24 04:05:00 +0000225 <skipDockerTag>${skip.docker.push}</skipDockerTag>
226 </configuration>
227 </execution>
sg481n0492cd02017-09-24 23:08:44 +0000228
229 <execution>
230 <id>push-image-latest</id>
231 <phase>deploy</phase>
232 <goals>
233 <goal>push</goal>
234 </goals>
235 <configuration>
sg481n29638552017-09-25 00:49:17 +0000236 <imageName>${docker.push.registry}/onap/aaf/authz-service:${project.version}</imageName>
sg481n0492cd02017-09-24 23:08:44 +0000237 <skipDockerPush>${skip.docker.push}</skipDockerPush>
238 </configuration>
239 </execution>
240
sg481nc7499ee2017-09-24 04:05:00 +0000241 <execution>
242 <id>push-image</id>
243 <phase>deploy</phase>
244 <goals>
245 <goal>push</goal>
246 </goals>
247 <configuration>
sg481n29638552017-09-25 00:49:17 +0000248 <imageName>${docker.push.registry}/onap/aaf/authz-service:latest</imageName>
sg481nc7499ee2017-09-24 04:05:00 +0000249 <skipDockerPush>${skip.docker.push}</skipDockerPush>
250 </configuration>
251 </execution>
252 </executions>
253 </plugin>
254
sg481nb0012ae2017-09-24 05:39:19 +0000255 <plugin>
sg481n1e538f72017-09-24 02:12:15 +0000256 <artifactId>maven-resources-plugin</artifactId>
257 <version>2.7</version>
258 <executions>
sg481nb0012ae2017-09-24 05:39:19 +0000259 <execution>
sg481na9d21082017-09-23 14:26:06 +0000260 <id>copy-docker-file</id>
261 <phase>package</phase>
262 <goals>
263 <goal>copy-resources</goal>
264 </goals>
265 <configuration>
266 <outputDirectory>${dockerLocation}</outputDirectory>
267 <overwrite>true</overwrite>
268 <resources>
269 <resource>
270 <directory>${basedir}/src/main/resources/docker</directory>
271 <filtering>true</filtering>
272 <includes>
273 <include>**/*</include>
274 </includes>
275 </resource>
276 </resources>
277 </configuration>
sg481nb0012ae2017-09-24 05:39:19 +0000278 </execution>
sg481ndc5fcf12017-09-15 13:06:30 -0400279 <execution>
280 <id>copy-resources-1</id>
281 <phase>validate</phase>
282 <goals>
283 <goal>copy-resources</goal>
284 </goals>
285 <configuration>
286 <outputDirectory>${project.build.directory}/opt/dme2reg/</outputDirectory>
287 <resources>
288 <resource>
289 <directory>${project.basedir}/src/main/resources/dme2reg/</directory>
290 <includes>
291 <include>**/*.txt</include>
292 </includes>
293 </resource>
294 </resources>
295 </configuration>
296 </execution>
297 <execution>
298 <id>copy-resources-2</id>
299 <phase>validate</phase>
300 <goals>
301 <goal>copy-resources</goal>
302 </goals>
303 <configuration>
sg481na2ac6782017-09-18 16:35:50 -0400304 <outputDirectory>${project.build.directory}/opt/app/aaf/authz-service/etc</outputDirectory>
sg481ndc5fcf12017-09-15 13:06:30 -0400305 <resources>
306 <resource>
307 <directory>${project.basedir}/src/main/resources/etc</directory>
308 <includes>
309 <include>**/**</include>
310 </includes>
311 </resource>
312 </resources>
313 </configuration>
314 </execution>
315
316 <execution>
317 <id>copy-resources-3</id>
318 <phase>validate</phase>
319 <goals>
320 <goal>copy-resources</goal>
321 </goals>
322 <configuration>
sg481na2ac6782017-09-18 16:35:50 -0400323 <outputDirectory>${project.build.directory}/opt/app/aaf/authz-service/lib</outputDirectory>
sg481ndc5fcf12017-09-15 13:06:30 -0400324 <resources>
325 <resource>
326 <directory>${project.basedir}/../authz-cmd/target</directory>
327 <includes>
sg481na2ac6782017-09-18 16:35:50 -0400328 <include>**/*.jar</include>
sg481ndc5fcf12017-09-15 13:06:30 -0400329 </includes>
330 </resource>
331 </resources>
332 </configuration>
333 </execution>
334 <execution>
335 <id>copy-resources-4</id>
336 <phase>validate</phase>
337 <goals>
338 <goal>copy-resources</goal>
339 </goals>
340 <configuration>
sg481na2ac6782017-09-18 16:35:50 -0400341 <outputDirectory>${project.build.directory}/opt/app/aaf/authz-service/</outputDirectory>
sg481ndc5fcf12017-09-15 13:06:30 -0400342 <resources>
343 <resource>
344 <directory>${project.basedir}/../authz-cmd</directory>
345 <includes>
346 <include>**/aafcli.sh</include>
347 </includes>
348 </resource>
349 </resources>
350 </configuration>
351 </execution>
sg481na2ac6782017-09-18 16:35:50 -0400352 <execution>
sg481ndc5fcf12017-09-15 13:06:30 -0400353 <id>copy-resources-5</id>
354 <phase>validate</phase>
355 <goals>
356 <goal>copy-resources</goal>
357 </goals>
358 <configuration>
sg481na2ac6782017-09-18 16:35:50 -0400359 <outputDirectory>${project.build.directory}/opt/app/aaf/authz-service/etc/</outputDirectory>
sg481ndc5fcf12017-09-15 13:06:30 -0400360 <resources>
361 <resource>
sg481na2ac6782017-09-18 16:35:50 -0400362 <directory>${project.basedir}/src/main/config</directory>
sg481ndc5fcf12017-09-15 13:06:30 -0400363 <includes>
364 <include>**/**</include>
365 </includes>
366 </resource>
367 </resources>
368 </configuration>
369 </execution>
sg481na2ac6782017-09-18 16:35:50 -0400370 <execution>
371 <id>copy-resources-6</id>
372 <phase>validate</phase>
373 <goals>
374 <goal>copy-resources</goal>
375 </goals>
376 <configuration>
377 <outputDirectory>${project.build.directory}/opt/app/aaf/authz-service/etc/data</outputDirectory>
378 <resources>
379 <resource>
380 <directory>${project.basedir}/../opt/app/aaf/data</directory>
381 <includes>
382 <include>**/**</include>
383 </includes>
384 </resource>
385 </resources>
386 </configuration>
387 </execution>
sg481ndc5fcf12017-09-15 13:06:30 -0400388 </executions>
389 </plugin>
390 <plugin>
391 <groupId>org.apache.maven.plugins</groupId>
392 <artifactId>maven-dependency-plugin</artifactId>
393 <version>2.10</version>
394 <executions>
395 <execution>
396 <id>copy-dependencies</id>
397 <phase>package</phase>
398 <goals>
399 <goal>copy-dependencies</goal>
400 </goals>
401 <configuration>
sg481na2ac6782017-09-18 16:35:50 -0400402 <outputDirectory>${project.build.directory}/opt/app/aaf/authz-service/lib</outputDirectory>
sg481ndc5fcf12017-09-15 13:06:30 -0400403 <overWriteReleases>false</overWriteReleases>
404 <overWriteSnapshots>false</overWriteSnapshots>
405 <overWriteIfNewer>true</overWriteIfNewer>
406 </configuration>
407 </execution>
408 </executions>
409 </plugin>
410
sg481nbd890c52017-08-28 12:11:35 -0400411 <plugin>
412 <groupId>org.codehaus.mojo</groupId>
413 <artifactId>exec-maven-plugin</artifactId>
414 <version>1.5.0</version>
415 <configuration>
416 <executable>java</executable>
417 <arguments>
418 <argument>-DAFT_LATITUDE=33</argument>
419 <argument>-DAFT_LONGITUDE=-84</argument>
420 <argument>-DAFT_ENVIRONMENT=AFTUAT</argument>
421
422 <argument>-XX:NewRatio=3</argument>
423 <argument>-XX:+PrintGCTimeStamps</argument>
424 <argument>-XX:+PrintGCDetails</argument>
425 <argument>-Xloggc:gc.log</argument>
426 <argument>-classpath</argument>
427
428 <classpath>
429
430 </classpath>
431 <argument>org.onap.aaf.authz.service.AuthAPI</argument>
432
433 <argument>service=org.onap.aaf.authz.AuthorizationService/version=2.0/envContext=DEV/routeOffer=Dev</argument>
434 </arguments>
435 </configuration>
436 </plugin>
437
438 <plugin>
439 <groupId>org.apache.maven.plugins</groupId>
440 <artifactId>maven-jar-plugin</artifactId>
441 <configuration>
442 <excludes>
443 <exclude>*.properties</exclude>
444 </excludes>
445 </configuration>
446 <version>2.3.1</version>
447 </plugin>
sg481na2ac6782017-09-18 16:35:50 -0400448
sg481nbd890c52017-08-28 12:11:35 -0400449
450 <plugin>
451 <groupId>org.apache.maven.plugins</groupId>
452 <artifactId>maven-javadoc-plugin</artifactId>
sg481na9d21082017-09-23 14:26:06 +0000453 <version>2.10.4</version>
sg481nbd890c52017-08-28 12:11:35 -0400454 <configuration>
455 <failOnError>false</failOnError>
456 </configuration>
457 <executions>
458 <execution>
459 <id>attach-javadocs</id>
460 <goals>
461 <goal>jar</goal>
462 </goals>
463 </execution>
464 </executions>
465 </plugin>
466
467
468 <plugin>
469 <groupId>org.apache.maven.plugins</groupId>
470 <artifactId>maven-source-plugin</artifactId>
471 <version>2.2.1</version>
472 <executions>
473 <execution>
474 <id>attach-sources</id>
475 <goals>
476 <goal>jar-no-fork</goal>
477 </goals>
478 </execution>
479 </executions>
480 </plugin>
481
482<plugin>
483 <groupId>org.sonatype.plugins</groupId>
484 <artifactId>nexus-staging-maven-plugin</artifactId>
485 <version>1.6.7</version>
486 <extensions>true</extensions>
487 <configuration>
488 <nexusUrl>${nexusproxy}</nexusUrl>
489 <stagingProfileId>176c31dfe190a</stagingProfileId>
490 <serverId>ecomp-staging</serverId>
491 </configuration>
sg481n40cd3562017-09-01 13:12:31 -0400492 </plugin>
493 <plugin>
sg481nf33ea6d2017-10-01 17:28:44 +0000494 <groupId>org.jacoco</groupId>
495 <artifactId>jacoco-maven-plugin</artifactId>
496 <version>${jacoco.version}</version>
497 <configuration>
498 <!-- Note: This exclusion list should match <sonar.exclusions>
499 property above -->
500 <excludes>
501 <exclude>**/gen/**</exclude>
502 <exclude>**/generated-sources/**</exclude>
503 <exclude>**/yang-gen/**</exclude>
504 <exclude>**/pax/**</exclude>
505 </excludes>
506 </configuration>
507 <executions>
508 <!--
509 Prepares the property pointing to the JaCoCo runtime agent which
510 is passed as VM argument when Maven the Surefire plugin is executed.
511 -->
512 <execution>
513 <id>pre-unit-test</id>
514 <goals>
515 <goal>prepare-agent</goal>
516 </goals>
517 <configuration>
518 <!-- Sets the path to the file which contains the execution data. -->
519 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
520 <!--
521 Sets the name of the property containing the settings
522 for JaCoCo runtime agent.
523 -->
524 <propertyName>surefireArgLine</propertyName>
525 </configuration>
526 </execution>
527 <!--
528 Ensures that the code coverage report for unit tests is created after
529 unit tests have been run.
530 -->
531 <execution>
532 <id>post-unit-test</id>
533 <phase>test</phase>
534 <goals>
535 <goal>report</goal>
536 </goals>
537 <configuration>
538 <!-- Sets the path to the file which contains the execution data. -->
539 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
540 <!-- Sets the output directory for the code coverage report. -->
541 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
542 </configuration>
543 </execution>
544 <execution>
545 <id>pre-integration-test</id>
546 <phase>pre-integration-test</phase>
547 <goals>
548 <goal>prepare-agent</goal>
549 </goals>
550 <configuration>
551 <!-- Sets the path to the file which contains the execution data. -->
552 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
553 <!--
554 Sets the name of the property containing the settings
555 for JaCoCo runtime agent.
556 -->
557 <propertyName>failsafeArgLine</propertyName>
558 </configuration>
559 </execution>
560 <!--
561 Ensures that the code coverage report for integration tests after
562 integration tests have been run.
563 -->
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 <!-- Sets the path to the file which contains the execution data. -->
572 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
573 <!-- Sets the output directory for the code coverage report. -->
574 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
575 </configuration>
576 </execution>
577 </executions>
578 </plugin>
579
sg481nbd890c52017-08-28 12:11:35 -0400580
581 </plugins>
582
583 </build>
sg481nc7499ee2017-09-24 04:05:00 +0000584
sg481n2bc35382017-09-23 15:50:15 +0000585
sg481nbd890c52017-08-28 12:11:35 -0400586 <distributionManagement>
587 <repository>
588 <id>ecomp-releases</id>
589 <name>AAF Release Repository</name>
590 <url>${nexusproxy}${releaseNexusPath}</url>
591 </repository>
592 <snapshotRepository>
593 <id>ecomp-snapshots</id>
594 <name>AAF Snapshot Repository</name>
595 <url>${nexusproxy}${snapshotNexusPath}</url>
596 </snapshotRepository>
597 <site>
598 <id>ecomp-site</id>
599 <url>dav:${nexusproxy}${sitePath}</url>
600 </site>
601 </distributionManagement>
sg481nc7499ee2017-09-24 04:05:00 +0000602 <profiles>
603 <profile>
604 <id>docker</id>
605 <properties>
606 <skip.staging.artifacts>true</skip.staging.artifacts>
607 <skip.docker.build>false</skip.docker.build>
608 <skip.docker.tag>false</skip.docker.tag>
609 <skip.docker.push>false</skip.docker.push>
610 </properties>
611 </profile>
612 </profiles>
sg481nbd890c52017-08-28 12:11:35 -0400613</project>