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.17-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>Sai Gandham</name>
48 <email>sai.gandham@att.com</email>
49 <organization>ATT</organization>
51 <role>Developer</role>
58 <scijava.jvm.version>1.8</scijava.jvm.version>
59 <!-- <sonar.skip>true</sonar.skip> -->
60 <jacoco.version>0.7.7.201606060606</jacoco.version>
61 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
62 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
63 <!-- Default Sonar configuration -->
64 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
65 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
66 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
67 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
69 <nexusproxy>https://nexus.onap.org</nexusproxy>
70 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
71 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
72 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
73 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
78 <groupId>org.onap.aaf.authz</groupId>
79 <artifactId>aaf-misc-env</artifactId>
82 <groupId>javax.xml.bind</groupId>
83 <artifactId>jaxb-api</artifactId>
86 <groupId>org.glassfish.jaxb</groupId>
87 <artifactId>jaxb-runtime</artifactId>
88 <scope>runtime</scope>
91 <groupId>com.sun.istack</groupId>
92 <artifactId>istack-commons-runtime</artifactId>
93 <version>2.2</version>
94 <scope>runtime</scope>
101 <!-- ============================================================== -->
102 <!-- Define common plugins and make them available for all modules -->
103 <!-- ============================================================== -->
105 <testSourceDirectory>src/test/java</testSourceDirectory>
109 <inherited>true</inherited>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-compiler-plugin</artifactId>
119 <groupId>org.jvnet.jaxb2.maven2</groupId>
120 <artifactId>maven-jaxb2-plugin</artifactId>
121 <version>0.8.2</version>
125 <goal>generate</goal>
130 <schemaDirectory>src/main/xsd</schemaDirectory>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-jar-plugin</artifactId>
138 <outputDirectory>target</outputDirectory>
141 <Sealed>true</Sealed>
147 <!-- Define the javadoc plugin -->
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-javadoc-plugin</artifactId>
152 <excludePackageNames>org.opendaylight.*</excludePackageNames>
157 <artifactId>maven-release-plugin</artifactId>
159 <goals>-s ${mvn.settings} deploy</goals>
164 <artifactId>maven-assembly-plugin</artifactId>
168 <groupId>org.apache.maven.plugins</groupId>
169 <artifactId>maven-deploy-plugin</artifactId>
177 <groupId>org.apache.maven.plugins</groupId>
178 <artifactId>maven-dependency-plugin</artifactId>
181 <!-- Maven surefire plugin for testing -->
183 <artifactId>maven-surefire-plugin</artifactId>
185 <skipTests>false</skipTests>
187 <include>**/JU*.java</include>
194 <!--This plugin's configuration is used to store Eclipse m2e settings
195 only. It has no influence on the Maven build itself. -->
197 <groupId>org.eclipse.m2e</groupId>
198 <artifactId>lifecycle-mapping</artifactId>
200 <lifecycleMappingMetadata>
203 <pluginExecutionFilter>
216 </pluginExecutionFilter>
222 </lifecycleMappingMetadata>
226 <groupId>org.jacoco</groupId>
227 <artifactId>jacoco-maven-plugin</artifactId>
230 <exclude>**/gen/**</exclude>
231 <exclude>**/generated-sources/**</exclude>
232 <exclude>**/yang-gen/**</exclude>
233 <exclude>**/pax/**</exclude>
238 <id>pre-unit-test</id>
240 <goal>prepare-agent</goal>
243 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
244 <propertyName>surefireArgLine</propertyName>
248 <id>post-unit-test</id>
254 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
255 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
259 <id>pre-integration-test</id>
260 <phase>pre-integration-test</phase>
262 <goal>prepare-agent</goal>
265 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
266 <propertyName>failsafeArgLine</propertyName>
270 <id>post-integration-test</id>
271 <phase>post-integration-test</phase>
276 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
277 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
285 <distributionManagement>
287 <id>ecomp-releases</id>
288 <name>AAF Release Repository</name>
289 <url>${nexusproxy}${releaseNexusPath}</url>
292 <id>ecomp-snapshots</id>
293 <name>AAF Snapshot Repository</name>
294 <url>${nexusproxy}${snapshotNexusPath}</url>
295 </snapshotRepository>
298 <url>dav:${nexusproxy}${sitePath}</url>
300 </distributionManagement>