sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 1 | <?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>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 30 | <version>1.0.1-SNAPSHOT</version>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 31 | <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>
|
| 54 | <maven.test.failure.ignore>true</maven.test.failure.ignore>
|
| 55 | <project.swmVersion>1</project.swmVersion>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 56 | <project.innoVersion>1.0.0-SNAPSHOT</project.innoVersion>
|
| 57 | <project.cadiVersion>1.0.0-SNAPSHOT</project.cadiVersion>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 58 | <dockerLocation>${basedir}/target/</dockerLocation>
|
sg481n | a9f4fe1 | 2017-09-16 23:16:53 -0400 | [diff] [blame] | 59 | <docker.registry>nexus3.onap.org</docker.registry>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 60 | <distFilesRootDirPath>opt/app/aaf/${project.artifactId}/${project.version}</distFilesRootDirPath>
|
sg481n | 40cd356 | 2017-09-01 13:12:31 -0400 | [diff] [blame] | 61 | <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>
|
| 66 | <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
|
| 67 | <sonar.projectVersion>${project.version}</sonar.projectVersion>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 68 | <nexusproxy>https://nexus.onap.org</nexusproxy>
|
| 69 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
|
| 70 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
|
| 71 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
|
sg481n | a9d2108 | 2017-09-23 14:26:06 +0000 | [diff] [blame^] | 72 | <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 73 | </properties>
|
| 74 |
|
| 75 |
|
| 76 | <dependencies>
|
| 77 | <dependency>
|
| 78 | <groupId>org.onap.aaf.authz</groupId>
|
| 79 | <artifactId>authz-client</artifactId>
|
sg481n | 5c30b7f | 2017-09-17 11:37:00 -0400 | [diff] [blame] | 80 | <version>${project.version}</version>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 81 | </dependency>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 82 |
|
| 83 | <dependency>
|
| 84 | <groupId>org.onap.aaf.authz</groupId>
|
| 85 | <artifactId>authz-cmd</artifactId>
|
sg481n | 5c30b7f | 2017-09-17 11:37:00 -0400 | [diff] [blame] | 86 | <version>${project.version}</version>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 87 | </dependency>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 88 | <dependency>
|
| 89 | <groupId>org.onap.aaf.authz</groupId>
|
| 90 | <artifactId>authz-core</artifactId>
|
sg481n | 5c30b7f | 2017-09-17 11:37:00 -0400 | [diff] [blame] | 91 | <version>${project.version}</version>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 92 | <exclusions>
|
| 93 | <exclusion>
|
| 94 | <groupId>javax.servlet</groupId>
|
| 95 | <artifactId>servlet-api</artifactId>
|
| 96 | </exclusion>
|
| 97 | </exclusions>
|
| 98 | </dependency>
|
| 99 |
|
| 100 | <dependency>
|
| 101 | <groupId>org.onap.aaf.authz</groupId>
|
| 102 | <artifactId>authz-cass</artifactId>
|
sg481n | 5c30b7f | 2017-09-17 11:37:00 -0400 | [diff] [blame] | 103 | <version>${project.version}</version>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 104 | </dependency>
|
| 105 |
|
| 106 | <dependency>
|
| 107 | <groupId>org.onap.aaf.authz</groupId>
|
| 108 | <artifactId>authz-defOrg</artifactId>
|
| 109 | <version>${project.version}</version>
|
| 110 | </dependency>
|
| 111 |
|
| 112 |
|
| 113 |
|
| 114 | <dependency >
|
| 115 | <groupId>org.onap.aaf.inno</groupId>
|
| 116 | <artifactId>env</artifactId>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 117 | <version>${project.innoVersion}</version>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 118 | </dependency>
|
| 119 |
|
| 120 |
|
| 121 | <dependency>
|
| 122 | <groupId>org.onap.aaf.cadi</groupId>
|
| 123 | <artifactId>cadi-core</artifactId>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 124 | <version>${project.cadiVersion}</version>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 125 | </dependency>
|
| 126 |
|
| 127 | <dependency>
|
| 128 | <groupId>com.att.aft</groupId>
|
| 129 | <artifactId>dme2</artifactId>
|
| 130 | </dependency>
|
| 131 |
|
| 132 | <dependency>
|
| 133 | <groupId>org.onap.aaf.inno</groupId>
|
| 134 | <artifactId>rosetta</artifactId>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 135 | <version>${project.innoVersion}</version>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 136 | </dependency>
|
| 137 | <dependency>
|
| 138 | <groupId>org.onap.aaf.cadi</groupId>
|
| 139 | <artifactId>cadi-aaf</artifactId>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 140 | <version>${project.cadiVersion}</version>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 141 | </dependency>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 142 | </dependencies>
|
sg481n | 70529ba | 2017-09-21 13:29:12 +0000 | [diff] [blame] | 143 | <profiles>
|
| 144 | <profile>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 145 | <build>
|
| 146 | <plugins>
|
sg481n | a9d2108 | 2017-09-23 14:26:06 +0000 | [diff] [blame^] | 147 |
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 148 | <plugin>
|
| 149 | <groupId>com.spotify</groupId>
|
| 150 | <artifactId>docker-maven-plugin</artifactId>
|
| 151 | <version>0.4.11</version>
|
| 152 | <configuration>
|
| 153 | <imageName>onap/aaf/authz-service</imageName>
|
| 154 | <dockerDirectory>${dockerLocation}</dockerDirectory>
|
| 155 | <serverId>docker-hub</serverId>
|
| 156 | <registryUrl>https://${docker.registry}</registryUrl>
|
| 157 | <imageTags>
|
| 158 | <imageTag>${project.version}</imageTag>
|
| 159 | <imageTag>latest</imageTag>
|
| 160 | </imageTags>
|
| 161 | <resources>
|
| 162 | <resource>
|
| 163 | <targetPath>/</targetPath>
|
| 164 | <directory>/${basedir}/target/opt</directory>
|
| 165 | <filtering>true</filtering>
|
| 166 | <includes>
|
| 167 | <include>**/*</include>
|
| 168 | </includes>
|
| 169 | </resource>
|
| 170 | </resources>
|
| 171 | <forceTags>true</forceTags>
|
| 172 | </configuration>
|
| 173 | </plugin>
|
| 174 | <plugin>
|
| 175 | <artifactId>maven-resources-plugin</artifactId>
|
| 176 | <version>2.7</version>
|
| 177 | <executions>
|
sg481n | a9d2108 | 2017-09-23 14:26:06 +0000 | [diff] [blame^] | 178 | <execution>
|
| 179 | <id>copy-docker-file</id>
|
| 180 | <phase>package</phase>
|
| 181 | <goals>
|
| 182 | <goal>copy-resources</goal>
|
| 183 | </goals>
|
| 184 | <configuration>
|
| 185 | <outputDirectory>${dockerLocation}</outputDirectory>
|
| 186 | <overwrite>true</overwrite>
|
| 187 | <resources>
|
| 188 | <resource>
|
| 189 | <directory>${basedir}/src/main/resources/docker</directory>
|
| 190 | <filtering>true</filtering>
|
| 191 | <includes>
|
| 192 | <include>**/*</include>
|
| 193 | </includes>
|
| 194 | </resource>
|
| 195 | </resources>
|
| 196 | </configuration>
|
| 197 | </execution>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 198 | <execution>
|
| 199 | <id>copy-resources-1</id>
|
| 200 | <phase>validate</phase>
|
| 201 | <goals>
|
| 202 | <goal>copy-resources</goal>
|
| 203 | </goals>
|
| 204 | <configuration>
|
| 205 | <outputDirectory>${project.build.directory}/opt/dme2reg/</outputDirectory>
|
| 206 | <resources>
|
| 207 | <resource>
|
| 208 | <directory>${project.basedir}/src/main/resources/dme2reg/</directory>
|
| 209 | <includes>
|
| 210 | <include>**/*.txt</include>
|
| 211 | </includes>
|
| 212 | </resource>
|
| 213 | </resources>
|
| 214 | </configuration>
|
| 215 | </execution>
|
| 216 | <execution>
|
| 217 | <id>copy-resources-2</id>
|
| 218 | <phase>validate</phase>
|
| 219 | <goals>
|
| 220 | <goal>copy-resources</goal>
|
| 221 | </goals>
|
| 222 | <configuration>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 223 | <outputDirectory>${project.build.directory}/opt/app/aaf/authz-service/etc</outputDirectory>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 224 | <resources>
|
| 225 | <resource>
|
| 226 | <directory>${project.basedir}/src/main/resources/etc</directory>
|
| 227 | <includes>
|
| 228 | <include>**/**</include>
|
| 229 | </includes>
|
| 230 | </resource>
|
| 231 | </resources>
|
| 232 | </configuration>
|
| 233 | </execution>
|
| 234 |
|
| 235 | <execution>
|
| 236 | <id>copy-resources-3</id>
|
| 237 | <phase>validate</phase>
|
| 238 | <goals>
|
| 239 | <goal>copy-resources</goal>
|
| 240 | </goals>
|
| 241 | <configuration>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 242 | <outputDirectory>${project.build.directory}/opt/app/aaf/authz-service/lib</outputDirectory>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 243 | <resources>
|
| 244 | <resource>
|
| 245 | <directory>${project.basedir}/../authz-cmd/target</directory>
|
| 246 | <includes>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 247 | <include>**/*.jar</include>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 248 | </includes>
|
| 249 | </resource>
|
| 250 | </resources>
|
| 251 | </configuration>
|
| 252 | </execution>
|
| 253 | <execution>
|
| 254 | <id>copy-resources-4</id>
|
| 255 | <phase>validate</phase>
|
| 256 | <goals>
|
| 257 | <goal>copy-resources</goal>
|
| 258 | </goals>
|
| 259 | <configuration>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 260 | <outputDirectory>${project.build.directory}/opt/app/aaf/authz-service/</outputDirectory>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 261 | <resources>
|
| 262 | <resource>
|
| 263 | <directory>${project.basedir}/../authz-cmd</directory>
|
| 264 | <includes>
|
| 265 | <include>**/aafcli.sh</include>
|
| 266 | </includes>
|
| 267 | </resource>
|
| 268 | </resources>
|
| 269 | </configuration>
|
| 270 | </execution>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 271 | <execution>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 272 | <id>copy-resources-5</id>
|
| 273 | <phase>validate</phase>
|
| 274 | <goals>
|
| 275 | <goal>copy-resources</goal>
|
| 276 | </goals>
|
| 277 | <configuration>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 278 | <outputDirectory>${project.build.directory}/opt/app/aaf/authz-service/etc/</outputDirectory>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 279 | <resources>
|
| 280 | <resource>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 281 | <directory>${project.basedir}/src/main/config</directory>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 282 | <includes>
|
| 283 | <include>**/**</include>
|
| 284 | </includes>
|
| 285 | </resource>
|
| 286 | </resources>
|
| 287 | </configuration>
|
| 288 | </execution>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 289 | <execution>
|
| 290 | <id>copy-resources-6</id>
|
| 291 | <phase>validate</phase>
|
| 292 | <goals>
|
| 293 | <goal>copy-resources</goal>
|
| 294 | </goals>
|
| 295 | <configuration>
|
| 296 | <outputDirectory>${project.build.directory}/opt/app/aaf/authz-service/etc/data</outputDirectory>
|
| 297 | <resources>
|
| 298 | <resource>
|
| 299 | <directory>${project.basedir}/../opt/app/aaf/data</directory>
|
| 300 | <includes>
|
| 301 | <include>**/**</include>
|
| 302 | </includes>
|
| 303 | </resource>
|
| 304 | </resources>
|
| 305 | </configuration>
|
| 306 | </execution>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 307 | </executions>
|
| 308 | </plugin>
|
| 309 | <plugin>
|
| 310 | <groupId>org.apache.maven.plugins</groupId>
|
| 311 | <artifactId>maven-dependency-plugin</artifactId>
|
| 312 | <version>2.10</version>
|
| 313 | <executions>
|
| 314 | <execution>
|
| 315 | <id>copy-dependencies</id>
|
| 316 | <phase>package</phase>
|
| 317 | <goals>
|
| 318 | <goal>copy-dependencies</goal>
|
| 319 | </goals>
|
| 320 | <configuration>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 321 | <outputDirectory>${project.build.directory}/opt/app/aaf/authz-service/lib</outputDirectory>
|
sg481n | dc5fcf1 | 2017-09-15 13:06:30 -0400 | [diff] [blame] | 322 | <overWriteReleases>false</overWriteReleases>
|
| 323 | <overWriteSnapshots>false</overWriteSnapshots>
|
| 324 | <overWriteIfNewer>true</overWriteIfNewer>
|
| 325 | </configuration>
|
| 326 | </execution>
|
| 327 | </executions>
|
| 328 | </plugin>
|
| 329 |
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 330 | <plugin>
|
| 331 | <groupId>org.codehaus.mojo</groupId>
|
| 332 | <artifactId>exec-maven-plugin</artifactId>
|
| 333 | <version>1.5.0</version>
|
| 334 | <configuration>
|
| 335 | <executable>java</executable>
|
| 336 | <arguments>
|
| 337 | <argument>-DAFT_LATITUDE=33</argument>
|
| 338 | <argument>-DAFT_LONGITUDE=-84</argument>
|
| 339 | <argument>-DAFT_ENVIRONMENT=AFTUAT</argument>
|
| 340 |
|
| 341 | <argument>-XX:NewRatio=3</argument>
|
| 342 | <argument>-XX:+PrintGCTimeStamps</argument>
|
| 343 | <argument>-XX:+PrintGCDetails</argument>
|
| 344 | <argument>-Xloggc:gc.log</argument>
|
| 345 | <argument>-classpath</argument>
|
| 346 |
|
| 347 | <classpath>
|
| 348 |
|
| 349 | </classpath>
|
| 350 | <argument>org.onap.aaf.authz.service.AuthAPI</argument>
|
| 351 |
|
| 352 | <argument>service=org.onap.aaf.authz.AuthorizationService/version=2.0/envContext=DEV/routeOffer=Dev</argument>
|
| 353 | </arguments>
|
| 354 | </configuration>
|
| 355 | </plugin>
|
| 356 |
|
| 357 | <plugin>
|
| 358 | <groupId>org.apache.maven.plugins</groupId>
|
| 359 | <artifactId>maven-jar-plugin</artifactId>
|
| 360 | <configuration>
|
| 361 | <excludes>
|
| 362 | <exclude>*.properties</exclude>
|
| 363 | </excludes>
|
| 364 | </configuration>
|
| 365 | <version>2.3.1</version>
|
| 366 | </plugin>
|
sg481n | a2ac678 | 2017-09-18 16:35:50 -0400 | [diff] [blame] | 367 |
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 368 |
|
| 369 | <plugin>
|
| 370 | <groupId>org.apache.maven.plugins</groupId>
|
| 371 | <artifactId>maven-javadoc-plugin</artifactId>
|
sg481n | a9d2108 | 2017-09-23 14:26:06 +0000 | [diff] [blame^] | 372 | <version>2.10.4</version>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 373 | <configuration>
|
| 374 | <failOnError>false</failOnError>
|
| 375 | </configuration>
|
| 376 | <executions>
|
| 377 | <execution>
|
| 378 | <id>attach-javadocs</id>
|
| 379 | <goals>
|
| 380 | <goal>jar</goal>
|
| 381 | </goals>
|
| 382 | </execution>
|
| 383 | </executions>
|
| 384 | </plugin>
|
| 385 |
|
| 386 |
|
| 387 | <plugin>
|
| 388 | <groupId>org.apache.maven.plugins</groupId>
|
| 389 | <artifactId>maven-source-plugin</artifactId>
|
| 390 | <version>2.2.1</version>
|
| 391 | <executions>
|
| 392 | <execution>
|
| 393 | <id>attach-sources</id>
|
| 394 | <goals>
|
| 395 | <goal>jar-no-fork</goal>
|
| 396 | </goals>
|
| 397 | </execution>
|
| 398 | </executions>
|
| 399 | </plugin>
|
| 400 |
|
| 401 | <plugin>
|
| 402 | <groupId>org.sonatype.plugins</groupId>
|
| 403 | <artifactId>nexus-staging-maven-plugin</artifactId>
|
| 404 | <version>1.6.7</version>
|
| 405 | <extensions>true</extensions>
|
| 406 | <configuration>
|
| 407 | <nexusUrl>${nexusproxy}</nexusUrl>
|
| 408 | <stagingProfileId>176c31dfe190a</stagingProfileId>
|
| 409 | <serverId>ecomp-staging</serverId>
|
| 410 | </configuration>
|
sg481n | 40cd356 | 2017-09-01 13:12:31 -0400 | [diff] [blame] | 411 | </plugin>
|
| 412 | <plugin>
|
| 413 | <groupId>org.jacoco</groupId>
|
| 414 | <artifactId>jacoco-maven-plugin</artifactId>
|
| 415 | <version>0.7.7.201606060606</version>
|
| 416 | <configuration>
|
| 417 | <dumpOnExit>true</dumpOnExit>
|
| 418 | <includes>
|
| 419 | <include>org.onap.aaf.*</include>
|
| 420 | </includes>
|
| 421 | </configuration>
|
| 422 | <executions>
|
| 423 | <execution>
|
| 424 | <id>pre-unit-test</id>
|
| 425 | <goals>
|
| 426 | <goal>prepare-agent</goal>
|
| 427 | </goals>
|
| 428 | <configuration>
|
| 429 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
|
| 430 | <!-- <append>true</append> -->
|
| 431 | </configuration>
|
| 432 | </execution>
|
| 433 | <execution>
|
| 434 | <id>pre-integration-test</id>
|
| 435 | <phase>pre-integration-test</phase>
|
| 436 | <goals>
|
| 437 | <goal>prepare-agent</goal>
|
| 438 | </goals>
|
| 439 | <configuration>
|
| 440 | <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
|
| 441 | <!-- <append>true</append> -->
|
| 442 | </configuration>
|
| 443 | </execution>
|
| 444 | <execution>
|
| 445 | <goals>
|
| 446 | <goal>merge</goal>
|
| 447 | </goals>
|
| 448 | <phase>post-integration-test</phase>
|
| 449 | <configuration>
|
| 450 | <fileSets>
|
| 451 | <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
|
| 452 | <directory>${project.build.directory}/coverage-reports</directory>
|
| 453 | <includes>
|
| 454 | <include>*.exec</include>
|
| 455 | </includes>
|
| 456 | </fileSet>
|
| 457 | </fileSets>
|
| 458 | <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
|
| 459 | </configuration>
|
| 460 | </execution>
|
| 461 | </executions>
|
| 462 | </plugin>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 463 |
|
| 464 | </plugins>
|
| 465 |
|
| 466 | </build>
|
sg481n | 70529ba | 2017-09-21 13:29:12 +0000 | [diff] [blame] | 467 | </profile>
|
| 468 | </profiles>
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 469 | <distributionManagement>
|
| 470 | <repository>
|
| 471 | <id>ecomp-releases</id>
|
| 472 | <name>AAF Release Repository</name>
|
| 473 | <url>${nexusproxy}${releaseNexusPath}</url>
|
| 474 | </repository>
|
| 475 | <snapshotRepository>
|
| 476 | <id>ecomp-snapshots</id>
|
| 477 | <name>AAF Snapshot Repository</name>
|
| 478 | <url>${nexusproxy}${snapshotNexusPath}</url>
|
| 479 | </snapshotRepository>
|
| 480 | <site>
|
| 481 | <id>ecomp-site</id>
|
| 482 | <url>dav:${nexusproxy}${sitePath}</url>
|
| 483 | </site>
|
| 484 | </distributionManagement>
|
sg481n | a9d2108 | 2017-09-23 14:26:06 +0000 | [diff] [blame^] | 485 |
|
sg481n | bd890c5 | 2017-08-28 12:11:35 -0400 | [diff] [blame] | 486 | </project>
|