1 <?xml version="1.0" encoding="UTF-8"?>
3 * ============LICENSE_START====================================================
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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====================================================
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.authz.cadi</groupId>
27 <version>1.5.0-SNAPSHOT</version>
28 <artifactId>aaf-cadi-oauth-enduser</artifactId>
30 <packaging>jar</packaging>
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.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
39 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
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>
51 <name>Jonathan Gathman</name>
52 <email>jonathan.gathman@att.com</email>
53 <organization>ATT</organization>
55 <role>Architect</role>
56 <role>Lead Developer</role>
60 <name>Gabe Maurer</name>
61 <email>gabe.maurer@att.com</email>
62 <organization>ATT</organization>
64 <role>Developer</role>
68 <name>Ian Howell</name>
69 <email>ian.howell@att.com</email>
70 <organization>ATT</organization>
72 <role>Developer</role>
79 <groupId>org.onap.aaf.authz.cadi</groupId>
80 <artifactId>aaf-cadi-core</artifactId>
81 <version>1.5.0-SNAPSHOT</version>
84 <groupId>org.onap.aaf.authz.cadi</groupId>
85 <artifactId>aaf-cadi-aaf</artifactId>
86 <version>1.5.0-SNAPSHOT</version>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-compiler-plugin</artifactId>
96 <version>2.3.2</version>
104 <groupId>org.apache.maven.plugins</groupId>
105 <version>2.4</version>
106 <artifactId>maven-jar-plugin</artifactId>
108 <outputDirectory>target</outputDirectory>
112 <artifactId>maven-assembly-plugin</artifactId>
113 <version>2.4</version>
117 <mainClass>org.onap.aaf.cadi.enduser.OAuthExample</mainClass>
121 <descriptor>src/main/assemble/cadi-oauth-enduser-assemble.xml</descriptor>
126 <groupId>org.sonatype.plugins</groupId>
127 <artifactId>nexus-staging-maven-plugin</artifactId>
128 <version>1.6.7</version>
129 <extensions>true</extensions>
131 <nexusUrl>${nexusproxy}</nexusUrl>
132 <stagingProfileId>176c31dfe190a</stagingProfileId>
133 <serverId>ecomp-staging</serverId>
137 <groupId>org.jacoco</groupId>
138 <artifactId>jacoco-maven-plugin</artifactId>
139 <version>${jacoco.version}</version>
142 <exclude>**/gen/**</exclude>
143 <exclude>**/generated-sources/**</exclude>
144 <exclude>**/yang-gen/**</exclude>
145 <exclude>**/pax/**</exclude>
150 <id>pre-unit-test</id>
152 <goal>prepare-agent</goal>
155 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
156 <propertyName>surefireArgLine</propertyName>
160 <id>post-unit-test</id>
166 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
167 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
171 <id>pre-integration-test</id>
172 <phase>pre-integration-test</phase>
174 <goal>prepare-agent</goal>
177 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
179 <propertyName>failsafeArgLine</propertyName>
183 <id>post-integration-test</id>
184 <phase>post-integration-test</phase>
189 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
190 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
196 <groupId>org.apache.maven.plugins</groupId>
197 <artifactId>maven-deploy-plugin</artifactId>
198 <version>2.8.1</version>
209 <distributionManagement>
211 <id>ecomp-releases</id>
212 <name>AAF Release Repository</name>
213 <url>${nexusproxy}${releaseNexusPath}</url>
216 <id>ecomp-snapshots</id>
217 <name>AAF Snapshot Repository</name>
218 <url>${nexusproxy}${snapshotNexusPath}</url>
219 </snapshotRepository>
222 <url>dav:${nexusproxy}${sitePath}</url>
224 </distributionManagement>