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">
25 <groupId>org.onap.aaf.authz</groupId>
26 <artifactId>miscparent</artifactId>
27 <version>2.1.19</version>
28 <relativePath>..</relativePath>
31 <modelVersion>4.0.0</modelVersion>
32 <artifactId>aaf-misc-env</artifactId>
33 <name>AAF Misc Env</name>
34 <packaging>jar</packaging>
38 <!-- <sonar.skip>true</sonar.skip> -->
39 <jacoco.version>0.7.7.201606060606</jacoco.version>
40 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
41 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
42 <!-- Default Sonar configuration -->
43 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
44 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
45 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
47 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
48 <nexusproxy>https://nexus.onap.org</nexusproxy>
49 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
50 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
51 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
52 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
57 <name>Jonathan Gathman</name>
58 <email>jonathan.gathman@att.com</email>
59 <organization>ATT</organization>
61 <role>Architect</role>
62 <role>Lead Developer</role>
66 <name>Sai Gandham</name>
67 <email>sai.gandham@att.com</email>
68 <organization>ATT</organization>
70 <role>Developer</role>
75 <!-- ============================================================== -->
76 <!-- Define common plugins and make them available for all modules -->
77 <!-- ============================================================== -->
79 <testSourceDirectory>src/test/java</testSourceDirectory>
85 <inherited>true</inherited>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-compiler-plugin</artifactId>
88 <version>2.3.2</version>
96 <groupId>org.apache.maven.plugins</groupId>
97 <version>2.4</version>
98 <artifactId>maven-jar-plugin</artifactId>
100 <outputDirectory>target</outputDirectory>
103 <Sealed>true</Sealed>
109 <!-- Define the javadoc plugin -->
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-javadoc-plugin</artifactId>
113 <version>2.10</version>
115 <excludePackageNames>org.opendaylight.*</excludePackageNames>
120 <artifactId>maven-release-plugin</artifactId>
121 <version>2.5.2</version>
123 <goals>-s ${mvn.settings} deploy</goals>
124 <skipTests>false</skipTests>
126 <include>**/JU*.java</include>
130 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
131 <propertyName>surefireArgLine</propertyName>
136 <artifactId>maven-assembly-plugin</artifactId>
137 <version>2.5.5</version>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-deploy-plugin</artifactId>
143 <version>2.8.1</version>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-dependency-plugin</artifactId>
153 <version>2.10</version>
156 <!-- Maven surefire plugin for testing -->
158 <artifactId>maven-surefire-plugin</artifactId>
159 <version>2.17</version>
161 <skipTests>false</skipTests>
163 <include>**/JU*.java</include>
170 <!--This plugin's configuration is used to store Eclipse m2e settings
171 only. It has no influence on the Maven build itself. -->
173 <groupId>org.eclipse.m2e</groupId>
174 <artifactId>lifecycle-mapping</artifactId>
175 <version>1.0.0</version>
177 <lifecycleMappingMetadata>
180 <pluginExecutionFilter>
193 </pluginExecutionFilter>
199 </lifecycleMappingMetadata>
203 <groupId>org.jacoco</groupId>
204 <artifactId>jacoco-maven-plugin</artifactId>
205 <version>${jacoco.version}</version>
208 <exclude>**/gen/**</exclude>
209 <exclude>**/generated-sources/**</exclude>
210 <exclude>**/yang-gen/**</exclude>
211 <exclude>**/pax/**</exclude>
216 <id>pre-unit-test</id>
218 <goal>prepare-agent</goal>
221 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
222 <propertyName>surefireArgLine</propertyName>
226 <id>post-unit-test</id>
232 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
233 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
237 <id>pre-integration-test</id>
238 <phase>pre-integration-test</phase>
240 <goal>prepare-agent</goal>
243 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
244 <propertyName>failsafeArgLine</propertyName>
248 <id>post-integration-test</id>
249 <phase>post-integration-test</phase>
254 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
255 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
266 <groupId>log4j</groupId>
267 <artifactId>log4j</artifactId>
268 <scope>compile</scope> <!-- Provides scope only, in case other users prefer another Logging Implementation -->
272 <groupId>org.mockito</groupId>
273 <artifactId>mockito-all</artifactId>
278 <groupId>org.powermock</groupId>
279 <artifactId>powermock-module-junit4</artifactId>
283 <groupId>org.powermock</groupId>
284 <artifactId>powermock-api-mockito</artifactId>
289 <groupId>junit</groupId>
290 <artifactId>junit</artifactId>
296 <distributionManagement>
298 <id>ecomp-releases</id>
299 <name>AAF Release Repository</name>
300 <url>${nexusproxy}${releaseNexusPath}</url>
303 <id>ecomp-snapshots</id>
304 <name>AAF Snapshot Repository</name>
305 <url>${nexusproxy}${snapshotNexusPath}</url>
306 </snapshotRepository>
309 <url>dav:${nexusproxy}${sitePath}</url>
311 </distributionManagement>