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">
24 <modelVersion>4.0.0</modelVersion>
25 <groupId>org.onap.aaf.authz.misc</groupId>
26 <artifactId>parent</artifactId>
27 <name>AAF Misc Parent</name>
28 <version>1.3.0-SNAPSHOT</version>
29 <packaging>pom</packaging>
34 <jacocoVersion>0.7.6.201602180812</jacocoVersion>
35 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36 <encoding>UTF-8</encoding>
37 <sonar.exclusions>**/scripts/**/*,**.js</sonar.exclusions>
38 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
39 <enforcer.skip>true</enforcer.skip>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <powermock.version>1.5.1</powermock.version>
43 <nexusproxy>https://nexus.onap.org</nexusproxy>
44 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
45 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
46 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
47 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
54 <name>Jonathan Gathman</name>
55 <email>jonathan.gathman@att.com</email>
56 <organization>ATT</organization>
58 <role>Architect</role>
59 <role>Lead Developer</role>
63 <name>Gabe Maurer</name>
64 <email>gabe.maurer@att.com</email>
65 <organization>ATT</organization>
67 <role>Developer</role>
71 <name>Ian Howell</name>
72 <email>ian.howell@att.com</email>
73 <organization>ATT</organization>
75 <role>Developer</role>
79 <name>Sai Gandham</name>
80 <email>sai.gandham@att.com</email>
81 <organization>ATT</organization>
83 <role>Developer</role>
90 <groupId>org.mockito</groupId>
91 <artifactId>mockito-all</artifactId>
92 <version>1.9.5</version>
97 <groupId>org.powermock</groupId>
98 <artifactId>powermock-module-junit4</artifactId>
99 <version>${powermock.version}</version>
103 <groupId>org.powermock</groupId>
104 <artifactId>powermock-api-mockito</artifactId>
105 <version>${powermock.version}</version>
109 <groupId>junit</groupId>
110 <artifactId>junit</artifactId>
111 <version>4.10</version>
117 <testSourceDirectory>src/test/java</testSourceDirectory>
121 <groupId>org.apache.maven.plugins</groupId>
122 <version>2.4</version>
123 <artifactId>maven-jar-plugin</artifactId>
125 <outputDirectory>target</outputDirectory>
130 <inherited>true</inherited>
131 <groupId>org.apache.maven.plugins</groupId>
132 <artifactId>maven-compiler-plugin</artifactId>
133 <version>2.3.2</version>
140 <groupId>org.sonatype.plugins</groupId>
141 <artifactId>nexus-staging-maven-plugin</artifactId>
142 <version>1.6.7</version>
143 <extensions>true</extensions>
145 <nexusUrl>${nexusproxy}</nexusUrl>
146 <stagingProfileId>176c31dfe190a</stagingProfileId>
147 <serverId>ecomp-staging</serverId>
151 <groupId>org.sonarsource.scanner.maven</groupId>
152 <artifactId>sonar-maven-plugin</artifactId>
153 <version>3.2</version>
157 <groupId>org.jacoco</groupId>
158 <artifactId>jacoco-maven-plugin</artifactId>
159 <!-- Override OParent version -->
160 <version>${jacocoVersion}</version>
162 <!-- disable jacoco executions from oparent -->
164 <id>pre-unit-test</id>
168 <id>post-unit-test</id>
172 <id>pre-integration-test</id>
176 <id>post-integration-test</id>
179 <!-- Order matters -->
181 <id>portal-prepare-agent</id>
183 <goal>prepare-agent</goal>
186 <destFile>${sonar.jacoco.reportPath}</destFile>
189 <!-- offline instrumentation for PowerMock -->
191 <id>portal-offline-instrument</id>
193 <goal>instrument</goal>
197 <id>portal-restore-instrumented-classes</id>
200 <goal>restore-instrumented-classes</goal>
204 <id>portal-post-unit-test</id>
210 <dataFile>${sonar.jacoco.reportPath}</dataFile>
211 <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
218 <groupId>org.apache.maven.plugins</groupId>
219 <artifactId>maven-surefire-plugin</artifactId>
221 <systemPropertyVariables>
222 <jacoco-agent.destfile>${project.build.directory}/code-coverage/jacoco-ut.exec</jacoco-agent.destfile>
223 </systemPropertyVariables>
232 <module>xgen</module>
233 <module>rosetta</module>
234 <module>log4j</module> <!-- note: generates log4j, to avoid Jar conflict -->
237 <dependencyManagement>
240 <groupId>log4j</groupId>
241 <artifactId>log4j</artifactId>
242 <version>1.2.17</version>
245 <groupId>org.slf4j</groupId>
246 <artifactId>slf4j-log4j12</artifactId>
247 <version>1.7.5</version>
250 </dependencyManagement>
252 <distributionManagement>
254 <id>ecomp-releases</id>
255 <name>AAF Release Repository</name>
256 <url>${nexusproxy}${releaseNexusPath}</url>
259 <id>ecomp-snapshots</id>
260 <name>AAF Snapshot Repository</name>
261 <url>${nexusproxy}${snapshotNexusPath}</url>
262 </snapshotRepository>
265 <url>dav:${nexusproxy}${sitePath}</url>
267 </distributionManagement>