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>2.1.0-SNAPSHOT</version>
28 <artifactId>aaf-cadi-oauth-enduser</artifactId>
30 <packaging>jar</packaging>
34 <sonar.skip>true</sonar.skip>
35 <jacoco.version>0.7.7.201606060606</jacoco.version>
36 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
37 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
38 <!-- Default Sonar configuration -->
39 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
40 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
41 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
42 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
43 <nexusproxy>https://nexus.onap.org</nexusproxy>
44 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
45 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
46 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
47 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
52 <name>Jonathan Gathman</name>
53 <email>jonathan.gathman@att.com</email>
54 <organization>ATT</organization>
56 <role>Architect</role>
57 <role>Lead Developer</role>
61 <name>Gabe Maurer</name>
62 <email>gabe.maurer@att.com</email>
63 <organization>ATT</organization>
65 <role>Developer</role>
69 <name>Ian Howell</name>
70 <email>ian.howell@att.com</email>
71 <organization>ATT</organization>
73 <role>Developer</role>
80 <groupId>org.onap.aaf.authz.cadi</groupId>
81 <artifactId>aaf-cadi-core</artifactId>
82 <version>2.1.0-SNAPSHOT</version>
85 <groupId>org.onap.aaf.authz.cadi</groupId>
86 <artifactId>aaf-cadi-aaf</artifactId>
87 <version>2.1.0-SNAPSHOT</version>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-compiler-plugin</artifactId>
97 <version>2.3.2</version>
105 <groupId>org.apache.maven.plugins</groupId>
106 <version>2.4</version>
107 <artifactId>maven-jar-plugin</artifactId>
109 <outputDirectory>target</outputDirectory>
113 <artifactId>maven-assembly-plugin</artifactId>
114 <version>2.4</version>
118 <mainClass>org.onap.aaf.cadi.enduser.OAuthExample</mainClass>
122 <descriptor>src/main/assemble/cadi-oauth-enduser-assemble.xml</descriptor>
127 <groupId>org.sonatype.plugins</groupId>
128 <artifactId>nexus-staging-maven-plugin</artifactId>
129 <version>1.6.7</version>
130 <extensions>true</extensions>
132 <nexusUrl>${nexusproxy}</nexusUrl>
133 <stagingProfileId>176c31dfe190a</stagingProfileId>
134 <serverId>ecomp-staging</serverId>
138 <groupId>org.jacoco</groupId>
139 <artifactId>jacoco-maven-plugin</artifactId>
140 <version>${jacoco.version}</version>
143 <exclude>**/gen/**</exclude>
144 <exclude>**/generated-sources/**</exclude>
145 <exclude>**/yang-gen/**</exclude>
146 <exclude>**/pax/**</exclude>
151 <id>pre-unit-test</id>
153 <goal>prepare-agent</goal>
156 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
157 <propertyName>surefireArgLine</propertyName>
161 <id>post-unit-test</id>
167 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
168 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
172 <id>pre-integration-test</id>
173 <phase>pre-integration-test</phase>
175 <goal>prepare-agent</goal>
178 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
180 <propertyName>failsafeArgLine</propertyName>
184 <id>post-integration-test</id>
185 <phase>post-integration-test</phase>
190 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
191 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-deploy-plugin</artifactId>
199 <version>2.8.1</version>
210 <distributionManagement>
212 <id>ecomp-releases</id>
213 <name>AAF Release Repository</name>
214 <url>${nexusproxy}${releaseNexusPath}</url>
217 <id>ecomp-snapshots</id>
218 <name>AAF Snapshot Repository</name>
219 <url>${nexusproxy}${snapshotNexusPath}</url>
220 </snapshotRepository>
223 <url>dav:${nexusproxy}${sitePath}</url>
225 </distributionManagement>