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>1.3.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 <jacoco.version>0.7.7.201606060606</jacoco.version>
75 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
76 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
77 <!-- Default Sonar configuration -->
78 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
79 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
80 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
81 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
82 <nexusproxy>https://nexus.onap.org</nexusproxy>
83 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
84 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
85 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
86 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
89 <!-- ============================================================== -->
90 <!-- Define common plugins and make them available for all modules -->
91 <!-- ============================================================== -->
93 <testSourceDirectory>src/test/java</testSourceDirectory>
99 <inherited>true</inherited>
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-compiler-plugin</artifactId>
102 <version>2.3.2</version>
110 <groupId>org.apache.maven.plugins</groupId>
111 <version>2.4</version>
112 <artifactId>maven-jar-plugin</artifactId>
114 <outputDirectory>target</outputDirectory>
117 <Sealed>true</Sealed>
123 <!-- Define the javadoc plugin -->
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-javadoc-plugin</artifactId>
127 <version>2.10</version>
129 <excludePackageNames>org.opendaylight.*</excludePackageNames>
134 <artifactId>maven-release-plugin</artifactId>
135 <version>2.5.2</version>
137 <goals>-s ${mvn.settings} deploy</goals>
138 <skipTests>false</skipTests>
140 <include>**/JU*.java</include>
144 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
145 <propertyName>surefireArgLine</propertyName>
150 <artifactId>maven-assembly-plugin</artifactId>
151 <version>2.5.5</version>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-deploy-plugin</artifactId>
157 <version>2.8.1</version>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-dependency-plugin</artifactId>
167 <version>2.10</version>
170 <!-- Maven surefire plugin for testing -->
172 <artifactId>maven-surefire-plugin</artifactId>
173 <version>2.17</version>
178 <!--This plugin's configuration is used to store Eclipse m2e settings
179 only. It has no influence on the Maven build itself. -->
181 <groupId>org.eclipse.m2e</groupId>
182 <artifactId>lifecycle-mapping</artifactId>
183 <version>1.0.0</version>
185 <lifecycleMappingMetadata>
188 <pluginExecutionFilter>
201 </pluginExecutionFilter>
207 </lifecycleMappingMetadata>
211 <groupId>org.sonatype.plugins</groupId>
212 <artifactId>nexus-staging-maven-plugin</artifactId>
213 <version>1.6.7</version>
214 <extensions>true</extensions>
216 <nexusUrl>${nexusproxy}</nexusUrl>
217 <stagingProfileId>176c31dfe190a</stagingProfileId>
218 <serverId>ecomp-staging</serverId>
222 <groupId>org.jacoco</groupId>
223 <artifactId>jacoco-maven-plugin</artifactId>
224 <version>${jacoco.version}</version>
227 <exclude>**/gen/**</exclude>
228 <exclude>**/generated-sources/**</exclude>
229 <exclude>**/yang-gen/**</exclude>
230 <exclude>**/pax/**</exclude>
235 <id>pre-unit-test</id>
237 <goal>prepare-agent</goal>
240 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
241 <propertyName>surefireArgLine</propertyName>
245 <id>post-unit-test</id>
251 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
252 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
256 <id>pre-integration-test</id>
257 <phase>pre-integration-test</phase>
259 <goal>prepare-agent</goal>
262 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
263 <propertyName>failsafeArgLine</propertyName>
267 <id>post-integration-test</id>
268 <phase>post-integration-test</phase>
273 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
274 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
285 <groupId>log4j</groupId>
286 <artifactId>log4j</artifactId>
287 <scope>compile</scope> <!-- Provides scope only, in case other users prefer another Logging Implementation -->
292 <distributionManagement>
294 <id>ecomp-releases</id>
295 <name>AAF Release Repository</name>
296 <url>${nexusproxy}${releaseNexusPath}</url>
299 <id>ecomp-snapshots</id>
300 <name>AAF Snapshot Repository</name>
301 <url>${nexusproxy}${snapshotNexusPath}</url>
302 </snapshotRepository>
305 <url>dav:${nexusproxy}${sitePath}</url>
307 </distributionManagement>