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.0-SNAPSHOT</version>
29 <groupId>org.onap.aaf.authz</groupId>
30 <artifactId>cadiparent</artifactId>
31 <name>AAF CADI Parent (Code, Access, Data, Identity)</name>
32 <version>2.1.0-SNAPSHOT</version>
33 <inceptionYear>2015-07-20</inceptionYear>
37 <packaging>pom</packaging>
41 <!-- <sonar.skip>true</sonar.skip> -->
42 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43 <project.jettyVersion>9.3.9.v20160517</project.jettyVersion>
44 <powermock.version>1.5.1</powermock.version>
46 <jacoco.version>0.7.7.201606060606</jacoco.version>
47 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
48 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
49 <!-- Default Sonar configuration -->
50 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
51 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
52 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
53 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
54 <nexusproxy>https://nexus.onap.org</nexusproxy>
55 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
56 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
57 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
58 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
61 <!-- ============================================================== -->
62 <!-- Define the major contributors and developers of CADI -->
63 <!-- ============================================================== -->
66 <name>Jonathan Gathman</name>
67 <email>jonathan.gathman@att.com</email>
68 <organization>ATT</organization>
70 <role>Architect</role>
71 <role>Lead Developer</role>
75 <name>Gabe Maurer</name>
76 <email>gabe.maurer@att.com</email>
77 <organization>ATT</organization>
79 <role>Developer</role>
83 <name>Ian Howell</name>
84 <email>ian.howell@att.com</email>
85 <organization>ATT</organization>
87 <role>Developer</role>
91 <name>Sai Gandham</name>
92 <email>sai.gandham@att.com</email>
93 <organization>ATT</organization>
95 <role>Developer</role>
103 <groupId>org.mockito</groupId>
104 <artifactId>mockito-all</artifactId>
105 <version>1.9.5</version>
110 <groupId>org.powermock</groupId>
111 <artifactId>powermock-module-junit4</artifactId>
112 <version>${powermock.version}</version>
116 <groupId>org.powermock</groupId>
117 <artifactId>powermock-api-mockito</artifactId>
118 <version>${powermock.version}</version>
123 <groupId>junit</groupId>
124 <artifactId>junit</artifactId>
125 <version>4.10</version>
130 <!-- ============================================================== -->
131 <!-- Define sub-projects (modules) -->
132 <!-- ============================================================== -->
134 <module>core</module>
135 <module>client</module>
137 <module>oauth-enduser</module>
138 <module>shiro</module>
139 <module>shiro-osgi-bundle</module>
142 <!-- ============================================================== -->
143 <!-- Define project-wide dependencies -->
144 <!-- ============================================================== -->
145 <dependencyManagement>
148 <groupId>org.onap.aaf.authz</groupId>
149 <artifactId>aaf-auth-client</artifactId>
150 <version>${project.version}</version>
154 <groupId>org.onap.aaf.authz</groupId>
155 <artifactId>aaf-cadi-core</artifactId>
156 <version>${project.version}</version>
160 <groupId>org.onap.aaf.authz</groupId>
161 <artifactId>aaf-cadi-oauth</artifactId>
162 <version>${project.version}</version>
166 <!-- Prevent Cycles in Testing -->
168 <groupId>org.onap.aaf.authz</groupId>
169 <artifactId>aaf-cadi-core</artifactId>
170 <version>${project.version}</version>
171 <classifier>tests</classifier>
175 <groupId>org.onap.aaf.authz</groupId>
176 <artifactId>aaf-cadi-jetty</artifactId>
177 <version>${project.version}</version>
181 <groupId>org.onap.aaf.authz</groupId>
182 <artifactId>aaf-cadi-cass</artifactId>
183 <version>${project.version}</version>
187 <groupId>org.onap.aaf.authz</groupId>
188 <artifactId>aaf-cadi-aaf</artifactId>
189 <version>${project.version}</version>
193 <groupId>org.onap.aaf.authz</groupId>
194 <artifactId>aaf-cadi-aaf</artifactId>
195 <version>${project.version}</version>
196 <classifier>full</classifier>
200 <groupId>org.onap.aaf.authz</groupId>
201 <artifactId>aaf-cadi-client</artifactId>
202 <version>${project.version}</version>
206 <groupId>org.onap.aaf.authz</groupId>
207 <artifactId>aaf-misc-env</artifactId>
208 <version>${project.version}</version>
212 <groupId>org.onap.aaf.authz</groupId>
213 <artifactId>aaf-misc-rosetta</artifactId>
214 <version>${project.version}</version>
218 <groupId>org.onap.aaf.authz</groupId>
219 <artifactId>aaf-misc-log4j</artifactId>
220 <version>${project.version}</version>
224 <groupId>org.eclipse.jetty</groupId>
225 <artifactId>jetty-servlet</artifactId>
226 <version>${project.jettyVersion}</version>
230 <groupId>org.eclipse.jetty</groupId>
231 <artifactId>jetty-io</artifactId>
232 <version>${project.jettyVersion}</version>
236 <groupId>org.eclipse.jetty</groupId>
237 <artifactId>jetty-security</artifactId>
238 <version>${project.jettyVersion}</version>
242 <groupId>org.eclipse.jetty</groupId>
243 <artifactId>jetty-http</artifactId>
244 <version>${project.jettyVersion}</version>
248 <groupId>org.eclipse.jetty</groupId>
249 <artifactId>jetty-util</artifactId>
250 <version>${project.jettyVersion}</version>
254 <groupId>org.eclipse.jetty</groupId>
255 <artifactId>jetty-server</artifactId>
256 <version>${project.jettyVersion}</version>
260 <groupId>javax.servlet</groupId>
261 <artifactId>javax.servlet-api</artifactId>
262 <version>3.0.1</version>
266 <groupId>org.slf4j</groupId>
267 <artifactId>slf4j-api</artifactId>
268 <version>1.7.5</version>
271 </dependencyManagement>
273 <!-- ============================================================== -->
274 <!-- Define common plugins and make them available for all modules -->
275 <!-- ============================================================== -->
277 <testSourceDirectory>src/test/java</testSourceDirectory>
283 <inherited>true</inherited>
284 <groupId>org.apache.maven.plugins</groupId>
285 <artifactId>maven-compiler-plugin</artifactId>
286 <version>2.3.2</version>
294 <groupId>org.apache.maven.plugins</groupId>
295 <version>2.4</version>
296 <artifactId>maven-jar-plugin</artifactId>
298 <outputDirectory>target</outputDirectory>
301 <Sealed>true</Sealed>
307 <!-- Define the javadoc plugin -->
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-javadoc-plugin</artifactId>
311 <version>2.10</version>
313 <excludePackageNames>org.opendaylight.*</excludePackageNames>
318 <artifactId>maven-release-plugin</artifactId>
319 <version>2.5.2</version>
321 <goals>-s ${mvn.settings} deploy</goals>
326 <artifactId>maven-assembly-plugin</artifactId>
327 <version>2.5.5</version>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-deploy-plugin</artifactId>
333 <version>2.8.1</version>
341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-dependency-plugin</artifactId>
343 <version>2.10</version>
346 <!-- Maven surefire plugin for testing -->
348 <artifactId>maven-surefire-plugin</artifactId>
349 <version>2.17</version>
351 <skipTests>false</skipTests>
353 <include>**/JU*.java</include>
360 <!--This plugin's configuration is used to store Eclipse m2e settings
361 only. It has no influence on the Maven build itself. -->
363 <groupId>org.eclipse.m2e</groupId>
364 <artifactId>lifecycle-mapping</artifactId>
365 <version>1.0.0</version>
367 <lifecycleMappingMetadata>
370 <pluginExecutionFilter>
383 </pluginExecutionFilter>
389 </lifecycleMappingMetadata>
393 <groupId>org.sonatype.plugins</groupId>
394 <artifactId>nexus-staging-maven-plugin</artifactId>
395 <version>1.6.7</version>
396 <extensions>true</extensions>
398 <nexusUrl>${nexusproxy}</nexusUrl>
399 <stagingProfileId>176c31dfe190a</stagingProfileId>
400 <serverId>ecomp-staging</serverId>
404 <groupId>org.jacoco</groupId>
405 <artifactId>jacoco-maven-plugin</artifactId>
406 <version>${jacoco.version}</version>
409 <exclude>**/gen/**</exclude>
410 <exclude>**/generated-sources/**</exclude>
411 <exclude>**/yang-gen/**</exclude>
412 <exclude>**/pax/**</exclude>
417 <id>pre-unit-test</id>
419 <goal>prepare-agent</goal>
422 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
423 <propertyName>surefireArgLine</propertyName>
427 <id>post-unit-test</id>
433 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
434 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
438 <id>pre-integration-test</id>
439 <phase>pre-integration-test</phase>
441 <goal>prepare-agent</goal>
444 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
445 <propertyName>failsafeArgLine</propertyName>
449 <id>post-integration-test</id>
450 <phase>post-integration-test</phase>
455 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
456 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
465 <distributionManagement>
467 <id>ecomp-releases</id>
468 <name>AAF Release Repository</name>
469 <url>${nexusproxy}${releaseNexusPath}</url>
472 <id>ecomp-snapshots</id>
473 <name>AAF Snapshot Repository</name>
474 <url>${nexusproxy}${snapshotNexusPath}</url>
475 </snapshotRepository>
478 <url>dav:${nexusproxy}${sitePath}</url>
480 </distributionManagement>