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-rosetta</artifactId>
33 <name>AAF Misc Rosetta</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 <scijava.jvm.version>1.8</scijava.jvm.version>
75 <sonar.skip>true</sonar.skip>
76 <jacoco.version>0.7.7.201606060606</jacoco.version>
77 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
78 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
79 <!-- Default Sonar configuration -->
80 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
81 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
82 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
83 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
85 <nexusproxy>https://nexus.onap.org</nexusproxy>
86 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
87 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
88 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
89 <sitePath>/content/sites/site/org/onap/aaf/authz/misc/${project.artifactId}/${project.version}</sitePath>
94 <groupId>org.onap.aaf.authz.misc</groupId>
95 <artifactId>aaf-misc-env</artifactId>
96 <version>${project.version}</version>
102 <!-- ============================================================== -->
103 <!-- Define common plugins and make them available for all modules -->
104 <!-- ============================================================== -->
106 <testSourceDirectory>src/test/java</testSourceDirectory>
110 <inherited>true</inherited>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-compiler-plugin</artifactId>
113 <version>2.3.2</version>
121 <groupId>org.jvnet.jaxb2.maven2</groupId>
122 <artifactId>maven-jaxb2-plugin</artifactId>
123 <version>0.8.2</version>
127 <goal>generate</goal>
132 <schemaDirectory>src/main/xsd</schemaDirectory>
137 <groupId>org.apache.maven.plugins</groupId>
138 <version>2.4</version>
139 <artifactId>maven-jar-plugin</artifactId>
141 <outputDirectory>target</outputDirectory>
144 <Sealed>true</Sealed>
150 <!-- Define the javadoc plugin -->
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-javadoc-plugin</artifactId>
154 <version>2.10</version>
156 <excludePackageNames>org.opendaylight.*</excludePackageNames>
161 <artifactId>maven-release-plugin</artifactId>
162 <version>2.5.2</version>
164 <goals>-s ${mvn.settings} deploy</goals>
169 <artifactId>maven-assembly-plugin</artifactId>
170 <version>2.5.5</version>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-deploy-plugin</artifactId>
176 <version>2.8.1</version>
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-dependency-plugin</artifactId>
186 <version>2.10</version>
189 <!-- Maven surefire plugin for testing -->
191 <artifactId>maven-surefire-plugin</artifactId>
192 <version>2.17</version>
194 <skipTests>false</skipTests>
196 <include>**/JU*.java</include>
203 <!--This plugin's configuration is used to store Eclipse m2e settings
204 only. It has no influence on the Maven build itself. -->
206 <groupId>org.eclipse.m2e</groupId>
207 <artifactId>lifecycle-mapping</artifactId>
208 <version>1.0.0</version>
210 <lifecycleMappingMetadata>
213 <pluginExecutionFilter>
226 </pluginExecutionFilter>
232 </lifecycleMappingMetadata>
236 <groupId>org.sonatype.plugins</groupId>
237 <artifactId>nexus-staging-maven-plugin</artifactId>
238 <version>1.6.7</version>
239 <extensions>true</extensions>
241 <nexusUrl>${nexusproxy}</nexusUrl>
242 <stagingProfileId>176c31dfe190a</stagingProfileId>
243 <serverId>ecomp-staging</serverId>
247 <groupId>org.jacoco</groupId>
248 <artifactId>jacoco-maven-plugin</artifactId>
249 <version>${jacoco.version}</version>
252 <exclude>**/gen/**</exclude>
253 <exclude>**/generated-sources/**</exclude>
254 <exclude>**/yang-gen/**</exclude>
255 <exclude>**/pax/**</exclude>
260 <id>pre-unit-test</id>
262 <goal>prepare-agent</goal>
265 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
266 <propertyName>surefireArgLine</propertyName>
270 <id>post-unit-test</id>
276 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
277 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
281 <id>pre-integration-test</id>
282 <phase>pre-integration-test</phase>
284 <goal>prepare-agent</goal>
287 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
288 <propertyName>failsafeArgLine</propertyName>
292 <id>post-integration-test</id>
293 <phase>post-integration-test</phase>
298 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
299 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
307 <distributionManagement>
309 <id>ecomp-releases</id>
310 <name>AAF Release Repository</name>
311 <url>${nexusproxy}${releaseNexusPath}</url>
314 <id>ecomp-snapshots</id>
315 <name>AAF Snapshot Repository</name>
316 <url>${nexusproxy}${snapshotNexusPath}</url>
317 </snapshotRepository>
320 <url>dav:${nexusproxy}${sitePath}</url>
322 </distributionManagement>