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.7.4-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>Sai Gandham</name>
46 <email>sai.gandham@att.com</email>
47 <organization>ATT</organization>
49 <role>Developer</role>
56 <groupId>org.mockito</groupId>
57 <artifactId>mockito-all</artifactId>
62 <groupId>org.powermock</groupId>
63 <artifactId>powermock-module-junit4</artifactId>
67 <groupId>org.powermock</groupId>
68 <artifactId>powermock-api-mockito</artifactId>
72 <groupId>junit</groupId>
73 <artifactId>junit</artifactId>
82 <module>rosetta</module>
83 <module>log4j</module> <!-- note: generates log4j, to avoid Jar conflict -->
86 <!-- ============================================================== -->
87 <!-- Define common plugins and make them available for all modules -->
88 <!-- ============================================================== -->
90 <testSourceDirectory>src/test/java</testSourceDirectory>
96 <inherited>true</inherited>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-compiler-plugin</artifactId>
99 <version>2.3.2</version>
107 <groupId>org.apache.maven.plugins</groupId>
108 <version>2.4</version>
109 <artifactId>maven-jar-plugin</artifactId>
111 <outputDirectory>target</outputDirectory>
114 <Sealed>true</Sealed>
120 <!-- Define the javadoc plugin -->
122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-javadoc-plugin</artifactId>
124 <version>2.10</version>
126 <excludePackageNames>org.opendaylight.*</excludePackageNames>
131 <artifactId>maven-release-plugin</artifactId>
132 <version>2.5.2</version>
134 <goals>-s ${mvn.settings} deploy</goals>
139 <artifactId>maven-assembly-plugin</artifactId>
140 <version>2.5.5</version>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-dependency-plugin</artifactId>
146 <version>2.10</version>
149 <!-- Maven surefire plugin for testing -->
151 <artifactId>maven-surefire-plugin</artifactId>
152 <version>2.17</version>
154 <skipTests>false</skipTests>
156 <include>**/JU*.java</include>
160 <useSystemClassLoader>false</useSystemClassLoader>
164 <!--This plugin's configuration is used to store Eclipse m2e settings
165 only. It has no influence on the Maven build itself. -->
167 <groupId>org.eclipse.m2e</groupId>
168 <artifactId>lifecycle-mapping</artifactId>
169 <version>1.0.0</version>
171 <lifecycleMappingMetadata>
174 <pluginExecutionFilter>
187 </pluginExecutionFilter>
193 </lifecycleMappingMetadata>
197 <groupId>org.jacoco</groupId>
198 <artifactId>jacoco-maven-plugin</artifactId>
199 <version>${jacoco.version}</version>
202 <exclude>**/gen/**</exclude>
203 <exclude>**/generated-sources/**</exclude>
204 <exclude>**/yang-gen/**</exclude>
205 <exclude>**/pax/**</exclude>
210 <id>pre-unit-test</id>
212 <goal>prepare-agent</goal>
215 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
216 <propertyName>surefireArgLine</propertyName>
220 <id>post-unit-test</id>
226 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
227 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
231 <id>pre-integration-test</id>
232 <phase>pre-integration-test</phase>
234 <goal>prepare-agent</goal>
237 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
238 <propertyName>failsafeArgLine</propertyName>
242 <id>post-integration-test</id>
243 <phase>post-integration-test</phase>
248 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
249 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
259 <distributionManagement>
261 <id>ecomp-releases</id>
262 <name>AAF Release Repository</name>
263 <url>${nexusproxy}${releaseNexusPath}</url>
266 <id>ecomp-snapshots</id>
267 <name>AAF Snapshot Repository</name>
268 <url>${nexusproxy}${snapshotNexusPath}</url>
269 </snapshotRepository>
272 <url>dav:${nexusproxy}${sitePath}</url>
274 </distributionManagement>