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>
35 <skipSigning>true</skipSigning>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <project.miscVersion>1.3.0-SNAPSHOT</project.miscVersion>
38 <project.authClientVersion>2.10-SNAPSHOT</project.authClientVersion>
39 <project.jettyVersion>9.3.9.v20160517</project.jettyVersion>
40 <powermock.version>1.5.1</powermock.version>
42 <jacoco.version>0.7.7.201606060606</jacoco.version>
43 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
44 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
45 <!-- Default Sonar configuration -->
46 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
47 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
48 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
49 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
50 <nexusproxy>https://nexus.onap.org</nexusproxy>
51 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
52 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
53 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
54 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
57 <!-- ============================================================== -->
58 <!-- Define the major contributors and developers of CADI -->
59 <!-- ============================================================== -->
62 <name>Jonathan Gathman</name>
63 <email>jonathan.gathman@att.com</email>
64 <organization>ATT</organization>
66 <role>Architect</role>
67 <role>Lead Developer</role>
71 <name>Gabe Maurer</name>
72 <email>gabe.maurer@att.com</email>
73 <organization>ATT</organization>
75 <role>Developer</role>
79 <name>Ian Howell</name>
80 <email>ian.howell@att.com</email>
81 <organization>ATT</organization>
83 <role>Developer</role>
87 <name>Sai Gandham</name>
88 <email>sai.gandham@att.com</email>
89 <organization>ATT</organization>
91 <role>Developer</role>
99 <groupId>org.mockito</groupId>
100 <artifactId>mockito-all</artifactId>
101 <version>1.9.5</version>
106 <groupId>org.powermock</groupId>
107 <artifactId>powermock-module-junit4</artifactId>
108 <version>${powermock.version}</version>
112 <groupId>org.powermock</groupId>
113 <artifactId>powermock-api-mockito</artifactId>
114 <version>${powermock.version}</version>
119 <groupId>junit</groupId>
120 <artifactId>junit</artifactId>
121 <version>4.10</version>
126 <!-- ============================================================== -->
127 <!-- Define sub-projects (modules) -->
128 <!-- ============================================================== -->
130 <module>core</module>
131 <module>client</module>
133 <module>cass</module>
135 <module>oauth-enduser</module>
136 <module>shiro</module>
139 <!-- ============================================================== -->
140 <!-- Define project-wide dependencies -->
141 <!-- ============================================================== -->
142 <dependencyManagement>
145 <groupId>org.onap.aaf.auth</groupId>
146 <artifactId>aaf-auth-client</artifactId>
147 <version>${project.authClientVersion}</version>
151 <groupId>org.onap.aaf.cadi</groupId>
152 <artifactId>aaf-cadi-core</artifactId>
153 <version>${project.version}</version>
157 <groupId>org.onap.aaf.cadi</groupId>
158 <artifactId>aaf-cadi-oauth</artifactId>
159 <version>${project.version}</version>
163 <!-- Prevent Cycles in Testing -->
165 <groupId>org.onap.aaf.cadi</groupId>
166 <artifactId>aaf-cadi-core</artifactId>
167 <version>${project.version}</version>
168 <classifier>tests</classifier>
172 <groupId>org.onap.aaf.cadi</groupId>
173 <artifactId>aaf-cadi-jetty</artifactId>
174 <version>${project.version}</version>
178 <groupId>org.onap.aaf.cadi</groupId>
179 <artifactId>aaf-cadi-cass</artifactId>
180 <version>${project.version}</version>
184 <groupId>org.onap.aaf.cadi</groupId>
185 <artifactId>aaf-cadi-aaf</artifactId>
186 <version>${project.version}</version>
190 <groupId>org.onap.aaf.cadi</groupId>
191 <artifactId>aaf-cadi-aaf</artifactId>
192 <version>${project.version}</version>
193 <classifier>full</classifier>
197 <groupId>org.onap.aaf.cadi</groupId>
198 <artifactId>aaf-cadi-client</artifactId>
199 <version>${project.version}</version>
203 <groupId>org.onap.aaf.misc</groupId>
204 <artifactId>aaf-misc-env</artifactId>
205 <version>${project.miscVersion}</version>
209 <groupId>org.onap.aaf.misc</groupId>
210 <artifactId>aaf-misc-rosetta</artifactId>
211 <version>${project.miscVersion}</version>
215 <groupId>org.onap.aaf.misc</groupId>
216 <artifactId>aaf-misc-log4j</artifactId>
217 <version>${project.miscVersion}</version>
221 <groupId>org.eclipse.jetty</groupId>
222 <artifactId>jetty-servlet</artifactId>
223 <version>${project.jettyVersion}</version>
227 <groupId>org.eclipse.jetty</groupId>
228 <artifactId>jetty-io</artifactId>
229 <version>${project.jettyVersion}</version>
233 <groupId>org.eclipse.jetty</groupId>
234 <artifactId>jetty-security</artifactId>
235 <version>${project.jettyVersion}</version>
239 <groupId>org.eclipse.jetty</groupId>
240 <artifactId>jetty-http</artifactId>
241 <version>${project.jettyVersion}</version>
245 <groupId>org.eclipse.jetty</groupId>
246 <artifactId>jetty-util</artifactId>
247 <version>${project.jettyVersion}</version>
251 <groupId>org.eclipse.jetty</groupId>
252 <artifactId>jetty-server</artifactId>
253 <version>${project.jettyVersion}</version>
257 <groupId>javax.servlet</groupId>
258 <artifactId>servlet-api</artifactId>
259 <version>2.5</version>
263 <groupId>org.slf4j</groupId>
264 <artifactId>slf4j-api</artifactId>
265 <version>1.7.5</version>
268 </dependencyManagement>
270 <!-- ============================================================== -->
271 <!-- Define common plugins and make them available for all modules -->
272 <!-- ============================================================== -->
274 <testSourceDirectory>src/test/java</testSourceDirectory>
280 <inherited>true</inherited>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-compiler-plugin</artifactId>
283 <version>2.3.2</version>
291 <groupId>org.apache.maven.plugins</groupId>
292 <version>2.4</version>
293 <artifactId>maven-jar-plugin</artifactId>
295 <outputDirectory>target</outputDirectory>
298 <Sealed>true</Sealed>
304 <!-- Define the javadoc plugin -->
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-javadoc-plugin</artifactId>
308 <version>2.10</version>
310 <excludePackageNames>org.opendaylight.*</excludePackageNames>
315 <artifactId>maven-release-plugin</artifactId>
316 <version>2.5.2</version>
318 <goals>-s ${mvn.settings} deploy</goals>
323 <artifactId>maven-assembly-plugin</artifactId>
324 <version>2.5.5</version>
328 <groupId>org.apache.maven.plugins</groupId>
329 <artifactId>maven-deploy-plugin</artifactId>
330 <version>2.8.1</version>
338 <groupId>org.apache.maven.plugins</groupId>
339 <artifactId>maven-dependency-plugin</artifactId>
340 <version>2.10</version>
343 <!-- Maven surefire plugin for testing -->
345 <artifactId>maven-surefire-plugin</artifactId>
346 <version>2.17</version>
348 <skipTests>true</skipTests>
352 <!--This plugin's configuration is used to store Eclipse m2e settings
353 only. It has no influence on the Maven build itself. -->
355 <groupId>org.eclipse.m2e</groupId>
356 <artifactId>lifecycle-mapping</artifactId>
357 <version>1.0.0</version>
359 <lifecycleMappingMetadata>
362 <pluginExecutionFilter>
375 </pluginExecutionFilter>
381 </lifecycleMappingMetadata>
385 <groupId>org.sonatype.plugins</groupId>
386 <artifactId>nexus-staging-maven-plugin</artifactId>
387 <version>1.6.7</version>
388 <extensions>true</extensions>
390 <nexusUrl>${nexusproxy}</nexusUrl>
391 <stagingProfileId>176c31dfe190a</stagingProfileId>
392 <serverId>ecomp-staging</serverId>
396 <groupId>org.jacoco</groupId>
397 <artifactId>jacoco-maven-plugin</artifactId>
398 <version>0.7.7.201606060606</version>
400 <dumpOnExit>true</dumpOnExit>
402 <include>org.onap.aaf.*</include>
407 <id>pre-unit-test</id>
409 <goal>prepare-agent</goal>
412 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
413 <!-- <append>true</append> -->
417 <id>pre-integration-test</id>
418 <phase>pre-integration-test</phase>
420 <goal>prepare-agent</goal>
423 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
424 <!-- <append>true</append> -->
431 <phase>post-integration-test</phase>
434 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
435 <directory>${project.build.directory}/coverage-reports</directory>
437 <include>*.exec</include>
441 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
451 <distributionManagement>
453 <id>ecomp-releases</id>
454 <name>AAF Release Repository</name>
455 <url>${nexusproxy}${releaseNexusPath}</url>
458 <id>ecomp-snapshots</id>
459 <name>AAF Snapshot Repository</name>
460 <url>${nexusproxy}${snapshotNexusPath}</url>
461 </snapshotRepository>
464 <url>dav:${nexusproxy}${sitePath}</url>
466 </distributionManagement>