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>
32 <groupId>org.onap.oparent</groupId>
33 <artifactId>oparent</artifactId>
34 <version>1.1.0</version>
38 <jacocoVersion>0.7.6.201602180812</jacocoVersion>
39 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40 <encoding>UTF-8</encoding>
41 <sonar.exclusions>**/scripts/**/*,**.js</sonar.exclusions>
42 <sonar.test.exclusions>**/test/**/*,**/tests/**/*</sonar.test.exclusions>
43 <enforcer.skip>true</enforcer.skip>
45 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46 <powermock.version>1.5.1</powermock.version>
47 <nexusproxy>https://nexus.onap.org</nexusproxy>
48 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
49 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
50 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
51 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
58 <name>Jonathan Gathman</name>
59 <email>jonathan.gathman@att.com</email>
60 <organization>ATT</organization>
62 <role>Architect</role>
63 <role>Lead Developer</role>
67 <name>Gabe Maurer</name>
68 <email>gabe.maurer@att.com</email>
69 <organization>ATT</organization>
71 <role>Developer</role>
75 <name>Ian Howell</name>
76 <email>ian.howell@att.com</email>
77 <organization>ATT</organization>
79 <role>Developer</role>
83 <name>Sai Gandham</name>
84 <email>sai.gandham@att.com</email>
85 <organization>ATT</organization>
87 <role>Developer</role>
94 <groupId>org.mockito</groupId>
95 <artifactId>mockito-all</artifactId>
96 <version>1.9.5</version>
101 <groupId>org.powermock</groupId>
102 <artifactId>powermock-module-junit4</artifactId>
103 <version>${powermock.version}</version>
107 <groupId>org.powermock</groupId>
108 <artifactId>powermock-api-mockito</artifactId>
109 <version>${powermock.version}</version>
113 <groupId>junit</groupId>
114 <artifactId>junit</artifactId>
115 <version>4.10</version>
121 <testSourceDirectory>src/test/java</testSourceDirectory>
125 <groupId>org.apache.maven.plugins</groupId>
126 <version>2.4</version>
127 <artifactId>maven-jar-plugin</artifactId>
129 <outputDirectory>target</outputDirectory>
134 <inherited>true</inherited>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-compiler-plugin</artifactId>
137 <version>2.3.2</version>
144 <groupId>org.sonatype.plugins</groupId>
145 <artifactId>nexus-staging-maven-plugin</artifactId>
146 <version>1.6.7</version>
147 <extensions>true</extensions>
149 <nexusUrl>${nexusproxy}</nexusUrl>
150 <stagingProfileId>176c31dfe190a</stagingProfileId>
151 <serverId>ecomp-staging</serverId>
155 <groupId>org.sonarsource.scanner.maven</groupId>
156 <artifactId>sonar-maven-plugin</artifactId>
157 <version>3.2</version>
161 <groupId>org.jacoco</groupId>
162 <artifactId>jacoco-maven-plugin</artifactId>
163 <!-- Override OParent version -->
164 <version>${jacocoVersion}</version>
166 <!-- disable jacoco executions from oparent -->
168 <id>pre-unit-test</id>
172 <id>post-unit-test</id>
176 <id>pre-integration-test</id>
180 <id>post-integration-test</id>
183 <!-- Order matters -->
185 <id>portal-prepare-agent</id>
187 <goal>prepare-agent</goal>
190 <destFile>${sonar.jacoco.reportPath}</destFile>
193 <!-- offline instrumentation for PowerMock -->
195 <id>portal-offline-instrument</id>
197 <goal>instrument</goal>
201 <id>portal-restore-instrumented-classes</id>
204 <goal>restore-instrumented-classes</goal>
208 <id>portal-post-unit-test</id>
214 <dataFile>${sonar.jacoco.reportPath}</dataFile>
215 <outputDirectory>${project.basedir}/target/site/jacoco</outputDirectory>
222 <groupId>org.apache.maven.plugins</groupId>
223 <artifactId>maven-surefire-plugin</artifactId>
225 <systemPropertyVariables>
226 <jacoco-agent.destfile>${project.build.directory}/code-coverage/jacoco-ut.exec</jacoco-agent.destfile>
227 </systemPropertyVariables>
236 <module>xgen</module>
237 <module>rosetta</module>
238 <module>log4j</module> <!-- note: generates log4j, to avoid Jar conflict -->
241 <dependencyManagement>
244 <groupId>log4j</groupId>
245 <artifactId>log4j</artifactId>
246 <version>1.2.17</version>
249 <groupId>org.slf4j</groupId>
250 <artifactId>slf4j-log4j12</artifactId>
251 <version>1.7.5</version>
254 </dependencyManagement>
256 <distributionManagement>
258 <id>ecomp-releases</id>
259 <name>AAF Release Repository</name>
260 <url>${nexusproxy}${releaseNexusPath}</url>
263 <id>ecomp-snapshots</id>
264 <name>AAF Snapshot Repository</name>
265 <url>${nexusproxy}${snapshotNexusPath}</url>
266 </snapshotRepository>
269 <url>dav:${nexusproxy}${sitePath}</url>
271 </distributionManagement>