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.7.0-SNAPSHOT</version>
28 <relativePath>..</relativePath>
31 <modelVersion>4.0.0</modelVersion>
32 <artifactId>aaf-misc-log4j</artifactId>
33 <name>AAF Misc Log4J</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>Sai Gandham</name>
48 <email>sai.gandham@att.com</email>
49 <organization>ATT</organization>
51 <role>Developer</role>
58 <!--<sonar.skip>true</sonar.skip> -->
59 <jacoco.version>0.7.7.201606060606</jacoco.version>
60 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
61 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
62 <!-- Default Sonar configuration -->
63 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
64 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
65 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
66 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
68 <nexusproxy>https://nexus.onap.org</nexusproxy>
69 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
70 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
71 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
72 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
77 <groupId>org.onap.aaf.authz</groupId>
78 <artifactId>aaf-misc-env</artifactId>
79 <version>${project.version}</version>
83 <!-- ============================================================== -->
84 <!-- Define common plugins and make them available for all modules -->
85 <!-- ============================================================== -->
87 <testSourceDirectory>src/test/java</testSourceDirectory>
93 <inherited>true</inherited>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-compiler-plugin</artifactId>
96 <version>2.3.2</version>
104 <groupId>org.apache.maven.plugins</groupId>
105 <version>2.4</version>
106 <artifactId>maven-jar-plugin</artifactId>
108 <outputDirectory>target</outputDirectory>
111 <Sealed>true</Sealed>
117 <!-- Define the javadoc plugin -->
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-javadoc-plugin</artifactId>
121 <version>2.10</version>
123 <excludePackageNames>org.opendaylight.*</excludePackageNames>
128 <artifactId>maven-release-plugin</artifactId>
129 <version>2.5.2</version>
131 <goals>-s ${mvn.settings} deploy</goals>
136 <artifactId>maven-assembly-plugin</artifactId>
137 <version>2.5.5</version>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-dependency-plugin</artifactId>
143 <version>2.10</version>
146 <!-- Maven surefire plugin for testing -->
148 <artifactId>maven-surefire-plugin</artifactId>
149 <version>2.17</version>
151 <skipTests>false</skipTests>
153 <include>**/JU*.java</include>
160 <!--This plugin's configuration is used to store Eclipse m2e settings
161 only. It has no influence on the Maven build itself. -->
163 <groupId>org.eclipse.m2e</groupId>
164 <artifactId>lifecycle-mapping</artifactId>
165 <version>1.0.0</version>
167 <lifecycleMappingMetadata>
170 <pluginExecutionFilter>
183 </pluginExecutionFilter>
189 </lifecycleMappingMetadata>
193 <groupId>org.jacoco</groupId>
194 <artifactId>jacoco-maven-plugin</artifactId>
195 <version>${jacoco.version}</version>
198 <exclude>**/gen/**</exclude>
199 <exclude>**/generated-sources/**</exclude>
200 <exclude>**/yang-gen/**</exclude>
201 <exclude>**/pax/**</exclude>
206 <id>pre-unit-test</id>
208 <goal>prepare-agent</goal>
211 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
212 <propertyName>surefireArgLine</propertyName>
216 <id>post-unit-test</id>
222 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
223 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
227 <id>pre-integration-test</id>
228 <phase>pre-integration-test</phase>
230 <goal>prepare-agent</goal>
233 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
234 <propertyName>failsafeArgLine</propertyName>
238 <id>post-integration-test</id>
239 <phase>post-integration-test</phase>
244 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
245 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
254 <distributionManagement>
256 <id>ecomp-releases</id>
257 <name>AAF Release Repository</name>
258 <url>${nexusproxy}${releaseNexusPath}</url>
261 <id>ecomp-snapshots</id>
262 <name>AAF Snapshot Repository</name>
263 <url>${nexusproxy}${snapshotNexusPath}</url>
264 </snapshotRepository>
267 <url>dav:${nexusproxy}${sitePath}</url>
269 </distributionManagement>