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> |
| 26 | <groupId>org.onap.aaf.cadi</groupId> |
| 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> |
| 79 | <groupId>org.onap.aaf.cadi</groupId> |
| 80 | <artifactId>aaf-cadi-core</artifactId> |
| 81 | <version>1.5.0-SNAPSHOT</version> |
| 82 | </dependency> |
| 83 | <dependency> |
| 84 | <groupId>org.onap.aaf.cadi</groupId> |
| 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> |
| 137 | <groupId>org.jacoco</groupId> |
| 138 | <artifactId>jacoco-maven-plugin</artifactId> |
| 139 | <version>0.7.7.201606060606</version> |
| 140 | <configuration> |
| 141 | <dumpOnExit>true</dumpOnExit> |
| 142 | <includes> |
| 143 | <include>org.onap.aaf.*</include> |
| 144 | </includes> |
| 145 | </configuration> |
| 146 | <executions> |
| 147 | <execution> |
| 148 | <id>pre-unit-test</id> |
| 149 | <goals> |
| 150 | <goal>prepare-agent</goal> |
| 151 | </goals> |
| 152 | <configuration> |
| 153 | <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile> |
| 154 | <!-- <append>true</append> --> |
| 155 | </configuration> |
| 156 | </execution> |
| 157 | <execution> |
| 158 | <id>pre-integration-test</id> |
| 159 | <phase>pre-integration-test</phase> |
| 160 | <goals> |
| 161 | <goal>prepare-agent</goal> |
| 162 | </goals> |
| 163 | <configuration> |
| 164 | <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile> |
| 165 | <!-- <append>true</append> --> |
| 166 | </configuration> |
| 167 | </execution> |
| 168 | <execution> |
| 169 | <goals> |
| 170 | <goal>merge</goal> |
| 171 | </goals> |
| 172 | <phase>post-integration-test</phase> |
| 173 | <configuration> |
| 174 | <fileSets> |
| 175 | <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet"> |
| 176 | <directory>${project.build.directory}/coverage-reports</directory> |
| 177 | <includes> |
| 178 | <include>*.exec</include> |
| 179 | </includes> |
| 180 | </fileSet> |
| 181 | </fileSets> |
| 182 | <destFile>${project.build.directory}/jacoco-dev.exec</destFile> |
| 183 | </configuration> |
| 184 | </execution> |
| 185 | </executions> |
| 186 | </plugin> |
Sai Gandham | 649335a | 2018-03-27 20:33:30 +0000 | [diff] [blame] | 187 | <plugin> |
| 188 | <groupId>org.apache.maven.plugins</groupId> |
| 189 | <artifactId>maven-deploy-plugin</artifactId> |
| 190 | <version>2.8.1</version> |
| 191 | <configuration> |
| 192 | <skip>true</skip> |
| 193 | </configuration> |
| 194 | |
| 195 | </plugin> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 196 | </plugins> |
| 197 | </pluginManagement> |
| 198 | </build> |
| 199 | |
Sai Gandham | c434f3c | 2018-03-27 16:29:24 +0000 | [diff] [blame] | 200 | |
| 201 | <distributionManagement> |
| 202 | <repository> |
| 203 | <id>ecomp-releases</id> |
| 204 | <name>AAF Release Repository</name> |
| 205 | <url>${nexusproxy}${releaseNexusPath}</url> |
| 206 | </repository> |
| 207 | <snapshotRepository> |
| 208 | <id>ecomp-snapshots</id> |
| 209 | <name>AAF Snapshot Repository</name> |
| 210 | <url>${nexusproxy}${snapshotNexusPath}</url> |
| 211 | </snapshotRepository> |
| 212 | <site> |
| 213 | <id>ecomp-site</id> |
| 214 | <url>dav:${nexusproxy}${sitePath}</url> |
| 215 | </site> |
| 216 | </distributionManagement> |
Instrumental | a20accc | 2018-03-26 13:49:56 -0700 | [diff] [blame] | 217 | </project> |