blob: 76de25f9e2712066ad92560f51835a6a0a3aafd8 [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>
Sai Gandham83fc0252018-04-09 16:28:48 +000025 <groupId>org.onap.aaf.authz</groupId>
26 <artifactId>miscparent</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 Gandhamf44b9272018-04-12 16:42:07 +000074 <!-- <sonar.skip>true</sonar.skip> -->
Sai Gandhamb54ee102018-04-07 23:34:46 -050075 <scijava.jvm.version>1.8</scijava.jvm.version>
Sai Gandham61f8fdf2018-04-03 12:07:07 -050076 <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>
Sai Gandhame01703c2018-03-26 22:57:09 +000084 <nexusproxy>https://nexus.onap.org</nexusproxy>
85 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
86 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
87 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham30dca6e2018-04-09 21:22:48 +000088 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Sai Gandhame01703c2018-03-26 22:57:09 +000089 </properties>
IanHowell3901cf82018-04-03 11:24:27 -050090
Sai Gandham61f8fdf2018-04-03 12:07:07 -050091 <!-- ============================================================== -->
92 <!-- Define common plugins and make them available for all modules -->
93 <!-- ============================================================== -->
Sai Gandhame01703c2018-03-26 22:57:09 +000094 <build>
Sai Gandham61f8fdf2018-04-03 12:07:07 -050095 <testSourceDirectory>src/test/java</testSourceDirectory>
96 <plugins>
97 </plugins>
98 <pluginManagement>
99 <plugins>
100 <plugin>
101 <inherited>true</inherited>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-compiler-plugin</artifactId>
104 <version>2.3.2</version>
IanHowell3901cf82018-04-03 11:24:27 -0500105 <configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500106 <source>1.7</source>
107 <target>1.7</target>
IanHowell3901cf82018-04-03 11:24:27 -0500108 </configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500109 </plugin>
110
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <version>2.4</version>
114 <artifactId>maven-jar-plugin</artifactId>
IanHowell3901cf82018-04-03 11:24:27 -0500115 <configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500116 <outputDirectory>target</outputDirectory>
117 <archive>
118 <manifestEntries>
119 <Sealed>true</Sealed>
120 </manifestEntries>
121 </archive>
IanHowell3901cf82018-04-03 11:24:27 -0500122 </configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500123 </plugin>
124
125 <!-- Define the javadoc plugin -->
126 <plugin>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-javadoc-plugin</artifactId>
129 <version>2.10</version>
IanHowell3901cf82018-04-03 11:24:27 -0500130 <configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500131 <excludePackageNames>org.opendaylight.*</excludePackageNames>
IanHowell3901cf82018-04-03 11:24:27 -0500132 </configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500133 </plugin>
134
135 <plugin>
136 <artifactId>maven-release-plugin</artifactId>
137 <version>2.5.2</version>
IanHowell3901cf82018-04-03 11:24:27 -0500138 <configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500139 <goals>-s ${mvn.settings} deploy</goals>
IanHowelle6123772018-04-03 15:26:47 -0500140 <skipTests>false</skipTests>
141 <includes>
142 <include>**/JU*.java</include>
143 </includes>
144 <excludes>
145 </excludes>
146 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
147 <propertyName>surefireArgLine</propertyName>
IanHowell3901cf82018-04-03 11:24:27 -0500148 </configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500149 </plugin>
150
151 <plugin>
152 <artifactId>maven-assembly-plugin</artifactId>
153 <version>2.5.5</version>
154 </plugin>
155
156 <plugin>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-deploy-plugin</artifactId>
159 <version>2.8.1</version>
160 <configuration>
161 <skip>false</skip>
162 </configuration>
163
164 </plugin>
165
166 <plugin>
167 <groupId>org.apache.maven.plugins</groupId>
168 <artifactId>maven-dependency-plugin</artifactId>
169 <version>2.10</version>
170 </plugin>
171
172 <!-- Maven surefire plugin for testing -->
173 <plugin>
174 <artifactId>maven-surefire-plugin</artifactId>
175 <version>2.17</version>
176 <configuration>
177 </configuration>
178 </plugin>
179
180 <!--This plugin's configuration is used to store Eclipse m2e settings
181 only. It has no influence on the Maven build itself. -->
182 <plugin>
183 <groupId>org.eclipse.m2e</groupId>
184 <artifactId>lifecycle-mapping</artifactId>
185 <version>1.0.0</version>
186 <configuration>
187 <lifecycleMappingMetadata>
188 <pluginExecutions>
189 <pluginExecution>
190 <pluginExecutionFilter>
191 <groupId>
192 org.codehaus.mojo
193 </groupId>
194 <artifactId>
195 jaxb2-maven-plugin
196 </artifactId>
197 <versionRange>
198 [1.3,)
199 </versionRange>
200 <goals>
201 <goal>xjc</goal>
202 </goals>
203 </pluginExecutionFilter>
204 <action>
205 <ignore />
206 </action>
207 </pluginExecution>
208 </pluginExecutions>
209 </lifecycleMappingMetadata>
210 </configuration>
211 </plugin>
212 <plugin>
213 <groupId>org.sonatype.plugins</groupId>
214 <artifactId>nexus-staging-maven-plugin</artifactId>
215 <version>1.6.7</version>
216 <extensions>true</extensions>
217 <configuration>
218 <nexusUrl>${nexusproxy}</nexusUrl>
219 <stagingProfileId>176c31dfe190a</stagingProfileId>
220 <serverId>ecomp-staging</serverId>
221 </configuration>
222 </plugin>
223 <plugin>
224 <groupId>org.jacoco</groupId>
225 <artifactId>jacoco-maven-plugin</artifactId>
226 <version>${jacoco.version}</version>
227 <configuration>
228 <excludes>
229 <exclude>**/gen/**</exclude>
230 <exclude>**/generated-sources/**</exclude>
231 <exclude>**/yang-gen/**</exclude>
232 <exclude>**/pax/**</exclude>
233 </excludes>
234 </configuration>
235 <executions>
236 <execution>
237 <id>pre-unit-test</id>
238 <goals>
239 <goal>prepare-agent</goal>
240 </goals>
241 <configuration>
242 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
243 <propertyName>surefireArgLine</propertyName>
244 </configuration>
245 </execution>
246 <execution>
247 <id>post-unit-test</id>
248 <phase>test</phase>
249 <goals>
250 <goal>report</goal>
251 </goals>
252 <configuration>
253 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
254 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
255 </configuration>
256 </execution>
257 <execution>
258 <id>pre-integration-test</id>
259 <phase>pre-integration-test</phase>
260 <goals>
261 <goal>prepare-agent</goal>
262 </goals>
263 <configuration>
264 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
265 <propertyName>failsafeArgLine</propertyName>
266 </configuration>
267 </execution>
268 <execution>
269 <id>post-integration-test</id>
270 <phase>post-integration-test</phase>
271 <goals>
272 <goal>report</goal>
273 </goals>
274 <configuration>
275 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
276 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
277 </configuration>
278 </execution>
279 </executions>
280 </plugin>
281 </plugins>
282 </pluginManagement>
283 </build>
IanHowell3901cf82018-04-03 11:24:27 -0500284
Instrumentalac1e1ec2018-03-26 13:37:04 -0700285 <dependencies>
286 <dependency>
287 <groupId>log4j</groupId>
288 <artifactId>log4j</artifactId>
289 <scope>compile</scope> <!-- Provides scope only, in case other users prefer another Logging Implementation -->
290 </dependency>
291 </dependencies>
IanHowell3901cf82018-04-03 11:24:27 -0500292
293
Sai Gandhame01703c2018-03-26 22:57:09 +0000294 <distributionManagement>
295 <repository>
296 <id>ecomp-releases</id>
297 <name>AAF Release Repository</name>
298 <url>${nexusproxy}${releaseNexusPath}</url>
299 </repository>
Sai Gandham6d8487a2018-03-27 18:05:26 +0000300 <snapshotRepository>
301 <id>ecomp-snapshots</id>
302 <name>AAF Snapshot Repository</name>
303 <url>${nexusproxy}${snapshotNexusPath}</url>
304 </snapshotRepository>
Sai Gandhame01703c2018-03-26 22:57:09 +0000305 <site>
306 <id>ecomp-site</id>
307 <url>dav:${nexusproxy}${sitePath}</url>
308 </site>
309 </distributionManagement>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700310</project>
311