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.0-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>
77 <groupId>org.owasp.encoder</groupId>
78 <artifactId>encoder</artifactId>
79 <version>1.2.1</version>
87 <module>rosetta</module>
88 <module>log4j</module> <!-- note: generates log4j, to avoid Jar conflict -->
91 <!-- ============================================================== -->
92 <!-- Define common plugins and make them available for all modules -->
93 <!-- ============================================================== -->
95 <testSourceDirectory>src/test/java</testSourceDirectory>
101 <inherited>true</inherited>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-compiler-plugin</artifactId>
104 <version>2.3.2</version>
112 <groupId>org.apache.maven.plugins</groupId>
113 <version>2.4</version>
114 <artifactId>maven-jar-plugin</artifactId>
116 <outputDirectory>target</outputDirectory>
119 <Sealed>true</Sealed>
125 <!-- Define the javadoc plugin -->
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-javadoc-plugin</artifactId>
129 <version>2.10</version>
131 <excludePackageNames>org.opendaylight.*</excludePackageNames>
136 <artifactId>maven-release-plugin</artifactId>
137 <version>2.5.2</version>
139 <goals>-s ${mvn.settings} deploy</goals>
144 <artifactId>maven-assembly-plugin</artifactId>
145 <version>2.5.5</version>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-dependency-plugin</artifactId>
151 <version>2.10</version>
154 <!-- Maven surefire plugin for testing -->
156 <artifactId>maven-surefire-plugin</artifactId>
157 <version>2.17</version>
159 <skipTests>false</skipTests>
161 <include>**/JU*.java</include>
165 <useSystemClassLoader>false</useSystemClassLoader>
169 <!--This plugin's configuration is used to store Eclipse m2e settings
170 only. It has no influence on the Maven build itself. -->
172 <groupId>org.eclipse.m2e</groupId>
173 <artifactId>lifecycle-mapping</artifactId>
174 <version>1.0.0</version>
176 <lifecycleMappingMetadata>
179 <pluginExecutionFilter>
192 </pluginExecutionFilter>
198 </lifecycleMappingMetadata>
202 <groupId>org.jacoco</groupId>
203 <artifactId>jacoco-maven-plugin</artifactId>
204 <version>${jacoco.version}</version>
207 <exclude>**/gen/**</exclude>
208 <exclude>**/generated-sources/**</exclude>
209 <exclude>**/yang-gen/**</exclude>
210 <exclude>**/pax/**</exclude>
215 <id>pre-unit-test</id>
217 <goal>prepare-agent</goal>
220 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
221 <propertyName>surefireArgLine</propertyName>
225 <id>post-unit-test</id>
231 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
232 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
236 <id>pre-integration-test</id>
237 <phase>pre-integration-test</phase>
239 <goal>prepare-agent</goal>
242 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
243 <propertyName>failsafeArgLine</propertyName>
247 <id>post-integration-test</id>
248 <phase>post-integration-test</phase>
253 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
254 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
264 <distributionManagement>
266 <id>ecomp-releases</id>
267 <name>AAF Release Repository</name>
268 <url>${nexusproxy}${releaseNexusPath}</url>
271 <id>ecomp-snapshots</id>
272 <name>AAF Snapshot Repository</name>
273 <url>${nexusproxy}${snapshotNexusPath}</url>
274 </snapshotRepository>
277 <url>dav:${nexusproxy}${sitePath}</url>
279 </distributionManagement>