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