blob: 2f5dc16670ab7bac16b32ec9c1f7908d51f398c7 [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>
25 <name>AAF CADI Sample OAuth EndUser</name>
Instrumental17ca7442018-03-29 16:54:19 -050026 <groupId>org.onap.aaf.authz.cadi</groupId>
Sai Gandhamc83c6332018-04-05 16:08:24 -050027 <version>2.1.0-SNAPSHOT</version>
Instrumentala20accc2018-03-26 13:49:56 -070028 <artifactId>aaf-cadi-oauth-enduser</artifactId>
29
30 <packaging>jar</packaging>
31
Sai Gandhamc434f3c2018-03-27 16:29:24 +000032 <properties>
33 <!-- SONAR -->
Sai Gandham1ef69d22018-04-03 16:25:33 -050034 <sonar.skip>true</sonar.skip>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000035 <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 -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050039 <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>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000041 <!-- 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>
Sai Gandham103d3ca2018-04-06 14:00:44 -050047 <sitePath>/content/sites/site/org/onap/aaf/authz/cadi/${project.artifactId}/${project.version}</sitePath>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000048 </properties>
49
Instrumentala20accc2018-03-26 13:49:56 -070050 <developers>
51 <developer>
52 <name>Jonathan Gathman</name>
53 <email>jonathan.gathman@att.com</email>
54 <organization>ATT</organization>
55 <roles>
56 <role>Architect</role>
57 <role>Lead Developer</role>
58 </roles>
59 </developer>
60 <developer>
61 <name>Gabe Maurer</name>
62 <email>gabe.maurer@att.com</email>
63 <organization>ATT</organization>
64 <roles>
65 <role>Developer</role>
66 </roles>
67 </developer>
68 <developer>
69 <name>Ian Howell</name>
70 <email>ian.howell@att.com</email>
71 <organization>ATT</organization>
72 <roles>
73 <role>Developer</role>
74 </roles>
75 </developer>
76 </developers>
77
78 <dependencies>
79 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050080 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -070081 <artifactId>aaf-cadi-core</artifactId>
Sai Gandhamc83c6332018-04-05 16:08:24 -050082 <version>2.1.0-SNAPSHOT</version>
Instrumentala20accc2018-03-26 13:49:56 -070083 </dependency>
84 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050085 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -070086 <artifactId>aaf-cadi-aaf</artifactId>
Sai Gandhamc83c6332018-04-05 16:08:24 -050087 <version>2.1.0-SNAPSHOT</version>
Instrumentala20accc2018-03-26 13:49:56 -070088 </dependency>
89 </dependencies>
90
91 <build>
92 <pluginManagement>
93 <plugins>
94 <plugin>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-compiler-plugin</artifactId>
97 <version>2.3.2</version>
98 <configuration>
99 <source>1.8</source>
100 <target>1.8</target>
101 </configuration>
102 </plugin>
103
104 <plugin>
105 <groupId>org.apache.maven.plugins</groupId>
106 <version>2.4</version>
107 <artifactId>maven-jar-plugin</artifactId>
108 <configuration>
109 <outputDirectory>target</outputDirectory>
110 </configuration>
111 </plugin>
112 <plugin>
113 <artifactId>maven-assembly-plugin</artifactId>
114 <version>2.4</version>
115 <configuration>
116 <archive>
117 <manifest>
118 <mainClass>org.onap.aaf.cadi.enduser.OAuthExample</mainClass>
119 </manifest>
120 </archive>
121 <descriptors>
122 <descriptor>src/main/assemble/cadi-oauth-enduser-assemble.xml</descriptor>
123 </descriptors>
124 </configuration>
125 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000126 <plugin>
127 <groupId>org.sonatype.plugins</groupId>
128 <artifactId>nexus-staging-maven-plugin</artifactId>
129 <version>1.6.7</version>
130 <extensions>true</extensions>
131 <configuration>
132 <nexusUrl>${nexusproxy}</nexusUrl>
133 <stagingProfileId>176c31dfe190a</stagingProfileId>
134 <serverId>ecomp-staging</serverId>
135 </configuration>
136 </plugin>
137 <plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500138 <groupId>org.jacoco</groupId>
139 <artifactId>jacoco-maven-plugin</artifactId>
140 <version>${jacoco.version}</version>
141 <configuration>
142 <excludes>
143 <exclude>**/gen/**</exclude>
144 <exclude>**/generated-sources/**</exclude>
145 <exclude>**/yang-gen/**</exclude>
146 <exclude>**/pax/**</exclude>
147 </excludes>
148 </configuration>
149 <executions>
150 <execution>
151 <id>pre-unit-test</id>
152 <goals>
153 <goal>prepare-agent</goal>
154 </goals>
155 <configuration>
156 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
157 <propertyName>surefireArgLine</propertyName>
158 </configuration>
159 </execution>
160 <execution>
161 <id>post-unit-test</id>
162 <phase>test</phase>
163 <goals>
164 <goal>report</goal>
165 </goals>
166 <configuration>
167 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
168 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
169 </configuration>
170 </execution>
171 <execution>
172 <id>pre-integration-test</id>
173 <phase>pre-integration-test</phase>
174 <goals>
175 <goal>prepare-agent</goal>
176 </goals>
177 <configuration>
178 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500179
IanHowell3901cf82018-04-03 11:24:27 -0500180 <propertyName>failsafeArgLine</propertyName>
181 </configuration>
182 </execution>
183 <execution>
184 <id>post-integration-test</id>
185 <phase>post-integration-test</phase>
186 <goals>
187 <goal>report</goal>
188 </goals>
189 <configuration>
190 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
191 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
192 </configuration>
193 </execution>
194 </executions>
195 </plugin>
Sai Gandham649335a2018-03-27 20:33:30 +0000196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-deploy-plugin</artifactId>
199 <version>2.8.1</version>
200 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500201 <skip>false</skip>
Sai Gandham649335a2018-03-27 20:33:30 +0000202 </configuration>
203
204 </plugin>
Instrumentala20accc2018-03-26 13:49:56 -0700205 </plugins>
206 </pluginManagement>
207 </build>
208
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000209
210 <distributionManagement>
211 <repository>
212 <id>ecomp-releases</id>
213 <name>AAF Release Repository</name>
214 <url>${nexusproxy}${releaseNexusPath}</url>
215 </repository>
216 <snapshotRepository>
217 <id>ecomp-snapshots</id>
218 <name>AAF Snapshot Repository</name>
219 <url>${nexusproxy}${snapshotNexusPath}</url>
220 </snapshotRepository>
221 <site>
222 <id>ecomp-site</id>
223 <url>dav:${nexusproxy}${sitePath}</url>
224 </site>
225 </distributionManagement>
Instrumentala20accc2018-03-26 13:49:56 -0700226</project>