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>
40 <groupId>org.onap.oparent</groupId>
41 <artifactId>oparent</artifactId>
42 <version>1.1.0</version>
46 <!-- <sonar.skip>true</sonar.skip> -->
47 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
48 <project.jettyVersion>9.3.9.v20160517</project.jettyVersion>
49 <powermock.version>1.5.1</powermock.version>
51 <jacoco.version>0.7.7.201606060606</jacoco.version>
52 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
53 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
54 <!-- Default Sonar configuration -->
55 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
56 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
57 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
58 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
59 <nexusproxy>https://nexus.onap.org</nexusproxy>
60 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
61 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
62 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
63 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
66 <!-- ============================================================== -->
67 <!-- Define the major contributors and developers of CADI -->
68 <!-- ============================================================== -->
71 <name>Jonathan Gathman</name>
72 <email>jonathan.gathman@att.com</email>
73 <organization>ATT</organization>
75 <role>Architect</role>
76 <role>Lead Developer</role>
80 <name>Gabe Maurer</name>
81 <email>gabe.maurer@att.com</email>
82 <organization>ATT</organization>
84 <role>Developer</role>
88 <name>Ian Howell</name>
89 <email>ian.howell@att.com</email>
90 <organization>ATT</organization>
92 <role>Developer</role>
96 <name>Sai Gandham</name>
97 <email>sai.gandham@att.com</email>
98 <organization>ATT</organization>
100 <role>Developer</role>
108 <groupId>org.mockito</groupId>
109 <artifactId>mockito-all</artifactId>
110 <version>1.9.5</version>
115 <groupId>org.powermock</groupId>
116 <artifactId>powermock-module-junit4</artifactId>
117 <version>${powermock.version}</version>
121 <groupId>org.powermock</groupId>
122 <artifactId>powermock-api-mockito</artifactId>
123 <version>${powermock.version}</version>
128 <groupId>junit</groupId>
129 <artifactId>junit</artifactId>
130 <version>4.10</version>
135 <!-- ============================================================== -->
136 <!-- Define sub-projects (modules) -->
137 <!-- ============================================================== -->
139 <module>core</module>
140 <module>client</module>
142 <module>oauth-enduser</module>
143 <module>shiro</module>
146 <!-- ============================================================== -->
147 <!-- Define project-wide dependencies -->
148 <!-- ============================================================== -->
149 <dependencyManagement>
152 <groupId>org.onap.aaf.authz</groupId>
153 <artifactId>aaf-auth-client</artifactId>
154 <version>${project.version}</version>
158 <groupId>org.onap.aaf.authz</groupId>
159 <artifactId>aaf-cadi-core</artifactId>
160 <version>${project.version}</version>
164 <groupId>org.onap.aaf.authz</groupId>
165 <artifactId>aaf-cadi-oauth</artifactId>
166 <version>${project.version}</version>
170 <!-- Prevent Cycles in Testing -->
172 <groupId>org.onap.aaf.authz</groupId>
173 <artifactId>aaf-cadi-core</artifactId>
174 <version>${project.version}</version>
175 <classifier>tests</classifier>
179 <groupId>org.onap.aaf.authz</groupId>
180 <artifactId>aaf-cadi-jetty</artifactId>
181 <version>${project.version}</version>
185 <groupId>org.onap.aaf.authz</groupId>
186 <artifactId>aaf-cadi-cass</artifactId>
187 <version>${project.version}</version>
191 <groupId>org.onap.aaf.authz</groupId>
192 <artifactId>aaf-cadi-aaf</artifactId>
193 <version>${project.version}</version>
197 <groupId>org.onap.aaf.authz</groupId>
198 <artifactId>aaf-cadi-aaf</artifactId>
199 <version>${project.version}</version>
200 <classifier>full</classifier>
204 <groupId>org.onap.aaf.authz</groupId>
205 <artifactId>aaf-cadi-client</artifactId>
206 <version>${project.version}</version>
210 <groupId>org.onap.aaf.authz</groupId>
211 <artifactId>aaf-misc-env</artifactId>
212 <version>${project.version}</version>
216 <groupId>org.onap.aaf.authz</groupId>
217 <artifactId>aaf-misc-rosetta</artifactId>
218 <version>${project.version}</version>
222 <groupId>org.onap.aaf.authz</groupId>
223 <artifactId>aaf-misc-log4j</artifactId>
224 <version>${project.version}</version>
228 <groupId>org.eclipse.jetty</groupId>
229 <artifactId>jetty-servlet</artifactId>
230 <version>${project.jettyVersion}</version>
234 <groupId>org.eclipse.jetty</groupId>
235 <artifactId>jetty-io</artifactId>
236 <version>${project.jettyVersion}</version>
240 <groupId>org.eclipse.jetty</groupId>
241 <artifactId>jetty-security</artifactId>
242 <version>${project.jettyVersion}</version>
246 <groupId>org.eclipse.jetty</groupId>
247 <artifactId>jetty-http</artifactId>
248 <version>${project.jettyVersion}</version>
252 <groupId>org.eclipse.jetty</groupId>
253 <artifactId>jetty-util</artifactId>
254 <version>${project.jettyVersion}</version>
258 <groupId>org.eclipse.jetty</groupId>
259 <artifactId>jetty-server</artifactId>
260 <version>${project.jettyVersion}</version>
264 <groupId>javax.servlet</groupId>
265 <artifactId>javax.servlet-api</artifactId>
266 <version>3.0.1</version>
270 <groupId>org.slf4j</groupId>
271 <artifactId>slf4j-api</artifactId>
272 <version>1.7.5</version>
275 </dependencyManagement>
277 <!-- ============================================================== -->
278 <!-- Define common plugins and make them available for all modules -->
279 <!-- ============================================================== -->
281 <testSourceDirectory>src/test/java</testSourceDirectory>
287 <inherited>true</inherited>
288 <groupId>org.apache.maven.plugins</groupId>
289 <artifactId>maven-compiler-plugin</artifactId>
290 <version>2.3.2</version>
298 <groupId>org.apache.maven.plugins</groupId>
299 <version>2.4</version>
300 <artifactId>maven-jar-plugin</artifactId>
302 <outputDirectory>target</outputDirectory>
305 <Sealed>true</Sealed>
311 <!-- Define the javadoc plugin -->
313 <groupId>org.apache.maven.plugins</groupId>
314 <artifactId>maven-javadoc-plugin</artifactId>
315 <version>2.10</version>
317 <excludePackageNames>org.opendaylight.*</excludePackageNames>
322 <artifactId>maven-release-plugin</artifactId>
323 <version>2.5.2</version>
325 <goals>-s ${mvn.settings} deploy</goals>
330 <artifactId>maven-assembly-plugin</artifactId>
331 <version>2.5.5</version>
335 <groupId>org.apache.maven.plugins</groupId>
336 <artifactId>maven-deploy-plugin</artifactId>
337 <version>2.8.1</version>
345 <groupId>org.apache.maven.plugins</groupId>
346 <artifactId>maven-dependency-plugin</artifactId>
347 <version>2.10</version>
350 <!-- Maven surefire plugin for testing -->
352 <artifactId>maven-surefire-plugin</artifactId>
353 <version>2.17</version>
355 <skipTests>false</skipTests>
357 <include>**/JU*.java</include>
364 <!--This plugin's configuration is used to store Eclipse m2e settings
365 only. It has no influence on the Maven build itself. -->
367 <groupId>org.eclipse.m2e</groupId>
368 <artifactId>lifecycle-mapping</artifactId>
369 <version>1.0.0</version>
371 <lifecycleMappingMetadata>
374 <pluginExecutionFilter>
387 </pluginExecutionFilter>
393 </lifecycleMappingMetadata>
397 <groupId>org.sonatype.plugins</groupId>
398 <artifactId>nexus-staging-maven-plugin</artifactId>
399 <version>1.6.7</version>
400 <extensions>true</extensions>
402 <nexusUrl>${nexusproxy}</nexusUrl>
403 <stagingProfileId>176c31dfe190a</stagingProfileId>
404 <serverId>ecomp-staging</serverId>
408 <groupId>org.jacoco</groupId>
409 <artifactId>jacoco-maven-plugin</artifactId>
410 <version>${jacoco.version}</version>
413 <exclude>**/gen/**</exclude>
414 <exclude>**/generated-sources/**</exclude>
415 <exclude>**/yang-gen/**</exclude>
416 <exclude>**/pax/**</exclude>
421 <id>pre-unit-test</id>
423 <goal>prepare-agent</goal>
426 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
427 <propertyName>surefireArgLine</propertyName>
431 <id>post-unit-test</id>
437 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
438 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
442 <id>pre-integration-test</id>
443 <phase>pre-integration-test</phase>
445 <goal>prepare-agent</goal>
448 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
449 <propertyName>failsafeArgLine</propertyName>
453 <id>post-integration-test</id>
454 <phase>post-integration-test</phase>
459 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
460 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
469 <distributionManagement>
471 <id>ecomp-releases</id>
472 <name>AAF Release Repository</name>
473 <url>${nexusproxy}${releaseNexusPath}</url>
476 <id>ecomp-snapshots</id>
477 <name>AAF Snapshot Repository</name>
478 <url>${nexusproxy}${snapshotNexusPath}</url>
479 </snapshotRepository>
482 <url>dav:${nexusproxy}${sitePath}</url>
484 </distributionManagement>