blob: edbd2b0e8a7a5b4b6f190675d95510c933c210b4 [file] [log] [blame]
Instrumentala20accc2018-03-26 13:49:56 -07001<?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>
su622b40077be2018-04-08 13:50:31 -040025 <parent>
Sai Gandham83fc0252018-04-09 16:28:48 +000026 <groupId>org.onap.aaf.authz</groupId>
27 <artifactId>cadiparent</artifactId>
Instrumental50c23cc2018-10-31 02:40:03 -050028 <version>2.1.7-SNAPSHOT</version>
Sai Gandham16815922018-04-08 19:52:24 +000029 <relativePath>..</relativePath>
su622b40077be2018-04-08 13:50:31 -040030 </parent>
31
Instrumentala20accc2018-03-26 13:49:56 -070032 <name>AAF CADI Sample OAuth EndUser</name>
Instrumentala20accc2018-03-26 13:49:56 -070033 <artifactId>aaf-cadi-oauth-enduser</artifactId>
Instrumentala20accc2018-03-26 13:49:56 -070034 <packaging>jar</packaging>
35
Sai Gandhamc434f3c2018-03-27 16:29:24 +000036 <properties>
37 <!-- SONAR -->
Sai Gandham68cf62e2018-04-30 15:16:47 +000038 <sonar.skip>true</sonar.skip>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000039 <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 Gandham61f8fdf2018-04-03 12:07:07 -050043 <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 Gandhamc434f3c2018-03-27 16:29:24 +000045 <!-- 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 Gandham30dca6e2018-04-09 21:22:48 +000051 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000052 </properties>
53
Instrumentala20accc2018-03-26 13:49:56 -070054 <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 Gandham83fc0252018-04-09 16:28:48 +000084 <groupId>org.onap.aaf.authz</groupId>
Instrumentala20accc2018-03-26 13:49:56 -070085 <artifactId>aaf-cadi-core</artifactId>
Instrumentala20accc2018-03-26 13:49:56 -070086 </dependency>
87 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000088 <groupId>org.onap.aaf.authz</groupId>
Instrumentala20accc2018-03-26 13:49:56 -070089 <artifactId>aaf-cadi-aaf</artifactId>
Instrumentala20accc2018-03-26 13:49:56 -070090 </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 Gandhamc434f3c2018-03-27 16:29:24 +0000128 <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>
IanHowell3901cf82018-04-03 11:24:27 -0500140 <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 Gandhamd97041c2018-04-03 01:57:59 -0500181
IanHowell3901cf82018-04-03 11:24:27 -0500182 <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 Gandham649335a2018-03-27 20:33:30 +0000198 <plugin>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-deploy-plugin</artifactId>
201 <version>2.8.1</version>
202 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500203 <skip>false</skip>
Sai Gandham649335a2018-03-27 20:33:30 +0000204 </configuration>
205
206 </plugin>
Instrumentala20accc2018-03-26 13:49:56 -0700207 </plugins>
208 </pluginManagement>
209 </build>
210
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000211
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>
Instrumentala20accc2018-03-26 13:49:56 -0700228</project>