blob: 133d0fb467309ecaa94f8afe0e1652468164e184 [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-rosetta</artifactId>
33 <name>AAF Misc Rosetta</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 Gandhamb54ee102018-04-07 23:34:46 -050074 <scijava.jvm.version>1.8</scijava.jvm.version>
Sai Gandhama88f56f2018-04-03 17:09:33 -050075 <sonar.skip>true</sonar.skip>
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>
IanHowell3901cf82018-04-03 11:24:27 -050084
Sai Gandhame01703c2018-03-26 22:57:09 +000085 <nexusproxy>https://nexus.onap.org</nexusproxy>
86 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
87 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
88 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham30dca6e2018-04-09 21:22:48 +000089 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Sai Gandhame01703c2018-03-26 22:57:09 +000090 </properties>
IanHowell3901cf82018-04-03 11:24:27 -050091
Instrumentalac1e1ec2018-03-26 13:37:04 -070092 <dependencies>
93 <dependency>
Sai Gandham83fc0252018-04-09 16:28:48 +000094 <groupId>org.onap.aaf.authz</groupId>
Instrumentalac1e1ec2018-03-26 13:37:04 -070095 <artifactId>aaf-misc-env</artifactId>
96 <version>${project.version}</version>
97 </dependency>
98 </dependencies>
99
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500100
101
102 <!-- ============================================================== -->
103 <!-- Define common plugins and make them available for all modules -->
104 <!-- ============================================================== -->
Instrumentalac1e1ec2018-03-26 13:37:04 -0700105 <build>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500106 <testSourceDirectory>src/test/java</testSourceDirectory>
107
108 <plugins>
109 <plugin>
110 <inherited>true</inherited>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-compiler-plugin</artifactId>
113 <version>2.3.2</version>
114 <configuration>
115 <source>1.7</source>
116 <target>1.7</target>
117 </configuration>
118 </plugin>
119
120 <plugin>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700121 <groupId>org.jvnet.jaxb2.maven2</groupId>
122 <artifactId>maven-jaxb2-plugin</artifactId>
123 <version>0.8.2</version>
124 <executions>
125 <execution>
126 <goals>
127 <goal>generate</goal>
128 </goals>
129 </execution>
130 </executions>
131 <configuration>
132 <schemaDirectory>src/main/xsd</schemaDirectory>
133 </configuration>
134 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500135
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <version>2.4</version>
139 <artifactId>maven-jar-plugin</artifactId>
140 <configuration>
141 <outputDirectory>target</outputDirectory>
142 <archive>
143 <manifestEntries>
144 <Sealed>true</Sealed>
145 </manifestEntries>
146 </archive>
147 </configuration>
148 </plugin>
Sai Gandham372e2512018-04-01 16:42:58 -0500149
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500150 <!-- Define the javadoc plugin -->
151 <plugin>
152 <groupId>org.apache.maven.plugins</groupId>
153 <artifactId>maven-javadoc-plugin</artifactId>
154 <version>2.10</version>
155 <configuration>
156 <excludePackageNames>org.opendaylight.*</excludePackageNames>
157 </configuration>
158 </plugin>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700159
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500160 <plugin>
161 <artifactId>maven-release-plugin</artifactId>
162 <version>2.5.2</version>
163 <configuration>
164 <goals>-s ${mvn.settings} deploy</goals>
165 </configuration>
166 </plugin>
167
168 <plugin>
169 <artifactId>maven-assembly-plugin</artifactId>
170 <version>2.5.5</version>
171 </plugin>
172
173 <plugin>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-deploy-plugin</artifactId>
176 <version>2.8.1</version>
177 <configuration>
178 <skip>false</skip>
179 </configuration>
180
181 </plugin>
182
183 <plugin>
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-dependency-plugin</artifactId>
186 <version>2.10</version>
187 </plugin>
188
189 <!-- Maven surefire plugin for testing -->
190 <plugin>
191 <artifactId>maven-surefire-plugin</artifactId>
192 <version>2.17</version>
193 <configuration>
IanHowelle6123772018-04-03 15:26:47 -0500194 <skipTests>false</skipTests>
195 <includes>
196 <include>**/JU*.java</include>
197 </includes>
198 <excludes>
199 </excludes>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500200 </configuration>
201 </plugin>
202
203 <!--This plugin's configuration is used to store Eclipse m2e settings
204 only. It has no influence on the Maven build itself. -->
205 <plugin>
206 <groupId>org.eclipse.m2e</groupId>
207 <artifactId>lifecycle-mapping</artifactId>
208 <version>1.0.0</version>
209 <configuration>
210 <lifecycleMappingMetadata>
211 <pluginExecutions>
212 <pluginExecution>
213 <pluginExecutionFilter>
214 <groupId>
215 org.codehaus.mojo
216 </groupId>
217 <artifactId>
218 jaxb2-maven-plugin
219 </artifactId>
220 <versionRange>
221 [1.3,)
222 </versionRange>
223 <goals>
224 <goal>xjc</goal>
225 </goals>
226 </pluginExecutionFilter>
227 <action>
228 <ignore />
229 </action>
230 </pluginExecution>
231 </pluginExecutions>
232 </lifecycleMappingMetadata>
233 </configuration>
234 </plugin>
235 <plugin>
236 <groupId>org.sonatype.plugins</groupId>
237 <artifactId>nexus-staging-maven-plugin</artifactId>
238 <version>1.6.7</version>
239 <extensions>true</extensions>
240 <configuration>
241 <nexusUrl>${nexusproxy}</nexusUrl>
242 <stagingProfileId>176c31dfe190a</stagingProfileId>
243 <serverId>ecomp-staging</serverId>
244 </configuration>
245 </plugin>
246 <plugin>
247 <groupId>org.jacoco</groupId>
248 <artifactId>jacoco-maven-plugin</artifactId>
249 <version>${jacoco.version}</version>
250 <configuration>
251 <excludes>
252 <exclude>**/gen/**</exclude>
253 <exclude>**/generated-sources/**</exclude>
254 <exclude>**/yang-gen/**</exclude>
255 <exclude>**/pax/**</exclude>
256 </excludes>
257 </configuration>
258 <executions>
259 <execution>
260 <id>pre-unit-test</id>
261 <goals>
262 <goal>prepare-agent</goal>
263 </goals>
264 <configuration>
265 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
266 <propertyName>surefireArgLine</propertyName>
267 </configuration>
268 </execution>
269 <execution>
270 <id>post-unit-test</id>
271 <phase>test</phase>
272 <goals>
273 <goal>report</goal>
274 </goals>
275 <configuration>
276 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
277 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
278 </configuration>
279 </execution>
280 <execution>
281 <id>pre-integration-test</id>
282 <phase>pre-integration-test</phase>
283 <goals>
284 <goal>prepare-agent</goal>
285 </goals>
286 <configuration>
287 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
288 <propertyName>failsafeArgLine</propertyName>
289 </configuration>
290 </execution>
291 <execution>
292 <id>post-integration-test</id>
293 <phase>post-integration-test</phase>
294 <goals>
295 <goal>report</goal>
296 </goals>
297 <configuration>
298 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
299 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
300 </configuration>
301 </execution>
302 </executions>
303 </plugin>
304 </plugins>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700305 </build>
306
Sai Gandhame01703c2018-03-26 22:57:09 +0000307 <distributionManagement>
308 <repository>
309 <id>ecomp-releases</id>
310 <name>AAF Release Repository</name>
311 <url>${nexusproxy}${releaseNexusPath}</url>
312 </repository>
Sai Gandham6d8487a2018-03-27 18:05:26 +0000313 <snapshotRepository>
314 <id>ecomp-snapshots</id>
315 <name>AAF Snapshot Repository</name>
316 <url>${nexusproxy}${snapshotNexusPath}</url>
317 </snapshotRepository>
Sai Gandhame01703c2018-03-26 22:57:09 +0000318 <site>
319 <id>ecomp-site</id>
320 <url>dav:${nexusproxy}${sitePath}</url>
321 </site>
322 </distributionManagement>
IanHowell3901cf82018-04-03 11:24:27 -0500323
IanHowelle6123772018-04-03 15:26:47 -0500324</project>