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"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.onap.aaf.authz.misc</groupId>
26 <artifactId>parent</artifactId>
27 <name>AAF Misc Parent</name>
28 <version>2.1.0-SNAPSHOT</version>
29 <packaging>pom</packaging>
32 <groupId>org.onap.oparent</groupId>
33 <artifactId>oparent</artifactId>
34 <version>1.1.0</version>
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 below -->
47 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
48 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
49 <powermock.version>1.5.1</powermock.version>
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>
61 <name>Jonathan Gathman</name>
62 <email>jonathan.gathman@att.com</email>
63 <organization>ATT</organization>
65 <role>Architect</role>
66 <role>Lead Developer</role>
70 <name>Gabe Maurer</name>
71 <email>gabe.maurer@att.com</email>
72 <organization>ATT</organization>
74 <role>Developer</role>
78 <name>Ian Howell</name>
79 <email>ian.howell@att.com</email>
80 <organization>ATT</organization>
82 <role>Developer</role>
86 <name>Sai Gandham</name>
87 <email>sai.gandham@att.com</email>
88 <organization>ATT</organization>
90 <role>Developer</role>
97 <groupId>org.mockito</groupId>
98 <artifactId>mockito-all</artifactId>
99 <version>1.9.5</version>
104 <groupId>org.powermock</groupId>
105 <artifactId>powermock-module-junit4</artifactId>
106 <version>${powermock.version}</version>
110 <groupId>org.powermock</groupId>
111 <artifactId>powermock-api-mockito</artifactId>
112 <version>${powermock.version}</version>
116 <groupId>junit</groupId>
117 <artifactId>junit</artifactId>
118 <version>4.10</version>
123 <!-- ============================================================== -->
124 <!-- Define common plugins and make them available for all modules -->
125 <!-- ============================================================== -->
127 <testSourceDirectory>src/test/java</testSourceDirectory>
133 <inherited>true</inherited>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-compiler-plugin</artifactId>
136 <version>2.3.2</version>
144 <groupId>org.apache.maven.plugins</groupId>
145 <version>2.4</version>
146 <artifactId>maven-jar-plugin</artifactId>
148 <outputDirectory>target</outputDirectory>
151 <Sealed>true</Sealed>
157 <!-- Define the javadoc plugin -->
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-javadoc-plugin</artifactId>
161 <version>2.10</version>
163 <excludePackageNames>org.opendaylight.*</excludePackageNames>
168 <artifactId>maven-release-plugin</artifactId>
169 <version>2.5.2</version>
171 <goals>-s ${mvn.settings} deploy</goals>
176 <artifactId>maven-assembly-plugin</artifactId>
177 <version>2.5.5</version>
181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-deploy-plugin</artifactId>
183 <version>2.8.1</version>
191 <groupId>org.apache.maven.plugins</groupId>
192 <artifactId>maven-dependency-plugin</artifactId>
193 <version>2.10</version>
196 <!-- Maven surefire plugin for testing -->
198 <artifactId>maven-surefire-plugin</artifactId>
199 <version>2.17</version>
204 <!--This plugin's configuration is used to store Eclipse m2e settings
205 only. It has no influence on the Maven build itself. -->
207 <groupId>org.eclipse.m2e</groupId>
208 <artifactId>lifecycle-mapping</artifactId>
209 <version>1.0.0</version>
211 <lifecycleMappingMetadata>
214 <pluginExecutionFilter>
227 </pluginExecutionFilter>
233 </lifecycleMappingMetadata>
237 <groupId>org.sonatype.plugins</groupId>
238 <artifactId>nexus-staging-maven-plugin</artifactId>
239 <version>1.6.7</version>
240 <extensions>true</extensions>
242 <nexusUrl>${nexusproxy}</nexusUrl>
243 <stagingProfileId>176c31dfe190a</stagingProfileId>
244 <serverId>ecomp-staging</serverId>
248 <groupId>org.jacoco</groupId>
249 <artifactId>jacoco-maven-plugin</artifactId>
250 <version>${jacoco.version}</version>
253 <exclude>**/gen/**</exclude>
254 <exclude>**/generated-sources/**</exclude>
255 <exclude>**/yang-gen/**</exclude>
256 <exclude>**/pax/**</exclude>
261 <id>pre-unit-test</id>
263 <goal>prepare-agent</goal>
266 <skipTests>false</skipTests>
268 <include>**/JU*.java</include>
272 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
273 <propertyName>surefireArgLine</propertyName>
277 <id>post-unit-test</id>
283 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
284 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
288 <id>pre-integration-test</id>
289 <phase>pre-integration-test</phase>
291 <goal>prepare-agent</goal>
294 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
295 <propertyName>failsafeArgLine</propertyName>
299 <id>post-integration-test</id>
300 <phase>post-integration-test</phase>
305 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
306 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
317 <module>xgen</module>
318 <module>rosetta</module>
319 <module>log4j</module> <!-- note: generates log4j, to avoid Jar conflict -->
322 <dependencyManagement>
325 <groupId>log4j</groupId>
326 <artifactId>log4j</artifactId>
327 <version>1.2.17</version>
330 <groupId>org.slf4j</groupId>
331 <artifactId>slf4j-log4j12</artifactId>
332 <version>1.7.5</version>
335 </dependencyManagement>
337 <distributionManagement>
339 <id>ecomp-releases</id>
340 <name>AAF Release Repository</name>
341 <url>${nexusproxy}${releaseNexusPath}</url>
344 <id>ecomp-snapshots</id>
345 <name>AAF Snapshot Repository</name>
346 <url>${nexusproxy}${snapshotNexusPath}</url>
347 </snapshotRepository>
350 <url>dav:${nexusproxy}${sitePath}</url>
352 </distributionManagement>