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.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>
38 <skipSigning>true</skipSigning>
39 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40 <project.miscVersion>1.3.0-SNAPSHOT</project.miscVersion>
41 <project.authClientVersion>2.10-SNAPSHOT</project.authClientVersion>
42 <project.jettyVersion>9.3.9.v20160517</project.jettyVersion>
43 <powermock.version>1.5.1</powermock.version>
45 <jacoco.version>0.7.7.201606060606</jacoco.version>
46 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
47 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
48 <!-- Default Sonar configuration -->
49 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
50 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
51 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
52 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
53 <nexusproxy>https://nexus.onap.org</nexusproxy>
54 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
55 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
56 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
57 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
60 <!-- ============================================================== -->
61 <!-- Define the major contributors and developers of CADI -->
62 <!-- ============================================================== -->
65 <name>Jonathan Gathman</name>
66 <email>jonathan.gathman@att.com</email>
67 <organization>ATT</organization>
69 <role>Architect</role>
70 <role>Lead Developer</role>
74 <name>Gabe Maurer</name>
75 <email>gabe.maurer@att.com</email>
76 <organization>ATT</organization>
78 <role>Developer</role>
82 <name>Ian Howell</name>
83 <email>ian.howell@att.com</email>
84 <organization>ATT</organization>
86 <role>Developer</role>
90 <name>Sai Gandham</name>
91 <email>sai.gandham@att.com</email>
92 <organization>ATT</organization>
94 <role>Developer</role>
102 <groupId>org.mockito</groupId>
103 <artifactId>mockito-all</artifactId>
104 <version>1.9.5</version>
109 <groupId>org.powermock</groupId>
110 <artifactId>powermock-module-junit4</artifactId>
111 <version>${powermock.version}</version>
115 <groupId>org.powermock</groupId>
116 <artifactId>powermock-api-mockito</artifactId>
117 <version>${powermock.version}</version>
122 <groupId>junit</groupId>
123 <artifactId>junit</artifactId>
124 <version>4.10</version>
129 <!-- ============================================================== -->
130 <!-- Define sub-projects (modules) -->
131 <!-- ============================================================== -->
133 <module>core</module>
134 <module>client</module>
136 <module>cass</module>
138 <module>oauth-enduser</module>
139 <module>shiro</module>
142 <!-- ============================================================== -->
143 <!-- Define project-wide dependencies -->
144 <!-- ============================================================== -->
145 <dependencyManagement>
148 <groupId>org.onap.aaf.auth</groupId>
149 <artifactId>aaf-auth-client</artifactId>
150 <version>${project.authClientVersion}</version>
154 <groupId>org.onap.aaf.cadi</groupId>
155 <artifactId>aaf-cadi-core</artifactId>
156 <version>${project.version}</version>
160 <groupId>org.onap.aaf.cadi</groupId>
161 <artifactId>aaf-cadi-oauth</artifactId>
162 <version>${project.version}</version>
166 <!-- Prevent Cycles in Testing -->
168 <groupId>org.onap.aaf.cadi</groupId>
169 <artifactId>aaf-cadi-core</artifactId>
170 <version>${project.version}</version>
171 <classifier>tests</classifier>
175 <groupId>org.onap.aaf.cadi</groupId>
176 <artifactId>aaf-cadi-jetty</artifactId>
177 <version>${project.version}</version>
181 <groupId>org.onap.aaf.cadi</groupId>
182 <artifactId>aaf-cadi-cass</artifactId>
183 <version>${project.version}</version>
187 <groupId>org.onap.aaf.cadi</groupId>
188 <artifactId>aaf-cadi-aaf</artifactId>
189 <version>${project.version}</version>
193 <groupId>org.onap.aaf.cadi</groupId>
194 <artifactId>aaf-cadi-aaf</artifactId>
195 <version>${project.version}</version>
196 <classifier>full</classifier>
200 <groupId>org.onap.aaf.cadi</groupId>
201 <artifactId>aaf-cadi-client</artifactId>
202 <version>${project.version}</version>
206 <groupId>org.onap.aaf.misc</groupId>
207 <artifactId>aaf-misc-env</artifactId>
208 <version>${project.miscVersion}</version>
212 <groupId>org.onap.aaf.misc</groupId>
213 <artifactId>aaf-misc-rosetta</artifactId>
214 <version>${project.miscVersion}</version>
218 <groupId>org.onap.aaf.misc</groupId>
219 <artifactId>aaf-misc-log4j</artifactId>
220 <version>${project.miscVersion}</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>servlet-api</artifactId>
262 <version>2.5</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>true</skipTests>
355 <!--This plugin's configuration is used to store Eclipse m2e settings
356 only. It has no influence on the Maven build itself. -->
358 <groupId>org.eclipse.m2e</groupId>
359 <artifactId>lifecycle-mapping</artifactId>
360 <version>1.0.0</version>
362 <lifecycleMappingMetadata>
365 <pluginExecutionFilter>
378 </pluginExecutionFilter>
384 </lifecycleMappingMetadata>
388 <groupId>org.sonatype.plugins</groupId>
389 <artifactId>nexus-staging-maven-plugin</artifactId>
390 <version>1.6.7</version>
391 <extensions>true</extensions>
393 <nexusUrl>${nexusproxy}</nexusUrl>
394 <stagingProfileId>176c31dfe190a</stagingProfileId>
395 <serverId>ecomp-staging</serverId>
399 <groupId>org.jacoco</groupId>
400 <artifactId>jacoco-maven-plugin</artifactId>
401 <version>0.7.7.201606060606</version>
403 <dumpOnExit>true</dumpOnExit>
405 <include>org.onap.aaf.*</include>
410 <id>pre-unit-test</id>
412 <goal>prepare-agent</goal>
415 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
416 <!-- <append>true</append> -->
420 <id>pre-integration-test</id>
421 <phase>pre-integration-test</phase>
423 <goal>prepare-agent</goal>
426 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
427 <!-- <append>true</append> -->
434 <phase>post-integration-test</phase>
437 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
438 <directory>${project.build.directory}/coverage-reports</directory>
440 <include>*.exec</include>
444 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
454 <distributionManagement>
456 <id>ecomp-releases</id>
457 <name>AAF Release Repository</name>
458 <url>${nexusproxy}${releaseNexusPath}</url>
461 <id>ecomp-snapshots</id>
462 <name>AAF Snapshot Repository</name>
463 <url>${nexusproxy}${snapshotNexusPath}</url>
464 </snapshotRepository>
467 <url>dav:${nexusproxy}${sitePath}</url>
469 </distributionManagement>