blob: 1311432704145a1e1c77c44a53210d794b9741d8 [file] [log] [blame]
Instrumentalac1e1ec2018-03-26 13:37:04 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 * ============LICENSE_START====================================================
4 * org.onap.aaf
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
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
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====================================================
20 *
21-->
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 <parent>
Instrumental17ca7442018-03-29 16:54:19 -050025 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentalac1e1ec2018-03-26 13:37:04 -070026 <artifactId>parent</artifactId>
Sai Gandhamc83c6332018-04-05 16:08:24 -050027 <version>2.1.0-SNAPSHOT</version>
Instrumentalac1e1ec2018-03-26 13:37:04 -070028 <relativePath>..</relativePath>
29 </parent>
30
31 <modelVersion>4.0.0</modelVersion>
32 <artifactId>aaf-misc-env</artifactId>
33 <name>AAF Misc Env</name>
34 <packaging>jar</packaging>
35
36 <developers>
37 <developer>
38 <name>Jonathan Gathman</name>
39 <email>jonathan.gathman@att.com</email>
40 <organization>ATT</organization>
41 <roles>
42 <role>Architect</role>
43 <role>Lead Developer</role>
44 </roles>
45 </developer>
46 <developer>
47 <name>Gabe Maurer</name>
48 <email>gabe.maurer@att.com</email>
49 <organization>ATT</organization>
50 <roles>
51 <role>Developer</role>
52 </roles>
53 </developer>
54 <developer>
55 <name>Ian Howell</name>
56 <email>ian.howell@att.com</email>
57 <organization>ATT</organization>
58 <roles>
59 <role>Developer</role>
60 </roles>
61 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000062 <developer>
63 <name>Sai Gandham</name>
64 <email>sai.gandham@att.com</email>
65 <organization>ATT</organization>
66 <roles>
67 <role>Developer</role>
68 </roles>
69 </developer>
Instrumentalac1e1ec2018-03-26 13:37:04 -070070 </developers>
IanHowell3901cf82018-04-03 11:24:27 -050071
Sai Gandhame01703c2018-03-26 22:57:09 +000072 <properties>
Sai Gandham61f8fdf2018-04-03 12:07:07 -050073 <!-- SONAR -->
Sai Gandhama88f56f2018-04-03 17:09:33 -050074 <sonar.skip>true</sonar.skip>
Sai Gandham61f8fdf2018-04-03 12:07:07 -050075 <jacoco.version>0.7.7.201606060606</jacoco.version>
76 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
77 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
78 <!-- Default Sonar configuration -->
79 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
80 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
81 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
82 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Sai Gandhame01703c2018-03-26 22:57:09 +000083 <nexusproxy>https://nexus.onap.org</nexusproxy>
84 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
85 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
86 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
87 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
88 </properties>
IanHowell3901cf82018-04-03 11:24:27 -050089
Sai Gandham61f8fdf2018-04-03 12:07:07 -050090 <!-- ============================================================== -->
91 <!-- Define common plugins and make them available for all modules -->
92 <!-- ============================================================== -->
Sai Gandhame01703c2018-03-26 22:57:09 +000093 <build>
Sai Gandham61f8fdf2018-04-03 12:07:07 -050094 <testSourceDirectory>src/test/java</testSourceDirectory>
95 <plugins>
96 </plugins>
97 <pluginManagement>
98 <plugins>
99 <plugin>
100 <inherited>true</inherited>
101 <groupId>org.apache.maven.plugins</groupId>
102 <artifactId>maven-compiler-plugin</artifactId>
103 <version>2.3.2</version>
IanHowell3901cf82018-04-03 11:24:27 -0500104 <configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500105 <source>1.7</source>
106 <target>1.7</target>
IanHowell3901cf82018-04-03 11:24:27 -0500107 </configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500108 </plugin>
109
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <version>2.4</version>
113 <artifactId>maven-jar-plugin</artifactId>
IanHowell3901cf82018-04-03 11:24:27 -0500114 <configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500115 <outputDirectory>target</outputDirectory>
116 <archive>
117 <manifestEntries>
118 <Sealed>true</Sealed>
119 </manifestEntries>
120 </archive>
IanHowell3901cf82018-04-03 11:24:27 -0500121 </configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500122 </plugin>
123
124 <!-- Define the javadoc plugin -->
125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-javadoc-plugin</artifactId>
128 <version>2.10</version>
IanHowell3901cf82018-04-03 11:24:27 -0500129 <configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500130 <excludePackageNames>org.opendaylight.*</excludePackageNames>
IanHowell3901cf82018-04-03 11:24:27 -0500131 </configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500132 </plugin>
133
134 <plugin>
135 <artifactId>maven-release-plugin</artifactId>
136 <version>2.5.2</version>
IanHowell3901cf82018-04-03 11:24:27 -0500137 <configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500138 <goals>-s ${mvn.settings} deploy</goals>
IanHowelle6123772018-04-03 15:26:47 -0500139 <skipTests>false</skipTests>
140 <includes>
141 <include>**/JU*.java</include>
142 </includes>
143 <excludes>
144 </excludes>
145 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
146 <propertyName>surefireArgLine</propertyName>
IanHowell3901cf82018-04-03 11:24:27 -0500147 </configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500148 </plugin>
149
150 <plugin>
151 <artifactId>maven-assembly-plugin</artifactId>
152 <version>2.5.5</version>
153 </plugin>
154
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-deploy-plugin</artifactId>
158 <version>2.8.1</version>
159 <configuration>
160 <skip>false</skip>
161 </configuration>
162
163 </plugin>
164
165 <plugin>
166 <groupId>org.apache.maven.plugins</groupId>
167 <artifactId>maven-dependency-plugin</artifactId>
168 <version>2.10</version>
169 </plugin>
170
171 <!-- Maven surefire plugin for testing -->
172 <plugin>
173 <artifactId>maven-surefire-plugin</artifactId>
174 <version>2.17</version>
175 <configuration>
176 </configuration>
177 </plugin>
178
179 <!--This plugin's configuration is used to store Eclipse m2e settings
180 only. It has no influence on the Maven build itself. -->
181 <plugin>
182 <groupId>org.eclipse.m2e</groupId>
183 <artifactId>lifecycle-mapping</artifactId>
184 <version>1.0.0</version>
185 <configuration>
186 <lifecycleMappingMetadata>
187 <pluginExecutions>
188 <pluginExecution>
189 <pluginExecutionFilter>
190 <groupId>
191 org.codehaus.mojo
192 </groupId>
193 <artifactId>
194 jaxb2-maven-plugin
195 </artifactId>
196 <versionRange>
197 [1.3,)
198 </versionRange>
199 <goals>
200 <goal>xjc</goal>
201 </goals>
202 </pluginExecutionFilter>
203 <action>
204 <ignore />
205 </action>
206 </pluginExecution>
207 </pluginExecutions>
208 </lifecycleMappingMetadata>
209 </configuration>
210 </plugin>
211 <plugin>
212 <groupId>org.sonatype.plugins</groupId>
213 <artifactId>nexus-staging-maven-plugin</artifactId>
214 <version>1.6.7</version>
215 <extensions>true</extensions>
216 <configuration>
217 <nexusUrl>${nexusproxy}</nexusUrl>
218 <stagingProfileId>176c31dfe190a</stagingProfileId>
219 <serverId>ecomp-staging</serverId>
220 </configuration>
221 </plugin>
222 <plugin>
223 <groupId>org.jacoco</groupId>
224 <artifactId>jacoco-maven-plugin</artifactId>
225 <version>${jacoco.version}</version>
226 <configuration>
227 <excludes>
228 <exclude>**/gen/**</exclude>
229 <exclude>**/generated-sources/**</exclude>
230 <exclude>**/yang-gen/**</exclude>
231 <exclude>**/pax/**</exclude>
232 </excludes>
233 </configuration>
234 <executions>
235 <execution>
236 <id>pre-unit-test</id>
237 <goals>
238 <goal>prepare-agent</goal>
239 </goals>
240 <configuration>
241 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
242 <propertyName>surefireArgLine</propertyName>
243 </configuration>
244 </execution>
245 <execution>
246 <id>post-unit-test</id>
247 <phase>test</phase>
248 <goals>
249 <goal>report</goal>
250 </goals>
251 <configuration>
252 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
253 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
254 </configuration>
255 </execution>
256 <execution>
257 <id>pre-integration-test</id>
258 <phase>pre-integration-test</phase>
259 <goals>
260 <goal>prepare-agent</goal>
261 </goals>
262 <configuration>
263 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
264 <propertyName>failsafeArgLine</propertyName>
265 </configuration>
266 </execution>
267 <execution>
268 <id>post-integration-test</id>
269 <phase>post-integration-test</phase>
270 <goals>
271 <goal>report</goal>
272 </goals>
273 <configuration>
274 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
275 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
276 </configuration>
277 </execution>
278 </executions>
279 </plugin>
280 </plugins>
281 </pluginManagement>
282 </build>
IanHowell3901cf82018-04-03 11:24:27 -0500283
Instrumentalac1e1ec2018-03-26 13:37:04 -0700284 <dependencies>
285 <dependency>
286 <groupId>log4j</groupId>
287 <artifactId>log4j</artifactId>
288 <scope>compile</scope> <!-- Provides scope only, in case other users prefer another Logging Implementation -->
289 </dependency>
290 </dependencies>
IanHowell3901cf82018-04-03 11:24:27 -0500291
292
Sai Gandhame01703c2018-03-26 22:57:09 +0000293 <distributionManagement>
294 <repository>
295 <id>ecomp-releases</id>
296 <name>AAF Release Repository</name>
297 <url>${nexusproxy}${releaseNexusPath}</url>
298 </repository>
Sai Gandham6d8487a2018-03-27 18:05:26 +0000299 <snapshotRepository>
300 <id>ecomp-snapshots</id>
301 <name>AAF Snapshot Repository</name>
302 <url>${nexusproxy}${snapshotNexusPath}</url>
303 </snapshotRepository>
Sai Gandhame01703c2018-03-26 22:57:09 +0000304 <site>
305 <id>ecomp-site</id>
306 <url>dav:${nexusproxy}${sitePath}</url>
307 </site>
308 </distributionManagement>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700309</project>
310