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.14-SNAPSHOT</version>
29 <artifactId>cadiparent</artifactId>
30 <name>AAF CADI Parent (Code, Access, Data, Identity)</name>
31 <inceptionYear>2015-07-20</inceptionYear>
35 <packaging>pom</packaging>
39 <!-- <sonar.skip>true</sonar.skip> -->
40 <jacoco.version>0.7.7.201606060606</jacoco.version>
41 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
42 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
43 <!-- Default Sonar configuration -->
44 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
45 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
46 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
48 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
49 <nexusproxy>https://nexus.onap.org</nexusproxy>
50 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
51 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
52 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
53 <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>
105 <groupId>org.powermock</groupId>
106 <artifactId>powermock-module-junit4</artifactId>
110 <groupId>org.powermock</groupId>
111 <artifactId>powermock-api-mockito</artifactId>
116 <groupId>junit</groupId>
117 <artifactId>junit</artifactId>
122 <!-- ============================================================== -->
123 <!-- Define sub-projects (modules) -->
124 <!-- ============================================================== -->
126 <module>core</module>
127 <module>client</module>
129 <module>oauth-enduser</module>
130 <module>servlet-sample</module>
134 <!-- ============================================================== -->
135 <!-- Define common plugins and make them available for all modules -->
136 <!-- ============================================================== -->
138 <testSourceDirectory>src/test/java</testSourceDirectory>
144 <inherited>true</inherited>
145 <groupId>org.apache.maven.plugins</groupId>
146 <artifactId>maven-compiler-plugin</artifactId>
147 <version>2.3.2</version>
155 <groupId>org.apache.maven.plugins</groupId>
156 <version>2.4</version>
157 <artifactId>maven-jar-plugin</artifactId>
159 <outputDirectory>target</outputDirectory>
162 <Sealed>true</Sealed>
168 <!-- Define the javadoc plugin -->
170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-javadoc-plugin</artifactId>
172 <version>2.10</version>
174 <excludePackageNames>org.opendaylight.*</excludePackageNames>
179 <artifactId>maven-release-plugin</artifactId>
180 <version>2.5.2</version>
182 <goals>-s ${mvn.settings} deploy</goals>
187 <artifactId>maven-assembly-plugin</artifactId>
188 <version>2.5.5</version>
192 <groupId>org.apache.maven.plugins</groupId>
193 <artifactId>maven-deploy-plugin</artifactId>
194 <version>2.8.1</version>
202 <groupId>org.apache.maven.plugins</groupId>
203 <artifactId>maven-dependency-plugin</artifactId>
204 <version>2.10</version>
207 <!-- Maven surefire plugin for testing -->
209 <artifactId>maven-surefire-plugin</artifactId>
210 <version>2.17</version>
212 <skipTests>false</skipTests>
214 <include>**/JU*.java</include>
218 <useSystemClassLoader>false</useSystemClassLoader>
222 <!--This plugin's configuration is used to store Eclipse m2e settings
223 only. It has no influence on the Maven build itself. -->
225 <groupId>org.eclipse.m2e</groupId>
226 <artifactId>lifecycle-mapping</artifactId>
227 <version>1.0.0</version>
229 <lifecycleMappingMetadata>
232 <pluginExecutionFilter>
245 </pluginExecutionFilter>
251 </lifecycleMappingMetadata>
255 <groupId>org.jacoco</groupId>
256 <artifactId>jacoco-maven-plugin</artifactId>
257 <version>${jacoco.version}</version>
260 <exclude>**/gen/**</exclude>
261 <exclude>**/generated-sources/**</exclude>
262 <exclude>**/yang-gen/**</exclude>
263 <exclude>**/pax/**</exclude>
268 <id>pre-unit-test</id>
270 <goal>prepare-agent</goal>
273 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
274 <propertyName>surefireArgLine</propertyName>
278 <id>post-unit-test</id>
284 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
285 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
289 <id>pre-integration-test</id>
290 <phase>pre-integration-test</phase>
292 <goal>prepare-agent</goal>
295 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
296 <propertyName>failsafeArgLine</propertyName>
300 <id>post-integration-test</id>
301 <phase>post-integration-test</phase>
306 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
307 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
316 <distributionManagement>
318 <id>ecomp-releases</id>
319 <name>AAF Release Repository</name>
320 <url>${nexusproxy}${releaseNexusPath}</url>
323 <id>ecomp-snapshots</id>
324 <name>AAF Snapshot Repository</name>
325 <url>${nexusproxy}${snapshotNexusPath}</url>
326 </snapshotRepository>
329 <url>dav:${nexusproxy}${sitePath}</url>
331 </distributionManagement>