blob: dcf268a32e0eb576bea954a98504b575722d9900 [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-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 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>
IanHowell3901cf82018-04-03 11:24:27 -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>
88 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
89 </properties>
IanHowell3901cf82018-04-03 11:24:27 -050090
Instrumentalac1e1ec2018-03-26 13:37:04 -070091 <dependencies>
92 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -050093 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentalac1e1ec2018-03-26 13:37:04 -070094 <artifactId>aaf-misc-env</artifactId>
95 <version>${project.version}</version>
96 </dependency>
97 </dependencies>
98
Sai Gandham61f8fdf2018-04-03 12:07:07 -050099
100
101 <!-- ============================================================== -->
102 <!-- Define common plugins and make them available for all modules -->
103 <!-- ============================================================== -->
Instrumentalac1e1ec2018-03-26 13:37:04 -0700104 <build>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500105 <testSourceDirectory>src/test/java</testSourceDirectory>
106
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>
118
119 <plugin>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700120 <groupId>org.jvnet.jaxb2.maven2</groupId>
121 <artifactId>maven-jaxb2-plugin</artifactId>
122 <version>0.8.2</version>
123 <executions>
124 <execution>
125 <goals>
126 <goal>generate</goal>
127 </goals>
128 </execution>
129 </executions>
130 <configuration>
131 <schemaDirectory>src/main/xsd</schemaDirectory>
132 </configuration>
133 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500134
135 <plugin>
136 <groupId>org.apache.maven.plugins</groupId>
137 <version>2.4</version>
138 <artifactId>maven-jar-plugin</artifactId>
139 <configuration>
140 <outputDirectory>target</outputDirectory>
141 <archive>
142 <manifestEntries>
143 <Sealed>true</Sealed>
144 </manifestEntries>
145 </archive>
146 </configuration>
147 </plugin>
Sai Gandham372e2512018-04-01 16:42:58 -0500148
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500149 <!-- Define the javadoc plugin -->
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <artifactId>maven-javadoc-plugin</artifactId>
153 <version>2.10</version>
154 <configuration>
155 <excludePackageNames>org.opendaylight.*</excludePackageNames>
156 </configuration>
157 </plugin>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700158
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500159 <plugin>
160 <artifactId>maven-release-plugin</artifactId>
161 <version>2.5.2</version>
162 <configuration>
163 <goals>-s ${mvn.settings} deploy</goals>
164 </configuration>
165 </plugin>
166
167 <plugin>
168 <artifactId>maven-assembly-plugin</artifactId>
169 <version>2.5.5</version>
170 </plugin>
171
172 <plugin>
173 <groupId>org.apache.maven.plugins</groupId>
174 <artifactId>maven-deploy-plugin</artifactId>
175 <version>2.8.1</version>
176 <configuration>
177 <skip>false</skip>
178 </configuration>
179
180 </plugin>
181
182 <plugin>
183 <groupId>org.apache.maven.plugins</groupId>
184 <artifactId>maven-dependency-plugin</artifactId>
185 <version>2.10</version>
186 </plugin>
187
188 <!-- Maven surefire plugin for testing -->
189 <plugin>
190 <artifactId>maven-surefire-plugin</artifactId>
191 <version>2.17</version>
192 <configuration>
IanHowelle6123772018-04-03 15:26:47 -0500193 <skipTests>false</skipTests>
194 <includes>
195 <include>**/JU*.java</include>
196 </includes>
197 <excludes>
198 </excludes>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500199 </configuration>
200 </plugin>
201
202 <!--This plugin's configuration is used to store Eclipse m2e settings
203 only. It has no influence on the Maven build itself. -->
204 <plugin>
205 <groupId>org.eclipse.m2e</groupId>
206 <artifactId>lifecycle-mapping</artifactId>
207 <version>1.0.0</version>
208 <configuration>
209 <lifecycleMappingMetadata>
210 <pluginExecutions>
211 <pluginExecution>
212 <pluginExecutionFilter>
213 <groupId>
214 org.codehaus.mojo
215 </groupId>
216 <artifactId>
217 jaxb2-maven-plugin
218 </artifactId>
219 <versionRange>
220 [1.3,)
221 </versionRange>
222 <goals>
223 <goal>xjc</goal>
224 </goals>
225 </pluginExecutionFilter>
226 <action>
227 <ignore />
228 </action>
229 </pluginExecution>
230 </pluginExecutions>
231 </lifecycleMappingMetadata>
232 </configuration>
233 </plugin>
234 <plugin>
235 <groupId>org.sonatype.plugins</groupId>
236 <artifactId>nexus-staging-maven-plugin</artifactId>
237 <version>1.6.7</version>
238 <extensions>true</extensions>
239 <configuration>
240 <nexusUrl>${nexusproxy}</nexusUrl>
241 <stagingProfileId>176c31dfe190a</stagingProfileId>
242 <serverId>ecomp-staging</serverId>
243 </configuration>
244 </plugin>
245 <plugin>
246 <groupId>org.jacoco</groupId>
247 <artifactId>jacoco-maven-plugin</artifactId>
248 <version>${jacoco.version}</version>
249 <configuration>
250 <excludes>
251 <exclude>**/gen/**</exclude>
252 <exclude>**/generated-sources/**</exclude>
253 <exclude>**/yang-gen/**</exclude>
254 <exclude>**/pax/**</exclude>
255 </excludes>
256 </configuration>
257 <executions>
258 <execution>
259 <id>pre-unit-test</id>
260 <goals>
261 <goal>prepare-agent</goal>
262 </goals>
263 <configuration>
264 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
265 <propertyName>surefireArgLine</propertyName>
266 </configuration>
267 </execution>
268 <execution>
269 <id>post-unit-test</id>
270 <phase>test</phase>
271 <goals>
272 <goal>report</goal>
273 </goals>
274 <configuration>
275 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
276 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
277 </configuration>
278 </execution>
279 <execution>
280 <id>pre-integration-test</id>
281 <phase>pre-integration-test</phase>
282 <goals>
283 <goal>prepare-agent</goal>
284 </goals>
285 <configuration>
286 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
287 <propertyName>failsafeArgLine</propertyName>
288 </configuration>
289 </execution>
290 <execution>
291 <id>post-integration-test</id>
292 <phase>post-integration-test</phase>
293 <goals>
294 <goal>report</goal>
295 </goals>
296 <configuration>
297 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
298 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
299 </configuration>
300 </execution>
301 </executions>
302 </plugin>
303 </plugins>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700304 </build>
305
Sai Gandhame01703c2018-03-26 22:57:09 +0000306 <distributionManagement>
307 <repository>
308 <id>ecomp-releases</id>
309 <name>AAF Release Repository</name>
310 <url>${nexusproxy}${releaseNexusPath}</url>
311 </repository>
Sai Gandham6d8487a2018-03-27 18:05:26 +0000312 <snapshotRepository>
313 <id>ecomp-snapshots</id>
314 <name>AAF Snapshot Repository</name>
315 <url>${nexusproxy}${snapshotNexusPath}</url>
316 </snapshotRepository>
Sai Gandhame01703c2018-03-26 22:57:09 +0000317 <site>
318 <id>ecomp-site</id>
319 <url>dav:${nexusproxy}${sitePath}</url>
320 </site>
321 </distributionManagement>
IanHowell3901cf82018-04-03 11:24:27 -0500322
IanHowelle6123772018-04-03 15:26:47 -0500323</project>