blob: 83ea803ac5b975bbddb9fefd5cfa8d7393606559 [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>
su622b40077be2018-04-08 13:50:31 -040028 <version>2.1.0-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>
Sai Gandham83fc0252018-04-09 16:28:48 +000033 <groupId>org.onap.aaf.authz</groupId>
Sai Gandhamc83c6332018-04-05 16:08:24 -050034 <version>2.1.0-SNAPSHOT</version>
Instrumentala20accc2018-03-26 13:49:56 -070035 <artifactId>aaf-cadi-oauth-enduser</artifactId>
Instrumentala20accc2018-03-26 13:49:56 -070036 <packaging>jar</packaging>
37
Sai Gandhamc434f3c2018-03-27 16:29:24 +000038 <properties>
39 <!-- SONAR -->
Sai Gandham1ef69d22018-04-03 16:25:33 -050040 <sonar.skip>true</sonar.skip>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000041 <jacoco.version>0.7.7.201606060606</jacoco.version>
42 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
43 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
44 <!-- Default Sonar configuration -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050045 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
46 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000047 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
48 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
49 <nexusproxy>https://nexus.onap.org</nexusproxy>
50 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
51 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
52 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham30dca6e2018-04-09 21:22:48 +000053 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000054 </properties>
55
Instrumentala20accc2018-03-26 13:49:56 -070056 <developers>
57 <developer>
58 <name>Jonathan Gathman</name>
59 <email>jonathan.gathman@att.com</email>
60 <organization>ATT</organization>
61 <roles>
62 <role>Architect</role>
63 <role>Lead Developer</role>
64 </roles>
65 </developer>
66 <developer>
67 <name>Gabe Maurer</name>
68 <email>gabe.maurer@att.com</email>
69 <organization>ATT</organization>
70 <roles>
71 <role>Developer</role>
72 </roles>
73 </developer>
74 <developer>
75 <name>Ian Howell</name>
76 <email>ian.howell@att.com</email>
77 <organization>ATT</organization>
78 <roles>
79 <role>Developer</role>
80 </roles>
81 </developer>
82 </developers>
83
84 <dependencies>
85 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000086 <groupId>org.onap.aaf.authz</groupId>
Instrumentala20accc2018-03-26 13:49:56 -070087 <artifactId>aaf-cadi-core</artifactId>
su622b40077be2018-04-08 13:50:31 -040088 <version>${project.version}</version>
Instrumentala20accc2018-03-26 13:49:56 -070089 </dependency>
90 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000091 <groupId>org.onap.aaf.authz</groupId>
Instrumentala20accc2018-03-26 13:49:56 -070092 <artifactId>aaf-cadi-aaf</artifactId>
su622b40077be2018-04-08 13:50:31 -040093 <version>${project.version}</version>
Instrumentala20accc2018-03-26 13:49:56 -070094 </dependency>
95 </dependencies>
96
97 <build>
98 <pluginManagement>
99 <plugins>
100 <plugin>
101 <groupId>org.apache.maven.plugins</groupId>
102 <artifactId>maven-compiler-plugin</artifactId>
103 <version>2.3.2</version>
104 <configuration>
105 <source>1.8</source>
106 <target>1.8</target>
107 </configuration>
108 </plugin>
109
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <version>2.4</version>
113 <artifactId>maven-jar-plugin</artifactId>
114 <configuration>
115 <outputDirectory>target</outputDirectory>
116 </configuration>
117 </plugin>
118 <plugin>
119 <artifactId>maven-assembly-plugin</artifactId>
120 <version>2.4</version>
121 <configuration>
122 <archive>
123 <manifest>
124 <mainClass>org.onap.aaf.cadi.enduser.OAuthExample</mainClass>
125 </manifest>
126 </archive>
127 <descriptors>
128 <descriptor>src/main/assemble/cadi-oauth-enduser-assemble.xml</descriptor>
129 </descriptors>
130 </configuration>
131 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000132 <plugin>
133 <groupId>org.sonatype.plugins</groupId>
134 <artifactId>nexus-staging-maven-plugin</artifactId>
135 <version>1.6.7</version>
136 <extensions>true</extensions>
137 <configuration>
138 <nexusUrl>${nexusproxy}</nexusUrl>
139 <stagingProfileId>176c31dfe190a</stagingProfileId>
140 <serverId>ecomp-staging</serverId>
141 </configuration>
142 </plugin>
143 <plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500144 <groupId>org.jacoco</groupId>
145 <artifactId>jacoco-maven-plugin</artifactId>
146 <version>${jacoco.version}</version>
147 <configuration>
148 <excludes>
149 <exclude>**/gen/**</exclude>
150 <exclude>**/generated-sources/**</exclude>
151 <exclude>**/yang-gen/**</exclude>
152 <exclude>**/pax/**</exclude>
153 </excludes>
154 </configuration>
155 <executions>
156 <execution>
157 <id>pre-unit-test</id>
158 <goals>
159 <goal>prepare-agent</goal>
160 </goals>
161 <configuration>
162 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
163 <propertyName>surefireArgLine</propertyName>
164 </configuration>
165 </execution>
166 <execution>
167 <id>post-unit-test</id>
168 <phase>test</phase>
169 <goals>
170 <goal>report</goal>
171 </goals>
172 <configuration>
173 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
174 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
175 </configuration>
176 </execution>
177 <execution>
178 <id>pre-integration-test</id>
179 <phase>pre-integration-test</phase>
180 <goals>
181 <goal>prepare-agent</goal>
182 </goals>
183 <configuration>
184 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500185
IanHowell3901cf82018-04-03 11:24:27 -0500186 <propertyName>failsafeArgLine</propertyName>
187 </configuration>
188 </execution>
189 <execution>
190 <id>post-integration-test</id>
191 <phase>post-integration-test</phase>
192 <goals>
193 <goal>report</goal>
194 </goals>
195 <configuration>
196 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
197 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
198 </configuration>
199 </execution>
200 </executions>
201 </plugin>
Sai Gandham649335a2018-03-27 20:33:30 +0000202 <plugin>
203 <groupId>org.apache.maven.plugins</groupId>
204 <artifactId>maven-deploy-plugin</artifactId>
205 <version>2.8.1</version>
206 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500207 <skip>false</skip>
Sai Gandham649335a2018-03-27 20:33:30 +0000208 </configuration>
209
210 </plugin>
Instrumentala20accc2018-03-26 13:49:56 -0700211 </plugins>
212 </pluginManagement>
213 </build>
214
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000215
216 <distributionManagement>
217 <repository>
218 <id>ecomp-releases</id>
219 <name>AAF Release Repository</name>
220 <url>${nexusproxy}${releaseNexusPath}</url>
221 </repository>
222 <snapshotRepository>
223 <id>ecomp-snapshots</id>
224 <name>AAF Snapshot Repository</name>
225 <url>${nexusproxy}${snapshotNexusPath}</url>
226 </snapshotRepository>
227 <site>
228 <id>ecomp-site</id>
229 <url>dav:${nexusproxy}${sitePath}</url>
230 </site>
231 </distributionManagement>
Instrumentala20accc2018-03-26 13:49:56 -0700232</project>