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.misc</groupId>
26 <artifactId>parent</artifactId>
27 <version>2.1.0-SNAPSHOT</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 <name>Jonathan Gathman</name>
39 <email>jonathan.gathman@att.com</email>
40 <organization>ATT</organization>
42 <role>Architect</role>
43 <role>Lead Developer</role>
47 <name>Gabe Maurer</name>
48 <email>gabe.maurer@att.com</email>
49 <organization>ATT</organization>
51 <role>Developer</role>
55 <name>Ian Howell</name>
56 <email>ian.howell@att.com</email>
57 <organization>ATT</organization>
59 <role>Developer</role>
63 <name>Sai Gandham</name>
64 <email>sai.gandham@att.com</email>
65 <organization>ATT</organization>
67 <role>Developer</role>
74 <sonar.skip>true</sonar.skip>
75 <jacoco.version>0.7.7.201606060606</jacoco.version>
76 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
77 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
78 <!-- Default Sonar configuration -->
79 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
80 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
81 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
82 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
83 <nexusproxy>https://nexus.onap.org</nexusproxy>
84 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
85 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
86 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
87 <sitePath>/content/sites/site/org/onap/aaf/authz/misc/${project.artifactId}/${project.version}</sitePath>
90 <!-- ============================================================== -->
91 <!-- Define common plugins and make them available for all modules -->
92 <!-- ============================================================== -->
94 <testSourceDirectory>src/test/java</testSourceDirectory>
100 <inherited>true</inherited>
101 <groupId>org.apache.maven.plugins</groupId>
102 <artifactId>maven-compiler-plugin</artifactId>
103 <version>2.3.2</version>
111 <groupId>org.apache.maven.plugins</groupId>
112 <version>2.4</version>
113 <artifactId>maven-jar-plugin</artifactId>
115 <outputDirectory>target</outputDirectory>
118 <Sealed>true</Sealed>
124 <!-- Define the javadoc plugin -->
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-javadoc-plugin</artifactId>
128 <version>2.10</version>
130 <excludePackageNames>org.opendaylight.*</excludePackageNames>
135 <artifactId>maven-release-plugin</artifactId>
136 <version>2.5.2</version>
138 <goals>-s ${mvn.settings} deploy</goals>
139 <skipTests>false</skipTests>
141 <include>**/JU*.java</include>
145 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
146 <propertyName>surefireArgLine</propertyName>
151 <artifactId>maven-assembly-plugin</artifactId>
152 <version>2.5.5</version>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-deploy-plugin</artifactId>
158 <version>2.8.1</version>
166 <groupId>org.apache.maven.plugins</groupId>
167 <artifactId>maven-dependency-plugin</artifactId>
168 <version>2.10</version>
171 <!-- Maven surefire plugin for testing -->
173 <artifactId>maven-surefire-plugin</artifactId>
174 <version>2.17</version>
179 <!--This plugin's configuration is used to store Eclipse m2e settings
180 only. It has no influence on the Maven build itself. -->
182 <groupId>org.eclipse.m2e</groupId>
183 <artifactId>lifecycle-mapping</artifactId>
184 <version>1.0.0</version>
186 <lifecycleMappingMetadata>
189 <pluginExecutionFilter>
202 </pluginExecutionFilter>
208 </lifecycleMappingMetadata>
212 <groupId>org.sonatype.plugins</groupId>
213 <artifactId>nexus-staging-maven-plugin</artifactId>
214 <version>1.6.7</version>
215 <extensions>true</extensions>
217 <nexusUrl>${nexusproxy}</nexusUrl>
218 <stagingProfileId>176c31dfe190a</stagingProfileId>
219 <serverId>ecomp-staging</serverId>
223 <groupId>org.jacoco</groupId>
224 <artifactId>jacoco-maven-plugin</artifactId>
225 <version>${jacoco.version}</version>
228 <exclude>**/gen/**</exclude>
229 <exclude>**/generated-sources/**</exclude>
230 <exclude>**/yang-gen/**</exclude>
231 <exclude>**/pax/**</exclude>
236 <id>pre-unit-test</id>
238 <goal>prepare-agent</goal>
241 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
242 <propertyName>surefireArgLine</propertyName>
246 <id>post-unit-test</id>
252 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
253 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
257 <id>pre-integration-test</id>
258 <phase>pre-integration-test</phase>
260 <goal>prepare-agent</goal>
263 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
264 <propertyName>failsafeArgLine</propertyName>
268 <id>post-integration-test</id>
269 <phase>post-integration-test</phase>
274 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
275 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
286 <groupId>log4j</groupId>
287 <artifactId>log4j</artifactId>
288 <scope>compile</scope> <!-- Provides scope only, in case other users prefer another Logging Implementation -->
293 <distributionManagement>
295 <id>ecomp-releases</id>
296 <name>AAF Release Repository</name>
297 <url>${nexusproxy}${releaseNexusPath}</url>
300 <id>ecomp-snapshots</id>
301 <name>AAF Snapshot Repository</name>
302 <url>${nexusproxy}${snapshotNexusPath}</url>
303 </snapshotRepository>
306 <url>dav:${nexusproxy}${sitePath}</url>
308 </distributionManagement>