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.2-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>
133 <!-- ============================================================== -->
134 <!-- Define common plugins and make them available for all modules -->
135 <!-- ============================================================== -->
137 <testSourceDirectory>src/test/java</testSourceDirectory>
143 <inherited>true</inherited>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-compiler-plugin</artifactId>
146 <version>2.3.2</version>
154 <groupId>org.apache.maven.plugins</groupId>
155 <version>2.4</version>
156 <artifactId>maven-jar-plugin</artifactId>
158 <outputDirectory>target</outputDirectory>
161 <Sealed>true</Sealed>
167 <!-- Define the javadoc plugin -->
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-javadoc-plugin</artifactId>
171 <version>2.10</version>
173 <excludePackageNames>org.opendaylight.*</excludePackageNames>
178 <artifactId>maven-release-plugin</artifactId>
179 <version>2.5.2</version>
181 <goals>-s ${mvn.settings} deploy</goals>
186 <artifactId>maven-assembly-plugin</artifactId>
187 <version>2.5.5</version>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-deploy-plugin</artifactId>
193 <version>2.8.1</version>
201 <groupId>org.apache.maven.plugins</groupId>
202 <artifactId>maven-dependency-plugin</artifactId>
203 <version>2.10</version>
206 <!-- Maven surefire plugin for testing -->
208 <artifactId>maven-surefire-plugin</artifactId>
209 <version>2.17</version>
211 <skipTests>false</skipTests>
213 <include>**/JU*.java</include>
220 <!--This plugin's configuration is used to store Eclipse m2e settings
221 only. It has no influence on the Maven build itself. -->
223 <groupId>org.eclipse.m2e</groupId>
224 <artifactId>lifecycle-mapping</artifactId>
225 <version>1.0.0</version>
227 <lifecycleMappingMetadata>
230 <pluginExecutionFilter>
243 </pluginExecutionFilter>
249 </lifecycleMappingMetadata>
253 <groupId>org.sonatype.plugins</groupId>
254 <artifactId>nexus-staging-maven-plugin</artifactId>
255 <version>1.6.7</version>
256 <extensions>true</extensions>
258 <nexusUrl>${nexusproxy}</nexusUrl>
259 <stagingProfileId>176c31dfe190a</stagingProfileId>
260 <serverId>ecomp-staging</serverId>
264 <groupId>org.jacoco</groupId>
265 <artifactId>jacoco-maven-plugin</artifactId>
266 <version>${jacoco.version}</version>
269 <exclude>**/gen/**</exclude>
270 <exclude>**/generated-sources/**</exclude>
271 <exclude>**/yang-gen/**</exclude>
272 <exclude>**/pax/**</exclude>
277 <id>pre-unit-test</id>
279 <goal>prepare-agent</goal>
282 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
283 <propertyName>surefireArgLine</propertyName>
287 <id>post-unit-test</id>
293 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
294 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
298 <id>pre-integration-test</id>
299 <phase>pre-integration-test</phase>
301 <goal>prepare-agent</goal>
304 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
305 <propertyName>failsafeArgLine</propertyName>
309 <id>post-integration-test</id>
310 <phase>post-integration-test</phase>
315 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
316 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
325 <distributionManagement>
327 <id>ecomp-releases</id>
328 <name>AAF Release Repository</name>
329 <url>${nexusproxy}${releaseNexusPath}</url>
332 <id>ecomp-snapshots</id>
333 <name>AAF Snapshot Repository</name>
334 <url>${nexusproxy}${snapshotNexusPath}</url>
335 </snapshotRepository>
338 <url>dav:${nexusproxy}${sitePath}</url>
340 </distributionManagement>