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 <skipSigning>true</skipSigning>
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>
141 <!-- ============================================================== -->
142 <!-- Define project-wide dependencies -->
143 <!-- ============================================================== -->
144 <dependencyManagement>
147 <groupId>org.onap.aaf.authz</groupId>
148 <artifactId>aaf-auth-client</artifactId>
149 <version>${project.version}</version>
153 <groupId>org.onap.aaf.authz</groupId>
154 <artifactId>aaf-cadi-core</artifactId>
155 <version>${project.version}</version>
159 <groupId>org.onap.aaf.authz</groupId>
160 <artifactId>aaf-cadi-oauth</artifactId>
161 <version>${project.version}</version>
165 <!-- Prevent Cycles in Testing -->
167 <groupId>org.onap.aaf.authz</groupId>
168 <artifactId>aaf-cadi-core</artifactId>
169 <version>${project.version}</version>
170 <classifier>tests</classifier>
174 <groupId>org.onap.aaf.authz</groupId>
175 <artifactId>aaf-cadi-jetty</artifactId>
176 <version>${project.version}</version>
180 <groupId>org.onap.aaf.authz</groupId>
181 <artifactId>aaf-cadi-cass</artifactId>
182 <version>${project.version}</version>
186 <groupId>org.onap.aaf.authz</groupId>
187 <artifactId>aaf-cadi-aaf</artifactId>
188 <version>${project.version}</version>
192 <groupId>org.onap.aaf.authz</groupId>
193 <artifactId>aaf-cadi-aaf</artifactId>
194 <version>${project.version}</version>
195 <classifier>full</classifier>
199 <groupId>org.onap.aaf.authz</groupId>
200 <artifactId>aaf-cadi-client</artifactId>
201 <version>${project.version}</version>
205 <groupId>org.onap.aaf.authz</groupId>
206 <artifactId>aaf-misc-env</artifactId>
207 <version>${project.version}</version>
211 <groupId>org.onap.aaf.authz</groupId>
212 <artifactId>aaf-misc-rosetta</artifactId>
213 <version>${project.version}</version>
217 <groupId>org.onap.aaf.authz</groupId>
218 <artifactId>aaf-misc-log4j</artifactId>
219 <version>${project.version}</version>
223 <groupId>org.eclipse.jetty</groupId>
224 <artifactId>jetty-servlet</artifactId>
225 <version>${project.jettyVersion}</version>
229 <groupId>org.eclipse.jetty</groupId>
230 <artifactId>jetty-io</artifactId>
231 <version>${project.jettyVersion}</version>
235 <groupId>org.eclipse.jetty</groupId>
236 <artifactId>jetty-security</artifactId>
237 <version>${project.jettyVersion}</version>
241 <groupId>org.eclipse.jetty</groupId>
242 <artifactId>jetty-http</artifactId>
243 <version>${project.jettyVersion}</version>
247 <groupId>org.eclipse.jetty</groupId>
248 <artifactId>jetty-util</artifactId>
249 <version>${project.jettyVersion}</version>
253 <groupId>org.eclipse.jetty</groupId>
254 <artifactId>jetty-server</artifactId>
255 <version>${project.jettyVersion}</version>
259 <groupId>javax.servlet</groupId>
260 <artifactId>javax.servlet-api</artifactId>
261 <version>3.0.1</version>
265 <groupId>org.slf4j</groupId>
266 <artifactId>slf4j-api</artifactId>
267 <version>1.7.5</version>
270 </dependencyManagement>
272 <!-- ============================================================== -->
273 <!-- Define common plugins and make them available for all modules -->
274 <!-- ============================================================== -->
276 <testSourceDirectory>src/test/java</testSourceDirectory>
282 <inherited>true</inherited>
283 <groupId>org.apache.maven.plugins</groupId>
284 <artifactId>maven-compiler-plugin</artifactId>
285 <version>2.3.2</version>
293 <groupId>org.apache.maven.plugins</groupId>
294 <version>2.4</version>
295 <artifactId>maven-jar-plugin</artifactId>
297 <outputDirectory>target</outputDirectory>
300 <Sealed>true</Sealed>
306 <!-- Define the javadoc plugin -->
308 <groupId>org.apache.maven.plugins</groupId>
309 <artifactId>maven-javadoc-plugin</artifactId>
310 <version>2.10</version>
312 <excludePackageNames>org.opendaylight.*</excludePackageNames>
317 <artifactId>maven-release-plugin</artifactId>
318 <version>2.5.2</version>
320 <goals>-s ${mvn.settings} deploy</goals>
325 <artifactId>maven-assembly-plugin</artifactId>
326 <version>2.5.5</version>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-deploy-plugin</artifactId>
332 <version>2.8.1</version>
340 <groupId>org.apache.maven.plugins</groupId>
341 <artifactId>maven-dependency-plugin</artifactId>
342 <version>2.10</version>
345 <!-- Maven surefire plugin for testing -->
347 <artifactId>maven-surefire-plugin</artifactId>
348 <version>2.17</version>
350 <skipTests>false</skipTests>
352 <include>**/JU*.java</include>
359 <!--This plugin's configuration is used to store Eclipse m2e settings
360 only. It has no influence on the Maven build itself. -->
362 <groupId>org.eclipse.m2e</groupId>
363 <artifactId>lifecycle-mapping</artifactId>
364 <version>1.0.0</version>
366 <lifecycleMappingMetadata>
369 <pluginExecutionFilter>
382 </pluginExecutionFilter>
388 </lifecycleMappingMetadata>
392 <groupId>org.sonatype.plugins</groupId>
393 <artifactId>nexus-staging-maven-plugin</artifactId>
394 <version>1.6.7</version>
395 <extensions>true</extensions>
397 <nexusUrl>${nexusproxy}</nexusUrl>
398 <stagingProfileId>176c31dfe190a</stagingProfileId>
399 <serverId>ecomp-staging</serverId>
403 <groupId>org.jacoco</groupId>
404 <artifactId>jacoco-maven-plugin</artifactId>
405 <version>${jacoco.version}</version>
408 <exclude>**/gen/**</exclude>
409 <exclude>**/generated-sources/**</exclude>
410 <exclude>**/yang-gen/**</exclude>
411 <exclude>**/pax/**</exclude>
416 <id>pre-unit-test</id>
418 <goal>prepare-agent</goal>
421 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
422 <propertyName>surefireArgLine</propertyName>
426 <id>post-unit-test</id>
432 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
433 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
437 <id>pre-integration-test</id>
438 <phase>pre-integration-test</phase>
440 <goal>prepare-agent</goal>
443 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
444 <propertyName>failsafeArgLine</propertyName>
448 <id>post-integration-test</id>
449 <phase>post-integration-test</phase>
454 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
455 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
464 <distributionManagement>
466 <id>ecomp-releases</id>
467 <name>AAF Release Repository</name>
468 <url>${nexusproxy}${releaseNexusPath}</url>
471 <id>ecomp-snapshots</id>
472 <name>AAF Snapshot Repository</name>
473 <url>${nexusproxy}${snapshotNexusPath}</url>
474 </snapshotRepository>
477 <url>dav:${nexusproxy}${sitePath}</url>
479 </distributionManagement>