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