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" 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>
25 <groupId>org.onap.aaf.authz</groupId>
26 <artifactId>parent</artifactId>
27 <version>2.1.2-SNAPSHOT</version>
29 <artifactId>cadiparent</artifactId>
30 <name>AAF CADI Parent (Code, Access, Data, Identity)</name>
31 <inceptionYear>2015-07-20</inceptionYear>
35 <packaging>pom</packaging>
39 <!-- <sonar.skip>true</sonar.skip> -->
40 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41 <project.jettyVersion>9.3.9.v20160517</project.jettyVersion>
42 <powermock.version>1.5.1</powermock.version>
44 <jacoco.version>0.7.7.201606060606</jacoco.version>
45 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
46 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
47 <!-- Default Sonar configuration -->
48 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
49 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
50 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
51 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
52 <nexusproxy>https://nexus.onap.org</nexusproxy>
53 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
54 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
55 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
56 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
59 <!-- ============================================================== -->
60 <!-- Define the major contributors and developers of CADI -->
61 <!-- ============================================================== -->
64 <name>Jonathan Gathman</name>
65 <email>jonathan.gathman@att.com</email>
66 <organization>ATT</organization>
68 <role>Architect</role>
69 <role>Lead Developer</role>
73 <name>Gabe Maurer</name>
74 <email>gabe.maurer@att.com</email>
75 <organization>ATT</organization>
77 <role>Developer</role>
81 <name>Ian Howell</name>
82 <email>ian.howell@att.com</email>
83 <organization>ATT</organization>
85 <role>Developer</role>
89 <name>Sai Gandham</name>
90 <email>sai.gandham@att.com</email>
91 <organization>ATT</organization>
93 <role>Developer</role>
101 <groupId>org.mockito</groupId>
102 <artifactId>mockito-all</artifactId>
103 <version>1.9.5</version>
108 <groupId>org.powermock</groupId>
109 <artifactId>powermock-module-junit4</artifactId>
110 <version>${powermock.version}</version>
114 <groupId>org.powermock</groupId>
115 <artifactId>powermock-api-mockito</artifactId>
116 <version>${powermock.version}</version>
121 <groupId>junit</groupId>
122 <artifactId>junit</artifactId>
123 <version>4.10</version>
128 <!-- ============================================================== -->
129 <!-- Define sub-projects (modules) -->
130 <!-- ============================================================== -->
132 <module>core</module>
133 <module>client</module>
135 <module>oauth-enduser</module>
138 <!-- ============================================================== -->
139 <!-- Define project-wide dependencies -->
140 <!-- ============================================================== -->
141 <dependencyManagement>
144 <groupId>org.onap.aaf.authz</groupId>
145 <artifactId>aaf-auth-client</artifactId>
146 <version>${project.version}</version>
150 <groupId>org.onap.aaf.authz</groupId>
151 <artifactId>aaf-cadi-core</artifactId>
152 <version>${project.version}</version>
156 <groupId>org.onap.aaf.authz</groupId>
157 <artifactId>aaf-cadi-oauth</artifactId>
158 <version>${project.version}</version>
162 <!-- Prevent Cycles in Testing -->
164 <groupId>org.onap.aaf.authz</groupId>
165 <artifactId>aaf-cadi-core</artifactId>
166 <version>${project.version}</version>
167 <classifier>tests</classifier>
171 <groupId>org.onap.aaf.authz</groupId>
172 <artifactId>aaf-cadi-jetty</artifactId>
173 <version>${project.version}</version>
177 <groupId>org.onap.aaf.authz</groupId>
178 <artifactId>aaf-cadi-cass</artifactId>
179 <version>${project.version}</version>
183 <groupId>org.onap.aaf.authz</groupId>
184 <artifactId>aaf-cadi-aaf</artifactId>
185 <version>${project.version}</version>
189 <groupId>org.onap.aaf.authz</groupId>
190 <artifactId>aaf-cadi-aaf</artifactId>
191 <version>${project.version}</version>
192 <classifier>full</classifier>
196 <groupId>org.onap.aaf.authz</groupId>
197 <artifactId>aaf-cadi-client</artifactId>
198 <version>${project.version}</version>
202 <groupId>org.onap.aaf.authz</groupId>
203 <artifactId>aaf-misc-env</artifactId>
204 <version>${project.version}</version>
208 <groupId>org.onap.aaf.authz</groupId>
209 <artifactId>aaf-misc-rosetta</artifactId>
210 <version>${project.version}</version>
214 <groupId>org.onap.aaf.authz</groupId>
215 <artifactId>aaf-misc-log4j</artifactId>
216 <version>${project.version}</version>
220 <groupId>org.eclipse.jetty</groupId>
221 <artifactId>jetty-servlet</artifactId>
222 <version>${project.jettyVersion}</version>
226 <groupId>org.eclipse.jetty</groupId>
227 <artifactId>jetty-io</artifactId>
228 <version>${project.jettyVersion}</version>
232 <groupId>org.eclipse.jetty</groupId>
233 <artifactId>jetty-security</artifactId>
234 <version>${project.jettyVersion}</version>
238 <groupId>org.eclipse.jetty</groupId>
239 <artifactId>jetty-http</artifactId>
240 <version>${project.jettyVersion}</version>
244 <groupId>org.eclipse.jetty</groupId>
245 <artifactId>jetty-util</artifactId>
246 <version>${project.jettyVersion}</version>
250 <groupId>org.eclipse.jetty</groupId>
251 <artifactId>jetty-server</artifactId>
252 <version>${project.jettyVersion}</version>
256 <groupId>javax.servlet</groupId>
257 <artifactId>javax.servlet-api</artifactId>
258 <version>3.0.1</version>
262 <groupId>org.slf4j</groupId>
263 <artifactId>slf4j-api</artifactId>
264 <version>1.7.5</version>
267 </dependencyManagement>
269 <!-- ============================================================== -->
270 <!-- Define common plugins and make them available for all modules -->
271 <!-- ============================================================== -->
273 <testSourceDirectory>src/test/java</testSourceDirectory>
279 <inherited>true</inherited>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-compiler-plugin</artifactId>
282 <version>2.3.2</version>
290 <groupId>org.apache.maven.plugins</groupId>
291 <version>2.4</version>
292 <artifactId>maven-jar-plugin</artifactId>
294 <outputDirectory>target</outputDirectory>
297 <Sealed>true</Sealed>
303 <!-- Define the javadoc plugin -->
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-javadoc-plugin</artifactId>
307 <version>2.10</version>
309 <excludePackageNames>org.opendaylight.*</excludePackageNames>
314 <artifactId>maven-release-plugin</artifactId>
315 <version>2.5.2</version>
317 <goals>-s ${mvn.settings} deploy</goals>
322 <artifactId>maven-assembly-plugin</artifactId>
323 <version>2.5.5</version>
327 <groupId>org.apache.maven.plugins</groupId>
328 <artifactId>maven-deploy-plugin</artifactId>
329 <version>2.8.1</version>
337 <groupId>org.apache.maven.plugins</groupId>
338 <artifactId>maven-dependency-plugin</artifactId>
339 <version>2.10</version>
342 <!-- Maven surefire plugin for testing -->
344 <artifactId>maven-surefire-plugin</artifactId>
345 <version>2.17</version>
347 <skipTests>false</skipTests>
349 <include>**/JU*.java</include>
356 <!--This plugin's configuration is used to store Eclipse m2e settings
357 only. It has no influence on the Maven build itself. -->
359 <groupId>org.eclipse.m2e</groupId>
360 <artifactId>lifecycle-mapping</artifactId>
361 <version>1.0.0</version>
363 <lifecycleMappingMetadata>
366 <pluginExecutionFilter>
379 </pluginExecutionFilter>
385 </lifecycleMappingMetadata>
389 <groupId>org.sonatype.plugins</groupId>
390 <artifactId>nexus-staging-maven-plugin</artifactId>
391 <version>1.6.7</version>
392 <extensions>true</extensions>
394 <nexusUrl>${nexusproxy}</nexusUrl>
395 <stagingProfileId>176c31dfe190a</stagingProfileId>
396 <serverId>ecomp-staging</serverId>
400 <groupId>org.jacoco</groupId>
401 <artifactId>jacoco-maven-plugin</artifactId>
402 <version>${jacoco.version}</version>
405 <exclude>**/gen/**</exclude>
406 <exclude>**/generated-sources/**</exclude>
407 <exclude>**/yang-gen/**</exclude>
408 <exclude>**/pax/**</exclude>
413 <id>pre-unit-test</id>
415 <goal>prepare-agent</goal>
418 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
419 <propertyName>surefireArgLine</propertyName>
423 <id>post-unit-test</id>
429 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
430 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
434 <id>pre-integration-test</id>
435 <phase>pre-integration-test</phase>
437 <goal>prepare-agent</goal>
440 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
441 <propertyName>failsafeArgLine</propertyName>
445 <id>post-integration-test</id>
446 <phase>post-integration-test</phase>
451 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
452 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
461 <distributionManagement>
463 <id>ecomp-releases</id>
464 <name>AAF Release Repository</name>
465 <url>${nexusproxy}${releaseNexusPath}</url>
468 <id>ecomp-snapshots</id>
469 <name>AAF Snapshot Repository</name>
470 <url>${nexusproxy}${snapshotNexusPath}</url>
471 </snapshotRepository>
474 <url>dav:${nexusproxy}${sitePath}</url>
476 </distributionManagement>