blob: 86c4b1f86e176d0a1e579a614353918fd6bc6d21 [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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
Sai Gandham3a70e912018-04-12 22:16:21 +000024 <parent>
Instrumentala97d7312018-05-25 15:04:43 -050025 <groupId>org.onap.aaf.authz</groupId>
26 <artifactId>parent</artifactId>
Instrumentalb7440252018-06-14 15:05:33 -050027 <version>2.1.2-SNAPSHOT</version>
Sai Gandham3a70e912018-04-12 22:16:21 +000028 </parent>
Sai Gandham83fc0252018-04-09 16:28:48 +000029 <artifactId>cadiparent</artifactId>
Instrumentala20accc2018-03-26 13:49:56 -070030 <name>AAF CADI Parent (Code, Access, Data, Identity)</name>
Instrumentala20accc2018-03-26 13:49:56 -070031 <inceptionYear>2015-07-20</inceptionYear>
32 <organization>
33 <name>ONAP</name>
34 </organization>
35 <packaging>pom</packaging>
Sai Gandham99f14fb2018-04-08 10:13:10 -050036
Instrumentala20accc2018-03-26 13:49:56 -070037 <properties>
Instrumental9f52db12018-08-31 09:53:21 -050038 <!-- SONAR -->
Sai Gandhamf44b9272018-04-12 16:42:07 +000039 <!-- <sonar.skip>true</sonar.skip> -->
Instrumental9f52db12018-08-31 09:53:21 -050040 <jacoco.version>0.7.7.201606060606</jacoco.version>
41 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
42 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
43 <!-- Default Sonar configuration -->
44 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
45 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
46 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
47 below -->
48 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000049 <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>
Instrumentala20accc2018-03-26 13:49:56 -070054 </properties>
Instrumental9f52db12018-08-31 09:53:21 -050055
Instrumentala20accc2018-03-26 13:49:56 -070056
57 <!-- ============================================================== -->
58 <!-- Define the major contributors and developers of CADI -->
59 <!-- ============================================================== -->
60 <developers>
61 <developer>
62 <name>Jonathan Gathman</name>
63 <email>jonathan.gathman@att.com</email>
64 <organization>ATT</organization>
65 <roles>
66 <role>Architect</role>
67 <role>Lead Developer</role>
68 </roles>
69 </developer>
70 <developer>
71 <name>Gabe Maurer</name>
72 <email>gabe.maurer@att.com</email>
73 <organization>ATT</organization>
74 <roles>
75 <role>Developer</role>
76 </roles>
77 </developer>
78 <developer>
79 <name>Ian Howell</name>
80 <email>ian.howell@att.com</email>
81 <organization>ATT</organization>
82 <roles>
83 <role>Developer</role>
84 </roles>
85 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000086 <developer>
87 <name>Sai Gandham</name>
88 <email>sai.gandham@att.com</email>
89 <organization>ATT</organization>
90 <roles>
91 <role>Developer</role>
92 </roles>
93 </developer>
Instrumentala20accc2018-03-26 13:49:56 -070094 </developers>
95
96
97 <dependencies>
98 <dependency>
99 <groupId>org.mockito</groupId>
100 <artifactId>mockito-all</artifactId>
Instrumentala20accc2018-03-26 13:49:56 -0700101 <scope>test</scope>
102 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -0500103
Instrumentala20accc2018-03-26 13:49:56 -0700104 <dependency>
105 <groupId>org.powermock</groupId>
106 <artifactId>powermock-module-junit4</artifactId>
Instrumentala20accc2018-03-26 13:49:56 -0700107 <scope>test</scope>
108 </dependency>
109 <dependency>
110 <groupId>org.powermock</groupId>
111 <artifactId>powermock-api-mockito</artifactId>
Instrumentala20accc2018-03-26 13:49:56 -0700112 <scope>test</scope>
113 </dependency>
114
115 <dependency>
116 <groupId>junit</groupId>
117 <artifactId>junit</artifactId>
Instrumentala20accc2018-03-26 13:49:56 -0700118 <scope>test</scope>
119 </dependency>
120 </dependencies>
121
122 <!-- ============================================================== -->
123 <!-- Define sub-projects (modules) -->
124 <!-- ============================================================== -->
125 <modules>
126 <module>core</module>
127 <module>client</module>
128 <module>aaf</module>
Instrumentala20accc2018-03-26 13:49:56 -0700129 <module>oauth-enduser</module>
Instrumentala20accc2018-03-26 13:49:56 -0700130 </modules>
131
Instrumentala20accc2018-03-26 13:49:56 -0700132
133 <!-- ============================================================== -->
134 <!-- Define common plugins and make them available for all modules -->
135 <!-- ============================================================== -->
136 <build>
137 <testSourceDirectory>src/test/java</testSourceDirectory>
138 <plugins>
139 </plugins>
IanHowell3901cf82018-04-03 11:24:27 -0500140 <pluginManagement>
Instrumentala20accc2018-03-26 13:49:56 -0700141 <plugins>
142 <plugin>
143 <inherited>true</inherited>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-compiler-plugin</artifactId>
146 <version>2.3.2</version>
147 <configuration>
148 <source>1.7</source>
149 <target>1.7</target>
150 </configuration>
151 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500152
Instrumentala20accc2018-03-26 13:49:56 -0700153 <plugin>
154 <groupId>org.apache.maven.plugins</groupId>
155 <version>2.4</version>
156 <artifactId>maven-jar-plugin</artifactId>
157 <configuration>
158 <outputDirectory>target</outputDirectory>
159 <archive>
160 <manifestEntries>
161 <Sealed>true</Sealed>
162 </manifestEntries>
163 </archive>
164 </configuration>
165 </plugin>
166
167 <!-- Define the javadoc plugin -->
168 <plugin>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-javadoc-plugin</artifactId>
171 <version>2.10</version>
172 <configuration>
173 <excludePackageNames>org.opendaylight.*</excludePackageNames>
174 </configuration>
175 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500176
Instrumentala20accc2018-03-26 13:49:56 -0700177 <plugin>
178 <artifactId>maven-release-plugin</artifactId>
179 <version>2.5.2</version>
180 <configuration>
181 <goals>-s ${mvn.settings} deploy</goals>
182 </configuration>
183 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500184
Instrumentala20accc2018-03-26 13:49:56 -0700185 <plugin>
186 <artifactId>maven-assembly-plugin</artifactId>
187 <version>2.5.5</version>
188 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500189
Instrumentala20accc2018-03-26 13:49:56 -0700190 <plugin>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-deploy-plugin</artifactId>
193 <version>2.8.1</version>
194 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500195 <skip>false</skip>
Instrumentala20accc2018-03-26 13:49:56 -0700196 </configuration>
IanHowell3901cf82018-04-03 11:24:27 -0500197
Instrumentala20accc2018-03-26 13:49:56 -0700198 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500199
Instrumentala20accc2018-03-26 13:49:56 -0700200 <plugin>
201 <groupId>org.apache.maven.plugins</groupId>
202 <artifactId>maven-dependency-plugin</artifactId>
203 <version>2.10</version>
204 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500205
Instrumentala20accc2018-03-26 13:49:56 -0700206 <!-- Maven surefire plugin for testing -->
207 <plugin>
208 <artifactId>maven-surefire-plugin</artifactId>
209 <version>2.17</version>
210 <configuration>
IanHowelle6123772018-04-03 15:26:47 -0500211 <skipTests>false</skipTests>
212 <includes>
213 <include>**/JU*.java</include>
214 </includes>
215 <excludes>
216 </excludes>
Instrumentala20accc2018-03-26 13:49:56 -0700217 </configuration>
218 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500219
220 <!--This plugin's configuration is used to store Eclipse m2e settings
Instrumentala20accc2018-03-26 13:49:56 -0700221 only. It has no influence on the Maven build itself. -->
222 <plugin>
223 <groupId>org.eclipse.m2e</groupId>
224 <artifactId>lifecycle-mapping</artifactId>
225 <version>1.0.0</version>
226 <configuration>
227 <lifecycleMappingMetadata>
228 <pluginExecutions>
229 <pluginExecution>
230 <pluginExecutionFilter>
231 <groupId>
232 org.codehaus.mojo
233 </groupId>
234 <artifactId>
235 jaxb2-maven-plugin
236 </artifactId>
237 <versionRange>
238 [1.3,)
239 </versionRange>
240 <goals>
241 <goal>xjc</goal>
242 </goals>
243 </pluginExecutionFilter>
244 <action>
245 <ignore />
246 </action>
247 </pluginExecution>
248 </pluginExecutions>
249 </lifecycleMappingMetadata>
250 </configuration>
251 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500252 <plugin>
253 <groupId>org.sonatype.plugins</groupId>
254 <artifactId>nexus-staging-maven-plugin</artifactId>
255 <version>1.6.7</version>
256 <extensions>true</extensions>
257 <configuration>
258 <nexusUrl>${nexusproxy}</nexusUrl>
259 <stagingProfileId>176c31dfe190a</stagingProfileId>
260 <serverId>ecomp-staging</serverId>
261 </configuration>
262 </plugin>
263 <plugin>
264 <groupId>org.jacoco</groupId>
265 <artifactId>jacoco-maven-plugin</artifactId>
266 <version>${jacoco.version}</version>
267 <configuration>
268 <excludes>
269 <exclude>**/gen/**</exclude>
270 <exclude>**/generated-sources/**</exclude>
271 <exclude>**/yang-gen/**</exclude>
272 <exclude>**/pax/**</exclude>
273 </excludes>
274 </configuration>
275 <executions>
276 <execution>
277 <id>pre-unit-test</id>
278 <goals>
279 <goal>prepare-agent</goal>
280 </goals>
281 <configuration>
282 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
283 <propertyName>surefireArgLine</propertyName>
284 </configuration>
285 </execution>
286 <execution>
287 <id>post-unit-test</id>
288 <phase>test</phase>
289 <goals>
290 <goal>report</goal>
291 </goals>
292 <configuration>
293 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
294 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
295 </configuration>
296 </execution>
297 <execution>
298 <id>pre-integration-test</id>
299 <phase>pre-integration-test</phase>
300 <goals>
301 <goal>prepare-agent</goal>
302 </goals>
303 <configuration>
304 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
305 <propertyName>failsafeArgLine</propertyName>
306 </configuration>
307 </execution>
308 <execution>
309 <id>post-integration-test</id>
310 <phase>post-integration-test</phase>
311 <goals>
312 <goal>report</goal>
313 </goals>
314 <configuration>
315 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
316 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
317 </configuration>
318 </execution>
319 </executions>
320 </plugin>
Instrumentala20accc2018-03-26 13:49:56 -0700321 </plugins>
IanHowell3901cf82018-04-03 11:24:27 -0500322 </pluginManagement>
Instrumentala20accc2018-03-26 13:49:56 -0700323 </build>
324
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000325 <distributionManagement>
326 <repository>
327 <id>ecomp-releases</id>
328 <name>AAF Release Repository</name>
329 <url>${nexusproxy}${releaseNexusPath}</url>
330 </repository>
331 <snapshotRepository>
332 <id>ecomp-snapshots</id>
333 <name>AAF Snapshot Repository</name>
334 <url>${nexusproxy}${snapshotNexusPath}</url>
335 </snapshotRepository>
336 <site>
337 <id>ecomp-site</id>
338 <url>dav:${nexusproxy}${sitePath}</url>
339 </site>
340 </distributionManagement>
IanHowell3901cf82018-04-03 11:24:27 -0500341
Instrumentala20accc2018-03-26 13:49:56 -0700342</project>