Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | * ============LICENSE_START==================================================== |
| 4 | * org.onap.aaf |
| 5 | * =========================================================================== |
| 6 | * Copyright (c) 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 | --> |
| 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
su622b | 40077be | 2018-04-08 13:50:31 -0400 | [diff] [blame] | 25 | <parent> |
Sai Gandham | 83fc025 | 2018-04-09 16:28:48 +0000 | [diff] [blame] | 26 | <groupId>org.onap.aaf.authz</groupId> |
| 27 | <artifactId>cadiparent</artifactId> |
Instrumental | 50c23cc | 2018-10-31 02:40:03 -0500 | [diff] [blame^] | 28 | <version>2.1.7-SNAPSHOT</version> |
Sai Gandham | 1681592 | 2018-04-08 19:52:24 +0000 | [diff] [blame] | 29 | <relativePath>..</relativePath> |
su622b | 40077be | 2018-04-08 13:50:31 -0400 | [diff] [blame] | 30 | </parent> |
| 31 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 32 | <name>AAF CADI Sample OAuth EndUser</name> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 33 | <artifactId>aaf-cadi-oauth-enduser</artifactId> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 34 | <packaging>jar</packaging> |
| 35 | |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 36 | <properties> |
| 37 | <!-- SONAR --> |
Sai Gandham | 68cf62e | 2018-04-30 15:16:47 +0000 | [diff] [blame] | 38 | <sonar.skip>true</sonar.skip> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 39 | <jacoco.version>0.7.7.201606060606</jacoco.version> |
| 40 | <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version> |
| 41 | <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> |
| 42 | <!-- Default Sonar configuration --> |
Sai Gandham | 61f8fdf | 2018-04-03 12:07:07 -0500 | [diff] [blame] | 43 | <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths> |
| 44 | <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 45 | <!-- Note: This list should match jacoco-maven-plugin's exclusion list below --> |
| 46 | <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions> |
| 47 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
| 48 | <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath> |
| 49 | <releaseNexusPath>/content/repositories/releases/</releaseNexusPath> |
| 50 | <stagingNexusPath>/content/repositories/staging/</stagingNexusPath> |
Sai Gandham | 30dca6e | 2018-04-09 21:22:48 +0000 | [diff] [blame] | 51 | <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 52 | </properties> |
| 53 | |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 54 | <developers> |
| 55 | <developer> |
| 56 | <name>Jonathan Gathman</name> |
| 57 | <email>jonathan.gathman@att.com</email> |
| 58 | <organization>ATT</organization> |
| 59 | <roles> |
| 60 | <role>Architect</role> |
| 61 | <role>Lead Developer</role> |
| 62 | </roles> |
| 63 | </developer> |
| 64 | <developer> |
| 65 | <name>Gabe Maurer</name> |
| 66 | <email>gabe.maurer@att.com</email> |
| 67 | <organization>ATT</organization> |
| 68 | <roles> |
| 69 | <role>Developer</role> |
| 70 | </roles> |
| 71 | </developer> |
| 72 | <developer> |
| 73 | <name>Ian Howell</name> |
| 74 | <email>ian.howell@att.com</email> |
| 75 | <organization>ATT</organization> |
| 76 | <roles> |
| 77 | <role>Developer</role> |
| 78 | </roles> |
| 79 | </developer> |
| 80 | </developers> |
| 81 | |
| 82 | <dependencies> |
| 83 | <dependency> |
Sai Gandham | 83fc025 | 2018-04-09 16:28:48 +0000 | [diff] [blame] | 84 | <groupId>org.onap.aaf.authz</groupId> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 85 | <artifactId>aaf-cadi-core</artifactId> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 86 | </dependency> |
| 87 | <dependency> |
Sai Gandham | 83fc025 | 2018-04-09 16:28:48 +0000 | [diff] [blame] | 88 | <groupId>org.onap.aaf.authz</groupId> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 89 | <artifactId>aaf-cadi-aaf</artifactId> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 90 | </dependency> |
| 91 | </dependencies> |
| 92 | |
| 93 | <build> |
| 94 | <pluginManagement> |
| 95 | <plugins> |
| 96 | <plugin> |
| 97 | <groupId>org.apache.maven.plugins</groupId> |
| 98 | <artifactId>maven-compiler-plugin</artifactId> |
| 99 | <version>2.3.2</version> |
| 100 | <configuration> |
| 101 | <source>1.8</source> |
| 102 | <target>1.8</target> |
| 103 | </configuration> |
| 104 | </plugin> |
| 105 | |
| 106 | <plugin> |
| 107 | <groupId>org.apache.maven.plugins</groupId> |
| 108 | <version>2.4</version> |
| 109 | <artifactId>maven-jar-plugin</artifactId> |
| 110 | <configuration> |
| 111 | <outputDirectory>target</outputDirectory> |
| 112 | </configuration> |
| 113 | </plugin> |
| 114 | <plugin> |
| 115 | <artifactId>maven-assembly-plugin</artifactId> |
| 116 | <version>2.4</version> |
| 117 | <configuration> |
| 118 | <archive> |
| 119 | <manifest> |
| 120 | <mainClass>org.onap.aaf.cadi.enduser.OAuthExample</mainClass> |
| 121 | </manifest> |
| 122 | </archive> |
| 123 | <descriptors> |
| 124 | <descriptor>src/main/assemble/cadi-oauth-enduser-assemble.xml</descriptor> |
| 125 | </descriptors> |
| 126 | </configuration> |
| 127 | </plugin> |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 128 | <plugin> |
| 129 | <groupId>org.sonatype.plugins</groupId> |
| 130 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 131 | <version>1.6.7</version> |
| 132 | <extensions>true</extensions> |
| 133 | <configuration> |
| 134 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 135 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 136 | <serverId>ecomp-staging</serverId> |
| 137 | </configuration> |
| 138 | </plugin> |
| 139 | <plugin> |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 140 | <groupId>org.jacoco</groupId> |
| 141 | <artifactId>jacoco-maven-plugin</artifactId> |
| 142 | <version>${jacoco.version}</version> |
| 143 | <configuration> |
| 144 | <excludes> |
| 145 | <exclude>**/gen/**</exclude> |
| 146 | <exclude>**/generated-sources/**</exclude> |
| 147 | <exclude>**/yang-gen/**</exclude> |
| 148 | <exclude>**/pax/**</exclude> |
| 149 | </excludes> |
| 150 | </configuration> |
| 151 | <executions> |
| 152 | <execution> |
| 153 | <id>pre-unit-test</id> |
| 154 | <goals> |
| 155 | <goal>prepare-agent</goal> |
| 156 | </goals> |
| 157 | <configuration> |
| 158 | <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile> |
| 159 | <propertyName>surefireArgLine</propertyName> |
| 160 | </configuration> |
| 161 | </execution> |
| 162 | <execution> |
| 163 | <id>post-unit-test</id> |
| 164 | <phase>test</phase> |
| 165 | <goals> |
| 166 | <goal>report</goal> |
| 167 | </goals> |
| 168 | <configuration> |
| 169 | <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile> |
| 170 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| 171 | </configuration> |
| 172 | </execution> |
| 173 | <execution> |
| 174 | <id>pre-integration-test</id> |
| 175 | <phase>pre-integration-test</phase> |
| 176 | <goals> |
| 177 | <goal>prepare-agent</goal> |
| 178 | </goals> |
| 179 | <configuration> |
| 180 | <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile> |
Sai Gandham | d97041c | 2018-04-03 01:57:59 -0500 | [diff] [blame] | 181 | |
IanHowell | 3901cf8 | 2018-04-03 11:24:27 -0500 | [diff] [blame] | 182 | <propertyName>failsafeArgLine</propertyName> |
| 183 | </configuration> |
| 184 | </execution> |
| 185 | <execution> |
| 186 | <id>post-integration-test</id> |
| 187 | <phase>post-integration-test</phase> |
| 188 | <goals> |
| 189 | <goal>report</goal> |
| 190 | </goals> |
| 191 | <configuration> |
| 192 | <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile> |
| 193 | <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory> |
| 194 | </configuration> |
| 195 | </execution> |
| 196 | </executions> |
| 197 | </plugin> |
Sai Gandham | 649335a | 2018-03-27 20:33:30 +0000 | [diff] [blame] | 198 | <plugin> |
| 199 | <groupId>org.apache.maven.plugins</groupId> |
| 200 | <artifactId>maven-deploy-plugin</artifactId> |
| 201 | <version>2.8.1</version> |
| 202 | <configuration> |
Sai Gandham | d97041c | 2018-04-03 01:57:59 -0500 | [diff] [blame] | 203 | <skip>false</skip> |
Sai Gandham | 649335a | 2018-03-27 20:33:30 +0000 | [diff] [blame] | 204 | </configuration> |
| 205 | |
| 206 | </plugin> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 207 | </plugins> |
| 208 | </pluginManagement> |
| 209 | </build> |
| 210 | |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 211 | |
| 212 | <distributionManagement> |
| 213 | <repository> |
| 214 | <id>ecomp-releases</id> |
| 215 | <name>AAF Release Repository</name> |
| 216 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 217 | </repository> |
| 218 | <snapshotRepository> |
| 219 | <id>ecomp-snapshots</id> |
| 220 | <name>AAF Snapshot Repository</name> |
| 221 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 222 | </snapshotRepository> |
| 223 | <site> |
| 224 | <id>ecomp-site</id> |
| 225 | <url>dav:${nexusproxy}${sitePath}</url> |
| 226 | </site> |
| 227 | </distributionManagement> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 228 | </project> |