blob: e6c955fd80b4b823ff52861c57eaeaf20fc5534d [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 <modelVersion>4.0.0</modelVersion>
Sai Gandhama933f222018-04-12 19:03:59 +000025 <!--<parent>
Sai Gandhama3ee2292018-04-07 22:38:08 -050026 <groupId>org.onap.aaf.authz</groupId>
Sai Gandham83fc0252018-04-09 16:28:48 +000027 <artifactId>parent</artifactId>
Sai Gandhama3ee2292018-04-07 22:38:08 -050028 <version>2.1.0-SNAPSHOT</version>
Sai Gandhama933f222018-04-12 19:03:59 +000029 </parent> -->
Sai Gandham83fc0252018-04-09 16:28:48 +000030 <groupId>org.onap.aaf.authz</groupId>
31 <artifactId>miscparent</artifactId>
Instrumentalac1e1ec2018-03-26 13:37:04 -070032 <name>AAF Misc Parent</name>
Sai Gandhamc83c6332018-04-05 16:08:24 -050033 <version>2.1.0-SNAPSHOT</version>
Instrumentalac1e1ec2018-03-26 13:37:04 -070034 <packaging>pom</packaging>
IanHowell3901cf82018-04-03 11:24:27 -050035
Sai Gandhama3ee2292018-04-07 22:38:08 -050036
Instrumentalac1e1ec2018-03-26 13:37:04 -070037
Sai Gandhama933f222018-04-12 19:03:59 +000038 <parent>
39 <groupId>org.onap.oparent</groupId>
40 <artifactId>oparent</artifactId>
41 <version>1.1.0</version>
42 </parent>
43
Instrumentalac1e1ec2018-03-26 13:37:04 -070044 <properties>
Sai Gandham61f8fdf2018-04-03 12:07:07 -050045 <!-- SONAR -->
Sai Gandhamf44b9272018-04-12 16:42:07 +000046 <!-- <sonar.skip>true</sonar.skip> -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050047 <jacoco.version>0.7.7.201606060606</jacoco.version>
48 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
49 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
50 <!-- Default Sonar configuration -->
51 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
52 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
53 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
54 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
Instrumentalac1e1ec2018-03-26 13:37:04 -070055 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
56 <powermock.version>1.5.1</powermock.version>
Sai Gandhame01703c2018-03-26 22:57:09 +000057 <nexusproxy>https://nexus.onap.org</nexusproxy>
58 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
59 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
60 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham30dca6e2018-04-09 21:22:48 +000061 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Instrumentalac1e1ec2018-03-26 13:37:04 -070062 </properties>
63
IanHowell3901cf82018-04-03 11:24:27 -050064
Sai Gandhame01703c2018-03-26 22:57:09 +000065
Instrumentalac1e1ec2018-03-26 13:37:04 -070066 <developers>
67 <developer>
68 <name>Jonathan Gathman</name>
69 <email>jonathan.gathman@att.com</email>
70 <organization>ATT</organization>
71 <roles>
72 <role>Architect</role>
73 <role>Lead Developer</role>
74 </roles>
75 </developer>
76 <developer>
77 <name>Gabe Maurer</name>
78 <email>gabe.maurer@att.com</email>
79 <organization>ATT</organization>
80 <roles>
81 <role>Developer</role>
82 </roles>
83 </developer>
84 <developer>
85 <name>Ian Howell</name>
86 <email>ian.howell@att.com</email>
87 <organization>ATT</organization>
88 <roles>
89 <role>Developer</role>
90 </roles>
91 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000092 <developer>
93 <name>Sai Gandham</name>
94 <email>sai.gandham@att.com</email>
95 <organization>ATT</organization>
96 <roles>
97 <role>Developer</role>
98 </roles>
99 </developer>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700100 </developers>
101
102 <dependencies>
103 <dependency>
104 <groupId>org.mockito</groupId>
105 <artifactId>mockito-all</artifactId>
106 <version>1.9.5</version>
107 <scope>test</scope>
108 </dependency>
109
110 <dependency>
111 <groupId>org.powermock</groupId>
112 <artifactId>powermock-module-junit4</artifactId>
113 <version>${powermock.version}</version>
114 <scope>test</scope>
115 </dependency>
116 <dependency>
117 <groupId>org.powermock</groupId>
118 <artifactId>powermock-api-mockito</artifactId>
119 <version>${powermock.version}</version>
120 <scope>test</scope>
121 </dependency>
122 <dependency>
123 <groupId>junit</groupId>
124 <artifactId>junit</artifactId>
125 <version>4.10</version>
126 <scope>test</scope>
IanHowell3901cf82018-04-03 11:24:27 -0500127 </dependency>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700128 </dependencies>
129
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500130 <!-- ============================================================== -->
131 <!-- Define common plugins and make them available for all modules -->
132 <!-- ============================================================== -->
Instrumentalac1e1ec2018-03-26 13:37:04 -0700133 <build>
134 <testSourceDirectory>src/test/java</testSourceDirectory>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500135 <plugins>
136 </plugins>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700137 <pluginManagement>
138 <plugins>
139 <plugin>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700140 <inherited>true</inherited>
141 <groupId>org.apache.maven.plugins</groupId>
142 <artifactId>maven-compiler-plugin</artifactId>
143 <version>2.3.2</version>
144 <configuration>
145 <source>1.7</source>
146 <target>1.7</target>
147 </configuration>
148 </plugin>
Sai Gandham61f8fdf2018-04-03 12:07:07 -0500149
150 <plugin>
151 <groupId>org.apache.maven.plugins</groupId>
152 <version>2.4</version>
153 <artifactId>maven-jar-plugin</artifactId>
154 <configuration>
155 <outputDirectory>target</outputDirectory>
156 <archive>
157 <manifestEntries>
158 <Sealed>true</Sealed>
159 </manifestEntries>
160 </archive>
161 </configuration>
162 </plugin>
163
164 <!-- Define the javadoc plugin -->
165 <plugin>
166 <groupId>org.apache.maven.plugins</groupId>
167 <artifactId>maven-javadoc-plugin</artifactId>
168 <version>2.10</version>
169 <configuration>
170 <excludePackageNames>org.opendaylight.*</excludePackageNames>
171 </configuration>
172 </plugin>
173
174 <plugin>
175 <artifactId>maven-release-plugin</artifactId>
176 <version>2.5.2</version>
177 <configuration>
178 <goals>-s ${mvn.settings} deploy</goals>
179 </configuration>
180 </plugin>
181
182 <plugin>
183 <artifactId>maven-assembly-plugin</artifactId>
184 <version>2.5.5</version>
185 </plugin>
186
187 <plugin>
188 <groupId>org.apache.maven.plugins</groupId>
189 <artifactId>maven-deploy-plugin</artifactId>
190 <version>2.8.1</version>
191 <configuration>
192 <skip>false</skip>
193 </configuration>
194
195 </plugin>
196
197 <plugin>
198 <groupId>org.apache.maven.plugins</groupId>
199 <artifactId>maven-dependency-plugin</artifactId>
200 <version>2.10</version>
201 </plugin>
202
203 <!-- Maven surefire plugin for testing -->
204 <plugin>
205 <artifactId>maven-surefire-plugin</artifactId>
206 <version>2.17</version>
207 <configuration>
208 </configuration>
209 </plugin>
210
211 <!--This plugin's configuration is used to store Eclipse m2e settings
212 only. It has no influence on the Maven build itself. -->
213 <plugin>
214 <groupId>org.eclipse.m2e</groupId>
215 <artifactId>lifecycle-mapping</artifactId>
216 <version>1.0.0</version>
217 <configuration>
218 <lifecycleMappingMetadata>
219 <pluginExecutions>
220 <pluginExecution>
221 <pluginExecutionFilter>
222 <groupId>
223 org.codehaus.mojo
224 </groupId>
225 <artifactId>
226 jaxb2-maven-plugin
227 </artifactId>
228 <versionRange>
229 [1.3,)
230 </versionRange>
231 <goals>
232 <goal>xjc</goal>
233 </goals>
234 </pluginExecutionFilter>
235 <action>
236 <ignore />
237 </action>
238 </pluginExecution>
239 </pluginExecutions>
240 </lifecycleMappingMetadata>
241 </configuration>
242 </plugin>
Sai Gandhame01703c2018-03-26 22:57:09 +0000243 <plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500244 <groupId>org.sonatype.plugins</groupId>
245 <artifactId>nexus-staging-maven-plugin</artifactId>
246 <version>1.6.7</version>
247 <extensions>true</extensions>
248 <configuration>
249 <nexusUrl>${nexusproxy}</nexusUrl>
250 <stagingProfileId>176c31dfe190a</stagingProfileId>
251 <serverId>ecomp-staging</serverId>
252 </configuration>
253 </plugin>
254 <plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500255 <groupId>org.jacoco</groupId>
256 <artifactId>jacoco-maven-plugin</artifactId>
257 <version>${jacoco.version}</version>
258 <configuration>
259 <excludes>
260 <exclude>**/gen/**</exclude>
261 <exclude>**/generated-sources/**</exclude>
262 <exclude>**/yang-gen/**</exclude>
263 <exclude>**/pax/**</exclude>
264 </excludes>
265 </configuration>
266 <executions>
267 <execution>
268 <id>pre-unit-test</id>
269 <goals>
270 <goal>prepare-agent</goal>
271 </goals>
272 <configuration>
IanHowelle6123772018-04-03 15:26:47 -0500273 <skipTests>false</skipTests>
274 <includes>
275 <include>**/JU*.java</include>
276 </includes>
277 <excludes>
278 </excludes>
IanHowell3901cf82018-04-03 11:24:27 -0500279 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
280 <propertyName>surefireArgLine</propertyName>
281 </configuration>
282 </execution>
283 <execution>
284 <id>post-unit-test</id>
285 <phase>test</phase>
286 <goals>
287 <goal>report</goal>
288 </goals>
289 <configuration>
290 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
291 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
292 </configuration>
293 </execution>
294 <execution>
295 <id>pre-integration-test</id>
296 <phase>pre-integration-test</phase>
297 <goals>
298 <goal>prepare-agent</goal>
299 </goals>
300 <configuration>
301 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
302 <propertyName>failsafeArgLine</propertyName>
303 </configuration>
304 </execution>
305 <execution>
306 <id>post-integration-test</id>
307 <phase>post-integration-test</phase>
308 <goals>
309 <goal>report</goal>
310 </goals>
311 <configuration>
312 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
313 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
314 </configuration>
315 </execution>
316 </executions>
317 </plugin>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700318 </plugins>
319 </pluginManagement>
320 </build>
321
Instrumentalac1e1ec2018-03-26 13:37:04 -0700322 <modules>
323 <module>env</module>
324 <module>xgen</module>
325 <module>rosetta</module>
326 <module>log4j</module> <!-- note: generates log4j, to avoid Jar conflict -->
327 </modules>
328
329 <dependencyManagement>
330 <dependencies>
331 <dependency>
332 <groupId>log4j</groupId>
333 <artifactId>log4j</artifactId>
334 <version>1.2.17</version>
335 </dependency>
336 <dependency>
337 <groupId>org.slf4j</groupId>
338 <artifactId>slf4j-log4j12</artifactId>
339 <version>1.7.5</version>
340 </dependency>
341 </dependencies>
342 </dependencyManagement>
IanHowell3901cf82018-04-03 11:24:27 -0500343
Sai Gandhame01703c2018-03-26 22:57:09 +0000344 <distributionManagement>
345 <repository>
346 <id>ecomp-releases</id>
347 <name>AAF Release Repository</name>
348 <url>${nexusproxy}${releaseNexusPath}</url>
349 </repository>
Sai Gandham6d8487a2018-03-27 18:05:26 +0000350 <snapshotRepository>
351 <id>ecomp-snapshots</id>
352 <name>AAF Snapshot Repository</name>
353 <url>${nexusproxy}${snapshotNexusPath}</url>
354 </snapshotRepository>
Sai Gandhame01703c2018-03-26 22:57:09 +0000355 <site>
356 <id>ecomp-site</id>
357 <url>dav:${nexusproxy}${sitePath}</url>
358 </site>
359 </distributionManagement>
Instrumentalac1e1ec2018-03-26 13:37:04 -0700360</project>