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>2.1.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>2.1.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/cadi/${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>oauth-enduser</module>
140 <module>shiro</module>
143 <!-- ============================================================== -->
144 <!-- Define project-wide dependencies -->
145 <!-- ============================================================== -->
146 <dependencyManagement>
149 <groupId>org.onap.aaf.authz.auth</groupId>
150 <artifactId>aaf-auth-client</artifactId>
151 <version>${project.authClientVersion}</version>
155 <groupId>org.onap.aaf.authz.cadi</groupId>
156 <artifactId>aaf-cadi-core</artifactId>
157 <version>${project.version}</version>
161 <groupId>org.onap.aaf.authz.cadi</groupId>
162 <artifactId>aaf-cadi-oauth</artifactId>
163 <version>${project.version}</version>
167 <!-- Prevent Cycles in Testing -->
169 <groupId>org.onap.aaf.authz.cadi</groupId>
170 <artifactId>aaf-cadi-core</artifactId>
171 <version>${project.version}</version>
172 <classifier>tests</classifier>
176 <groupId>org.onap.aaf.authz.cadi</groupId>
177 <artifactId>aaf-cadi-jetty</artifactId>
178 <version>${project.version}</version>
182 <groupId>org.onap.aaf.authz.cadi</groupId>
183 <artifactId>aaf-cadi-cass</artifactId>
184 <version>${project.version}</version>
188 <groupId>org.onap.aaf.authz.cadi</groupId>
189 <artifactId>aaf-cadi-aaf</artifactId>
190 <version>${project.version}</version>
194 <groupId>org.onap.aaf.authz.cadi</groupId>
195 <artifactId>aaf-cadi-aaf</artifactId>
196 <version>${project.version}</version>
197 <classifier>full</classifier>
201 <groupId>org.onap.aaf.authz.cadi</groupId>
202 <artifactId>aaf-cadi-client</artifactId>
203 <version>${project.version}</version>
207 <groupId>org.onap.aaf.authz.misc</groupId>
208 <artifactId>aaf-misc-env</artifactId>
209 <version>${project.miscVersion}</version>
213 <groupId>org.onap.aaf.authz.misc</groupId>
214 <artifactId>aaf-misc-rosetta</artifactId>
215 <version>${project.miscVersion}</version>
219 <groupId>org.onap.aaf.authz.misc</groupId>
220 <artifactId>aaf-misc-log4j</artifactId>
221 <version>${project.miscVersion}</version>
225 <groupId>org.eclipse.jetty</groupId>
226 <artifactId>jetty-servlet</artifactId>
227 <version>${project.jettyVersion}</version>
231 <groupId>org.eclipse.jetty</groupId>
232 <artifactId>jetty-io</artifactId>
233 <version>${project.jettyVersion}</version>
237 <groupId>org.eclipse.jetty</groupId>
238 <artifactId>jetty-security</artifactId>
239 <version>${project.jettyVersion}</version>
243 <groupId>org.eclipse.jetty</groupId>
244 <artifactId>jetty-http</artifactId>
245 <version>${project.jettyVersion}</version>
249 <groupId>org.eclipse.jetty</groupId>
250 <artifactId>jetty-util</artifactId>
251 <version>${project.jettyVersion}</version>
255 <groupId>org.eclipse.jetty</groupId>
256 <artifactId>jetty-server</artifactId>
257 <version>${project.jettyVersion}</version>
261 <groupId>javax.servlet</groupId>
262 <artifactId>javax.servlet-api</artifactId>
263 <version>3.0.1</version>
267 <groupId>org.slf4j</groupId>
268 <artifactId>slf4j-api</artifactId>
269 <version>1.7.5</version>
272 </dependencyManagement>
274 <!-- ============================================================== -->
275 <!-- Define common plugins and make them available for all modules -->
276 <!-- ============================================================== -->
278 <testSourceDirectory>src/test/java</testSourceDirectory>
284 <inherited>true</inherited>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-compiler-plugin</artifactId>
287 <version>2.3.2</version>
295 <groupId>org.apache.maven.plugins</groupId>
296 <version>2.4</version>
297 <artifactId>maven-jar-plugin</artifactId>
299 <outputDirectory>target</outputDirectory>
302 <Sealed>true</Sealed>
308 <!-- Define the javadoc plugin -->
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-javadoc-plugin</artifactId>
312 <version>2.10</version>
314 <excludePackageNames>org.opendaylight.*</excludePackageNames>
319 <artifactId>maven-release-plugin</artifactId>
320 <version>2.5.2</version>
322 <goals>-s ${mvn.settings} deploy</goals>
327 <artifactId>maven-assembly-plugin</artifactId>
328 <version>2.5.5</version>
332 <groupId>org.apache.maven.plugins</groupId>
333 <artifactId>maven-deploy-plugin</artifactId>
334 <version>2.8.1</version>
342 <groupId>org.apache.maven.plugins</groupId>
343 <artifactId>maven-dependency-plugin</artifactId>
344 <version>2.10</version>
347 <!-- Maven surefire plugin for testing -->
349 <artifactId>maven-surefire-plugin</artifactId>
350 <version>2.17</version>
352 <skipTests>false</skipTests>
354 <include>**/JU*.java</include>
361 <!--This plugin's configuration is used to store Eclipse m2e settings
362 only. It has no influence on the Maven build itself. -->
364 <groupId>org.eclipse.m2e</groupId>
365 <artifactId>lifecycle-mapping</artifactId>
366 <version>1.0.0</version>
368 <lifecycleMappingMetadata>
371 <pluginExecutionFilter>
384 </pluginExecutionFilter>
390 </lifecycleMappingMetadata>
394 <groupId>org.sonatype.plugins</groupId>
395 <artifactId>nexus-staging-maven-plugin</artifactId>
396 <version>1.6.7</version>
397 <extensions>true</extensions>
399 <nexusUrl>${nexusproxy}</nexusUrl>
400 <stagingProfileId>176c31dfe190a</stagingProfileId>
401 <serverId>ecomp-staging</serverId>
405 <groupId>org.jacoco</groupId>
406 <artifactId>jacoco-maven-plugin</artifactId>
407 <version>${jacoco.version}</version>
410 <exclude>**/gen/**</exclude>
411 <exclude>**/generated-sources/**</exclude>
412 <exclude>**/yang-gen/**</exclude>
413 <exclude>**/pax/**</exclude>
418 <id>pre-unit-test</id>
420 <goal>prepare-agent</goal>
423 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
424 <propertyName>surefireArgLine</propertyName>
428 <id>post-unit-test</id>
434 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
435 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
439 <id>pre-integration-test</id>
440 <phase>pre-integration-test</phase>
442 <goal>prepare-agent</goal>
445 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
446 <propertyName>failsafeArgLine</propertyName>
450 <id>post-integration-test</id>
451 <phase>post-integration-test</phase>
456 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
457 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
466 <distributionManagement>
468 <id>ecomp-releases</id>
469 <name>AAF Release Repository</name>
470 <url>${nexusproxy}${releaseNexusPath}</url>
473 <id>ecomp-snapshots</id>
474 <name>AAF Snapshot Repository</name>
475 <url>${nexusproxy}${snapshotNexusPath}</url>
476 </snapshotRepository>
479 <url>dav:${nexusproxy}${sitePath}</url>
481 </distributionManagement>