blob: 0c0b3756d81459ccaa504b723acbd20407165ed8 [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>
27 <version>1.3.0-SNAPSHOT</version>
28 <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 -->
74 <jacoco.version>0.7.7.201606060606</jacoco.version>
75 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
76 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
77 <!-- Default Sonar configuration -->
78 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
79 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
80 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
81 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Sai Gandham372e2512018-04-01 16:42:58 -050082
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>
89
Instrumentalac1e1ec2018-03-26 13:37:04 -070090 <dependencies>
91 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050092 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentalac1e1ec2018-03-26 13:37:04 -070093 <artifactId>aaf-misc-env</artifactId>
94 <version>${project.version}</version>
95 </dependency>
96 </dependencies>
Sai Gandhame01703c2018-03-26 22:57:09 +000097
Sai Gandham61f8fdf2018-04-03 12:07:07 -050098 <!-- ============================================================== -->
99 <!-- Define common plugins and make them available for all modules -->
100 <!-- ============================================================== -->
Sai Gandhame01703c2018-03-26 22:57:09 +0000101 <build>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500102 <testSourceDirectory>src/test/java</testSourceDirectory>
103 <plugins>
104 </plugins>
105 <pluginManagement>
106 <plugins>
107 <plugin>
108 <inherited>true</inherited>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-compiler-plugin</artifactId>
111 <version>2.3.2</version>
112 <configuration>
113 <source>1.7</source>
114 <target>1.7</target>
115 </configuration>
116 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500117 <plugin>
118 <groupId>org.apache.maven.plugins</groupId>
119 <version>2.4</version>
120 <artifactId>maven-jar-plugin</artifactId>
IanHowell3901cf82018-04-03 11:24:27 -0500121 <configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500122 <outputDirectory>target</outputDirectory>
123 <archive>
124 <manifestEntries>
125 <Sealed>true</Sealed>
126 </manifestEntries>
127 </archive>
IanHowell3901cf82018-04-03 11:24:27 -0500128 </configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500129 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500130
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500131 <!-- Define the javadoc plugin -->
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-javadoc-plugin</artifactId>
135 <version>2.10</version>
136 <configuration>
137 <excludePackageNames>org.opendaylight.*</excludePackageNames>
138 </configuration>
139 </plugin>
140
141 <plugin>
142 <artifactId>maven-release-plugin</artifactId>
143 <version>2.5.2</version>
144 <configuration>
145 <goals>-s ${mvn.settings} deploy</goals>
146 </configuration>
147 </plugin>
148
149 <plugin>
150 <artifactId>maven-assembly-plugin</artifactId>
151 <version>2.5.5</version>
152 </plugin>
153
154 <plugin>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-deploy-plugin</artifactId>
157 <version>2.8.1</version>
158 <configuration>
159 <skip>false</skip>
160 </configuration>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500161 </plugin>
162
163 <plugin>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-dependency-plugin</artifactId>
166 <version>2.10</version>
167 </plugin>
168
169 <!-- Maven surefire plugin for testing -->
170 <plugin>
171 <artifactId>maven-surefire-plugin</artifactId>
172 <version>2.17</version>
173 <configuration>
IanHowelle6123772018-04-03 15:26:47 -0500174 <skipTests>false</skipTests>
175 <includes>
176 <include>**/JU*.java</include>
177 </includes>
178 <excludes>
179 </excludes>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500180 </configuration>
181 </plugin>
182
183 <!--This plugin's configuration is used to store Eclipse m2e settings
184 only. It has no influence on the Maven build itself. -->
185 <plugin>
186 <groupId>org.eclipse.m2e</groupId>
187 <artifactId>lifecycle-mapping</artifactId>
188 <version>1.0.0</version>
189 <configuration>
190 <lifecycleMappingMetadata>
191 <pluginExecutions>
192 <pluginExecution>
193 <pluginExecutionFilter>
194 <groupId>
195 org.codehaus.mojo
196 </groupId>
197 <artifactId>
198 jaxb2-maven-plugin
199 </artifactId>
200 <versionRange>
201 [1.3,)
202 </versionRange>
203 <goals>
204 <goal>xjc</goal>
205 </goals>
206 </pluginExecutionFilter>
207 <action>
208 <ignore />
209 </action>
210 </pluginExecution>
211 </pluginExecutions>
212 </lifecycleMappingMetadata>
213 </configuration>
214 </plugin>
215 <plugin>
216 <groupId>org.sonatype.plugins</groupId>
217 <artifactId>nexus-staging-maven-plugin</artifactId>
218 <version>1.6.7</version>
219 <extensions>true</extensions>
220 <configuration>
221 <nexusUrl>${nexusproxy}</nexusUrl>
222 <stagingProfileId>176c31dfe190a</stagingProfileId>
223 <serverId>ecomp-staging</serverId>
224 </configuration>
225 </plugin>
226 <plugin>
227 <groupId>org.jacoco</groupId>
228 <artifactId>jacoco-maven-plugin</artifactId>
229 <version>${jacoco.version}</version>
230 <configuration>
231 <excludes>
232 <exclude>**/gen/**</exclude>
233 <exclude>**/generated-sources/**</exclude>
234 <exclude>**/yang-gen/**</exclude>
235 <exclude>**/pax/**</exclude>
236 </excludes>
237 </configuration>
238 <executions>
239 <execution>
240 <id>pre-unit-test</id>
241 <goals>
242 <goal>prepare-agent</goal>
243 </goals>
244 <configuration>
245 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
246 <propertyName>surefireArgLine</propertyName>
247 </configuration>
248 </execution>
249 <execution>
250 <id>post-unit-test</id>
251 <phase>test</phase>
252 <goals>
253 <goal>report</goal>
254 </goals>
255 <configuration>
256 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
257 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
258 </configuration>
259 </execution>
260 <execution>
261 <id>pre-integration-test</id>
262 <phase>pre-integration-test</phase>
263 <goals>
264 <goal>prepare-agent</goal>
265 </goals>
266 <configuration>
267 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
268 <propertyName>failsafeArgLine</propertyName>
269 </configuration>
270 </execution>
271 <execution>
272 <id>post-integration-test</id>
273 <phase>post-integration-test</phase>
274 <goals>
275 <goal>report</goal>
276 </goals>
277 <configuration>
278 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
279 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
280 </configuration>
281 </execution>
282 </executions>
283 </plugin>
284 </plugins>
285 </pluginManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000286 </build>
287
288 <distributionManagement>
289 <repository>
290 <id>ecomp-releases</id>
291 <name>AAF Release Repository</name>
292 <url>${nexusproxy}${releaseNexusPath}</url>
293 </repository>
Sai Gandham6d8487a2018-03-27 18:05:26 +0000294 <snapshotRepository>
295 <id>ecomp-snapshots</id>
296 <name>AAF Snapshot Repository</name>
297 <url>${nexusproxy}${snapshotNexusPath}</url>
298 </snapshotRepository>
Sai Gandhame01703c2018-03-26 22:57:09 +0000299 <site>
300 <id>ecomp-site</id>
301 <url>dav:${nexusproxy}${sitePath}</url>
302 </site>
303 </distributionManagement>
304
305
Instrumentalac1e1ec2018-03-26 13:37:04 -0700306</project>