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>
24 <groupId>org.onap.aaf.authz.cadi</groupId>
25 <artifactId>parent</artifactId>
26 <name>AAF CADI Parent (Code, Access, Data, Identity)</name>
27 <version>1.5.0-SNAPSHOT</version>
28 <inceptionYear>2015-07-20</inceptionYear>
32 <packaging>pom</packaging>
35 <groupId>org.onap.oparent</groupId>
36 <artifactId>oparent</artifactId>
37 <version>1.1.0</version>
41 <skipSigning>true</skipSigning>
42 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43 <project.miscVersion>1.3.0-SNAPSHOT</project.miscVersion>
44 <project.authClientVersion>2.10-SNAPSHOT</project.authClientVersion>
45 <project.jettyVersion>9.3.9.v20160517</project.jettyVersion>
46 <powermock.version>1.5.1</powermock.version>
48 <jacoco.version>0.7.7.201606060606</jacoco.version>
49 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
50 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
51 <!-- Default Sonar configuration -->
52 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
53 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
54 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
55 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
56 <nexusproxy>https://nexus.onap.org</nexusproxy>
57 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
58 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
59 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
60 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
63 <!-- ============================================================== -->
64 <!-- Define the major contributors and developers of CADI -->
65 <!-- ============================================================== -->
68 <name>Jonathan Gathman</name>
69 <email>jonathan.gathman@att.com</email>
70 <organization>ATT</organization>
72 <role>Architect</role>
73 <role>Lead Developer</role>
77 <name>Gabe Maurer</name>
78 <email>gabe.maurer@att.com</email>
79 <organization>ATT</organization>
81 <role>Developer</role>
85 <name>Ian Howell</name>
86 <email>ian.howell@att.com</email>
87 <organization>ATT</organization>
89 <role>Developer</role>
93 <name>Sai Gandham</name>
94 <email>sai.gandham@att.com</email>
95 <organization>ATT</organization>
97 <role>Developer</role>
105 <groupId>org.mockito</groupId>
106 <artifactId>mockito-all</artifactId>
107 <version>1.9.5</version>
112 <groupId>org.powermock</groupId>
113 <artifactId>powermock-module-junit4</artifactId>
114 <version>${powermock.version}</version>
118 <groupId>org.powermock</groupId>
119 <artifactId>powermock-api-mockito</artifactId>
120 <version>${powermock.version}</version>
125 <groupId>junit</groupId>
126 <artifactId>junit</artifactId>
127 <version>4.10</version>
132 <!-- ============================================================== -->
133 <!-- Define sub-projects (modules) -->
134 <!-- ============================================================== -->
136 <module>core</module>
137 <module>client</module>
139 <module>cass</module>
140 <module>oauth-enduser</module>
141 <module>shiro</module>
144 <!-- ============================================================== -->
145 <!-- Define project-wide dependencies -->
146 <!-- ============================================================== -->
147 <dependencyManagement>
150 <groupId>org.onap.aaf.authz.auth</groupId>
151 <artifactId>aaf-auth-client</artifactId>
152 <version>${project.authClientVersion}</version>
156 <groupId>org.onap.aaf.authz.cadi</groupId>
157 <artifactId>aaf-cadi-core</artifactId>
158 <version>${project.version}</version>
162 <groupId>org.onap.aaf.authz.cadi</groupId>
163 <artifactId>aaf-cadi-oauth</artifactId>
164 <version>${project.version}</version>
168 <!-- Prevent Cycles in Testing -->
170 <groupId>org.onap.aaf.authz.cadi</groupId>
171 <artifactId>aaf-cadi-core</artifactId>
172 <version>${project.version}</version>
173 <classifier>tests</classifier>
177 <groupId>org.onap.aaf.authz.cadi</groupId>
178 <artifactId>aaf-cadi-jetty</artifactId>
179 <version>${project.version}</version>
183 <groupId>org.onap.aaf.authz.cadi</groupId>
184 <artifactId>aaf-cadi-cass</artifactId>
185 <version>${project.version}</version>
189 <groupId>org.onap.aaf.authz.cadi</groupId>
190 <artifactId>aaf-cadi-aaf</artifactId>
191 <version>${project.version}</version>
195 <groupId>org.onap.aaf.authz.cadi</groupId>
196 <artifactId>aaf-cadi-aaf</artifactId>
197 <version>${project.version}</version>
198 <classifier>full</classifier>
202 <groupId>org.onap.aaf.authz.cadi</groupId>
203 <artifactId>aaf-cadi-client</artifactId>
204 <version>${project.version}</version>
208 <groupId>org.onap.aaf.authz.misc</groupId>
209 <artifactId>aaf-misc-env</artifactId>
210 <version>${project.miscVersion}</version>
214 <groupId>org.onap.aaf.authz.misc</groupId>
215 <artifactId>aaf-misc-rosetta</artifactId>
216 <version>${project.miscVersion}</version>
220 <groupId>org.onap.aaf.authz.misc</groupId>
221 <artifactId>aaf-misc-log4j</artifactId>
222 <version>${project.miscVersion}</version>
226 <groupId>org.eclipse.jetty</groupId>
227 <artifactId>jetty-servlet</artifactId>
228 <version>${project.jettyVersion}</version>
232 <groupId>org.eclipse.jetty</groupId>
233 <artifactId>jetty-io</artifactId>
234 <version>${project.jettyVersion}</version>
238 <groupId>org.eclipse.jetty</groupId>
239 <artifactId>jetty-security</artifactId>
240 <version>${project.jettyVersion}</version>
244 <groupId>org.eclipse.jetty</groupId>
245 <artifactId>jetty-http</artifactId>
246 <version>${project.jettyVersion}</version>
250 <groupId>org.eclipse.jetty</groupId>
251 <artifactId>jetty-util</artifactId>
252 <version>${project.jettyVersion}</version>
256 <groupId>org.eclipse.jetty</groupId>
257 <artifactId>jetty-server</artifactId>
258 <version>${project.jettyVersion}</version>
262 <groupId>javax.servlet</groupId>
263 <artifactId>servlet-api</artifactId>
264 <version>2.5</version>
268 <groupId>org.slf4j</groupId>
269 <artifactId>slf4j-api</artifactId>
270 <version>1.7.5</version>
273 </dependencyManagement>
275 <!-- ============================================================== -->
276 <!-- Define common plugins and make them available for all modules -->
277 <!-- ============================================================== -->
279 <testSourceDirectory>src/test/java</testSourceDirectory>
285 <inherited>true</inherited>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-compiler-plugin</artifactId>
288 <version>2.3.2</version>
296 <groupId>org.apache.maven.plugins</groupId>
297 <version>2.4</version>
298 <artifactId>maven-jar-plugin</artifactId>
300 <outputDirectory>target</outputDirectory>
303 <Sealed>true</Sealed>
309 <!-- Define the javadoc plugin -->
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-javadoc-plugin</artifactId>
313 <version>2.10</version>
315 <excludePackageNames>org.opendaylight.*</excludePackageNames>
320 <artifactId>maven-release-plugin</artifactId>
321 <version>2.5.2</version>
323 <goals>-s ${mvn.settings} deploy</goals>
328 <artifactId>maven-assembly-plugin</artifactId>
329 <version>2.5.5</version>
333 <groupId>org.apache.maven.plugins</groupId>
334 <artifactId>maven-deploy-plugin</artifactId>
335 <version>2.8.1</version>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-dependency-plugin</artifactId>
345 <version>2.10</version>
348 <!-- Maven surefire plugin for testing -->
350 <artifactId>maven-surefire-plugin</artifactId>
351 <version>2.17</version>
353 <skipTests>false</skipTests>
355 <include>**/JU*.java</include>
362 <!--This plugin's configuration is used to store Eclipse m2e settings
363 only. It has no influence on the Maven build itself. -->
365 <groupId>org.eclipse.m2e</groupId>
366 <artifactId>lifecycle-mapping</artifactId>
367 <version>1.0.0</version>
369 <lifecycleMappingMetadata>
372 <pluginExecutionFilter>
385 </pluginExecutionFilter>
391 </lifecycleMappingMetadata>
395 <groupId>org.sonatype.plugins</groupId>
396 <artifactId>nexus-staging-maven-plugin</artifactId>
397 <version>1.6.7</version>
398 <extensions>true</extensions>
400 <nexusUrl>${nexusproxy}</nexusUrl>
401 <stagingProfileId>176c31dfe190a</stagingProfileId>
402 <serverId>ecomp-staging</serverId>
406 <groupId>org.jacoco</groupId>
407 <artifactId>jacoco-maven-plugin</artifactId>
408 <version>${jacoco.version}</version>
411 <exclude>**/gen/**</exclude>
412 <exclude>**/generated-sources/**</exclude>
413 <exclude>**/yang-gen/**</exclude>
414 <exclude>**/pax/**</exclude>
419 <id>pre-unit-test</id>
421 <goal>prepare-agent</goal>
424 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
425 <propertyName>surefireArgLine</propertyName>
429 <id>post-unit-test</id>
435 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
436 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
440 <id>pre-integration-test</id>
441 <phase>pre-integration-test</phase>
443 <goal>prepare-agent</goal>
446 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
447 <propertyName>failsafeArgLine</propertyName>
451 <id>post-integration-test</id>
452 <phase>post-integration-test</phase>
457 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
458 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
467 <distributionManagement>
469 <id>ecomp-releases</id>
470 <name>AAF Release Repository</name>
471 <url>${nexusproxy}${releaseNexusPath}</url>
474 <id>ecomp-snapshots</id>
475 <name>AAF Snapshot Repository</name>
476 <url>${nexusproxy}${snapshotNexusPath}</url>
477 </snapshotRepository>
480 <url>dav:${nexusproxy}${sitePath}</url>
482 </distributionManagement>