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>
26 <groupId>org.onap.aaf.authz</groupId>
27 <artifactId>parent</artifactId>
28 <version>2.1.10-SNAPSHOT</version>
30 <artifactId>miscparent</artifactId>
31 <name>AAF Misc Parent</name>
32 <packaging>pom</packaging>
36 <name>Jonathan Gathman</name>
37 <email>jonathan.gathman@att.com</email>
38 <organization>ATT</organization>
40 <role>Architect</role>
41 <role>Lead Developer</role>
45 <name>Gabe Maurer</name>
46 <email>gabe.maurer@att.com</email>
47 <organization>ATT</organization>
49 <role>Developer</role>
53 <name>Ian Howell</name>
54 <email>ian.howell@att.com</email>
55 <organization>ATT</organization>
57 <role>Developer</role>
61 <name>Sai Gandham</name>
62 <email>sai.gandham@att.com</email>
63 <organization>ATT</organization>
65 <role>Developer</role>
72 <groupId>org.mockito</groupId>
73 <artifactId>mockito-all</artifactId>
78 <groupId>org.powermock</groupId>
79 <artifactId>powermock-module-junit4</artifactId>
83 <groupId>org.powermock</groupId>
84 <artifactId>powermock-api-mockito</artifactId>
88 <groupId>junit</groupId>
89 <artifactId>junit</artifactId>
97 <module>rosetta</module>
98 <module>log4j</module> <!-- note: generates log4j, to avoid Jar conflict -->
101 <!-- ============================================================== -->
102 <!-- Define common plugins and make them available for all modules -->
103 <!-- ============================================================== -->
105 <testSourceDirectory>src/test/java</testSourceDirectory>
111 <inherited>true</inherited>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-compiler-plugin</artifactId>
114 <version>2.3.2</version>
122 <groupId>org.apache.maven.plugins</groupId>
123 <version>2.4</version>
124 <artifactId>maven-jar-plugin</artifactId>
126 <outputDirectory>target</outputDirectory>
129 <Sealed>true</Sealed>
135 <!-- Define the javadoc plugin -->
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-javadoc-plugin</artifactId>
139 <version>2.10</version>
141 <excludePackageNames>org.opendaylight.*</excludePackageNames>
146 <artifactId>maven-release-plugin</artifactId>
147 <version>2.5.2</version>
149 <goals>-s ${mvn.settings} deploy</goals>
154 <artifactId>maven-assembly-plugin</artifactId>
155 <version>2.5.5</version>
159 <groupId>org.apache.maven.plugins</groupId>
160 <artifactId>maven-deploy-plugin</artifactId>
161 <version>2.8.1</version>
169 <groupId>org.apache.maven.plugins</groupId>
170 <artifactId>maven-dependency-plugin</artifactId>
171 <version>2.10</version>
174 <!-- Maven surefire plugin for testing -->
176 <artifactId>maven-surefire-plugin</artifactId>
177 <version>2.17</version>
179 <skipTests>false</skipTests>
181 <include>**/JU*.java</include>
185 <useSystemClassLoader>false</useSystemClassLoader>
189 <!--This plugin's configuration is used to store Eclipse m2e settings
190 only. It has no influence on the Maven build itself. -->
192 <groupId>org.eclipse.m2e</groupId>
193 <artifactId>lifecycle-mapping</artifactId>
194 <version>1.0.0</version>
196 <lifecycleMappingMetadata>
199 <pluginExecutionFilter>
212 </pluginExecutionFilter>
218 </lifecycleMappingMetadata>
222 <groupId>org.sonatype.plugins</groupId>
223 <artifactId>nexus-staging-maven-plugin</artifactId>
224 <version>1.6.7</version>
225 <extensions>true</extensions>
227 <nexusUrl>${nexusproxy}</nexusUrl>
228 <stagingProfileId>176c31dfe190a</stagingProfileId>
229 <serverId>ecomp-staging</serverId>
233 <groupId>org.jacoco</groupId>
234 <artifactId>jacoco-maven-plugin</artifactId>
235 <version>${jacoco.version}</version>
238 <exclude>**/gen/**</exclude>
239 <exclude>**/generated-sources/**</exclude>
240 <exclude>**/yang-gen/**</exclude>
241 <exclude>**/pax/**</exclude>
246 <id>pre-unit-test</id>
248 <goal>prepare-agent</goal>
251 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
252 <propertyName>surefireArgLine</propertyName>
256 <id>post-unit-test</id>
262 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
263 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
267 <id>pre-integration-test</id>
268 <phase>pre-integration-test</phase>
270 <goal>prepare-agent</goal>
273 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
274 <propertyName>failsafeArgLine</propertyName>
278 <id>post-integration-test</id>
279 <phase>post-integration-test</phase>
284 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
285 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
295 <distributionManagement>
297 <id>ecomp-releases</id>
298 <name>AAF Release Repository</name>
299 <url>${nexusproxy}${releaseNexusPath}</url>
302 <id>ecomp-snapshots</id>
303 <name>AAF Snapshot Repository</name>
304 <url>${nexusproxy}${snapshotNexusPath}</url>
305 </snapshotRepository>
308 <url>dav:${nexusproxy}${sitePath}</url>
310 </distributionManagement>