blob: 7fc3fe322198cb6e66ef8a865dfc640e747033d8 [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>
Instrumental50c23cc2018-10-31 02:40:03 -050027 <version>2.1.7-SNAPSHOT</version>
Instrumentalac1e1ec2018-03-26 13:37:04 -070028 <relativePath>..</relativePath>
29 </parent>
30
31 <modelVersion>4.0.0</modelVersion>
32 <artifactId>aaf-misc-xgen</artifactId>
33 <name>AAF Misc XGen</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>
71
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 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 Gandham372e2512018-04-01 16:42:58 -050083
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>
90
Instrumentalac1e1ec2018-03-26 13:37:04 -070091 <dependencies>
92 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000093 <groupId>org.onap.aaf.authz</groupId>
Instrumentalac1e1ec2018-03-26 13:37:04 -070094 <artifactId>aaf-misc-env</artifactId>
95 <version>${project.version}</version>
96 </dependency>
97 </dependencies>
Sai Gandhame01703c2018-03-26 22:57:09 +000098
Sai Gandham61f8fdf2018-04-03 12:07:07 -050099 <!-- ============================================================== -->
100 <!-- Define common plugins and make them available for all modules -->
101 <!-- ============================================================== -->
Sai Gandhame01703c2018-03-26 22:57:09 +0000102 <build>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500103 <testSourceDirectory>src/test/java</testSourceDirectory>
104 <plugins>
105 </plugins>
106 <pluginManagement>
107 <plugins>
108 <plugin>
109 <inherited>true</inherited>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-compiler-plugin</artifactId>
112 <version>2.3.2</version>
113 <configuration>
114 <source>1.7</source>
115 <target>1.7</target>
116 </configuration>
117 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <version>2.4</version>
121 <artifactId>maven-jar-plugin</artifactId>
IanHowell3901cf82018-04-03 11:24:27 -0500122 <configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500123 <outputDirectory>target</outputDirectory>
124 <archive>
125 <manifestEntries>
126 <Sealed>true</Sealed>
127 </manifestEntries>
128 </archive>
IanHowell3901cf82018-04-03 11:24:27 -0500129 </configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500130 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500131
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500132 <!-- Define the javadoc plugin -->
133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-javadoc-plugin</artifactId>
136 <version>2.10</version>
137 <configuration>
138 <excludePackageNames>org.opendaylight.*</excludePackageNames>
139 </configuration>
140 </plugin>
141
142 <plugin>
143 <artifactId>maven-release-plugin</artifactId>
144 <version>2.5.2</version>
145 <configuration>
146 <goals>-s ${mvn.settings} deploy</goals>
147 </configuration>
148 </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>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500162 </plugin>
163
164 <plugin>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-dependency-plugin</artifactId>
167 <version>2.10</version>
168 </plugin>
169
170 <!-- Maven surefire plugin for testing -->
171 <plugin>
172 <artifactId>maven-surefire-plugin</artifactId>
173 <version>2.17</version>
174 <configuration>
IanHowelle6123772018-04-03 15:26:47 -0500175 <skipTests>false</skipTests>
176 <includes>
177 <include>**/JU*.java</include>
178 </includes>
179 <excludes>
180 </excludes>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500181 </configuration>
182 </plugin>
183
184 <!--This plugin's configuration is used to store Eclipse m2e settings
185 only. It has no influence on the Maven build itself. -->
186 <plugin>
187 <groupId>org.eclipse.m2e</groupId>
188 <artifactId>lifecycle-mapping</artifactId>
189 <version>1.0.0</version>
190 <configuration>
191 <lifecycleMappingMetadata>
192 <pluginExecutions>
193 <pluginExecution>
194 <pluginExecutionFilter>
195 <groupId>
196 org.codehaus.mojo
197 </groupId>
198 <artifactId>
199 jaxb2-maven-plugin
200 </artifactId>
201 <versionRange>
202 [1.3,)
203 </versionRange>
204 <goals>
205 <goal>xjc</goal>
206 </goals>
207 </pluginExecutionFilter>
208 <action>
209 <ignore />
210 </action>
211 </pluginExecution>
212 </pluginExecutions>
213 </lifecycleMappingMetadata>
214 </configuration>
215 </plugin>
216 <plugin>
217 <groupId>org.sonatype.plugins</groupId>
218 <artifactId>nexus-staging-maven-plugin</artifactId>
219 <version>1.6.7</version>
220 <extensions>true</extensions>
221 <configuration>
222 <nexusUrl>${nexusproxy}</nexusUrl>
223 <stagingProfileId>176c31dfe190a</stagingProfileId>
224 <serverId>ecomp-staging</serverId>
225 </configuration>
226 </plugin>
227 <plugin>
228 <groupId>org.jacoco</groupId>
229 <artifactId>jacoco-maven-plugin</artifactId>
230 <version>${jacoco.version}</version>
231 <configuration>
232 <excludes>
233 <exclude>**/gen/**</exclude>
234 <exclude>**/generated-sources/**</exclude>
235 <exclude>**/yang-gen/**</exclude>
236 <exclude>**/pax/**</exclude>
237 </excludes>
238 </configuration>
239 <executions>
240 <execution>
241 <id>pre-unit-test</id>
242 <goals>
243 <goal>prepare-agent</goal>
244 </goals>
245 <configuration>
246 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
247 <propertyName>surefireArgLine</propertyName>
248 </configuration>
249 </execution>
250 <execution>
251 <id>post-unit-test</id>
252 <phase>test</phase>
253 <goals>
254 <goal>report</goal>
255 </goals>
256 <configuration>
257 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
258 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
259 </configuration>
260 </execution>
261 <execution>
262 <id>pre-integration-test</id>
263 <phase>pre-integration-test</phase>
264 <goals>
265 <goal>prepare-agent</goal>
266 </goals>
267 <configuration>
268 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
269 <propertyName>failsafeArgLine</propertyName>
270 </configuration>
271 </execution>
272 <execution>
273 <id>post-integration-test</id>
274 <phase>post-integration-test</phase>
275 <goals>
276 <goal>report</goal>
277 </goals>
278 <configuration>
279 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
280 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
281 </configuration>
282 </execution>
283 </executions>
284 </plugin>
285 </plugins>
286 </pluginManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000287 </build>
288
289 <distributionManagement>
290 <repository>
291 <id>ecomp-releases</id>
292 <name>AAF Release Repository</name>
293 <url>${nexusproxy}${releaseNexusPath}</url>
294 </repository>
Sai Gandham6d8487a2018-03-27 18:05:26 +0000295 <snapshotRepository>
296 <id>ecomp-snapshots</id>
297 <name>AAF Snapshot Repository</name>
298 <url>${nexusproxy}${snapshotNexusPath}</url>
299 </snapshotRepository>
Sai Gandhame01703c2018-03-26 22:57:09 +0000300 <site>
301 <id>ecomp-site</id>
302 <url>dav:${nexusproxy}${sitePath}</url>
303 </site>
304 </distributionManagement>
305
306
Instrumentalac1e1ec2018-03-26 13:37:04 -0700307</project>