blob: 56cf3990d5d497df5e82d2d0818e44ae5a21123c [file] [log] [blame]
Instrumentala20accc2018-03-26 13:49:56 -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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23 <modelVersion>4.0.0</modelVersion>
Instrumental17ca7442018-03-29 16:54:19 -050024 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -070025 <artifactId>parent</artifactId>
26 <name>AAF CADI Parent (Code, Access, Data, Identity)</name>
27 <version>1.5.0-SNAPSHOT</version>
28 <inceptionYear>2015-07-20</inceptionYear>
29 <organization>
30 <name>ONAP</name>
31 </organization>
32 <packaging>pom</packaging>
33
Sai Gandham20c4a4a2018-03-27 18:45:37 +000034 <parent>
35 <groupId>org.onap.oparent</groupId>
36 <artifactId>oparent</artifactId>
37 <version>1.1.0</version>
38 </parent>
Sai Gandham2caf7342018-03-27 18:25:51 +000039
Sai Gandham6d8487a2018-03-27 18:05:26 +000040
Instrumentala20accc2018-03-26 13:49:56 -070041 <properties>
42 <skipSigning>true</skipSigning>
43 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
44 <project.miscVersion>1.3.0-SNAPSHOT</project.miscVersion>
45 <project.authClientVersion>2.10-SNAPSHOT</project.authClientVersion>
46 <project.jettyVersion>9.3.9.v20160517</project.jettyVersion>
47 <powermock.version>1.5.1</powermock.version>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000048 <!-- SONAR -->
49 <jacoco.version>0.7.7.201606060606</jacoco.version>
50 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
51 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
52 <!-- Default Sonar configuration -->
53 <sonar.jacoco.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
54 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
55 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
56 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
57 <nexusproxy>https://nexus.onap.org</nexusproxy>
58 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
59 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
60 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
61 <sitePath>/content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version}</sitePath>
Instrumentala20accc2018-03-26 13:49:56 -070062 </properties>
63
64 <!-- ============================================================== -->
65 <!-- Define the major contributors and developers of CADI -->
66 <!-- ============================================================== -->
67 <developers>
68 <developer>
69 <name>Jonathan Gathman</name>
70 <email>jonathan.gathman@att.com</email>
71 <organization>ATT</organization>
72 <roles>
73 <role>Architect</role>
74 <role>Lead Developer</role>
75 </roles>
76 </developer>
77 <developer>
78 <name>Gabe Maurer</name>
79 <email>gabe.maurer@att.com</email>
80 <organization>ATT</organization>
81 <roles>
82 <role>Developer</role>
83 </roles>
84 </developer>
85 <developer>
86 <name>Ian Howell</name>
87 <email>ian.howell@att.com</email>
88 <organization>ATT</organization>
89 <roles>
90 <role>Developer</role>
91 </roles>
92 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000093 <developer>
94 <name>Sai Gandham</name>
95 <email>sai.gandham@att.com</email>
96 <organization>ATT</organization>
97 <roles>
98 <role>Developer</role>
99 </roles>
100 </developer>
Instrumentala20accc2018-03-26 13:49:56 -0700101 </developers>
102
103
104 <dependencies>
105 <dependency>
106 <groupId>org.mockito</groupId>
107 <artifactId>mockito-all</artifactId>
108 <version>1.9.5</version>
109 <scope>test</scope>
110 </dependency>
111
112 <dependency>
113 <groupId>org.powermock</groupId>
114 <artifactId>powermock-module-junit4</artifactId>
115 <version>${powermock.version}</version>
116 <scope>test</scope>
117 </dependency>
118 <dependency>
119 <groupId>org.powermock</groupId>
120 <artifactId>powermock-api-mockito</artifactId>
121 <version>${powermock.version}</version>
122 <scope>test</scope>
123 </dependency>
124
125 <dependency>
126 <groupId>junit</groupId>
127 <artifactId>junit</artifactId>
128 <version>4.10</version>
129 <scope>test</scope>
130 </dependency>
131 </dependencies>
132
133 <!-- ============================================================== -->
134 <!-- Define sub-projects (modules) -->
135 <!-- ============================================================== -->
136 <modules>
137 <module>core</module>
138 <module>client</module>
139 <module>aaf</module>
140 <module>cass</module>
141
142 <module>oauth-enduser</module>
143 <module>shiro</module>
144 </modules>
145
146 <!-- ============================================================== -->
147 <!-- Define project-wide dependencies -->
148 <!-- ============================================================== -->
149 <dependencyManagement>
150 <dependencies>
151 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500152 <groupId>org.onap.aaf.authz.auth</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700153 <artifactId>aaf-auth-client</artifactId>
154 <version>${project.authClientVersion}</version>
155 </dependency>
156
157 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500158 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700159 <artifactId>aaf-cadi-core</artifactId>
160 <version>${project.version}</version>
161 </dependency>
162
163 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500164 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700165 <artifactId>aaf-cadi-oauth</artifactId>
166 <version>${project.version}</version>
167 </dependency>
168
169
170 <!-- Prevent Cycles in Testing -->
171 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500172 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700173 <artifactId>aaf-cadi-core</artifactId>
174 <version>${project.version}</version>
175 <classifier>tests</classifier>
176 </dependency>
177
178 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500179 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700180 <artifactId>aaf-cadi-jetty</artifactId>
181 <version>${project.version}</version>
182 </dependency>
183
184 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500185 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700186 <artifactId>aaf-cadi-cass</artifactId>
187 <version>${project.version}</version>
188 </dependency>
189
190 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500191 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700192 <artifactId>aaf-cadi-aaf</artifactId>
193 <version>${project.version}</version>
194 </dependency>
195
196 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500197 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700198 <artifactId>aaf-cadi-aaf</artifactId>
199 <version>${project.version}</version>
200 <classifier>full</classifier>
201 </dependency>
202
203 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500204 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700205 <artifactId>aaf-cadi-client</artifactId>
206 <version>${project.version}</version>
207 </dependency>
208
209 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500210 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700211 <artifactId>aaf-misc-env</artifactId>
212 <version>${project.miscVersion}</version>
213 </dependency>
214
215 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500216 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700217 <artifactId>aaf-misc-rosetta</artifactId>
218 <version>${project.miscVersion}</version>
219 </dependency>
220
221 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500222 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700223 <artifactId>aaf-misc-log4j</artifactId>
224 <version>${project.miscVersion}</version>
225 </dependency>
226
227 <dependency>
228 <groupId>org.eclipse.jetty</groupId>
229 <artifactId>jetty-servlet</artifactId>
230 <version>${project.jettyVersion}</version>
231 </dependency>
232
233 <dependency>
234 <groupId>org.eclipse.jetty</groupId>
235 <artifactId>jetty-io</artifactId>
236 <version>${project.jettyVersion}</version>
237 </dependency>
238
239 <dependency>
240 <groupId>org.eclipse.jetty</groupId>
241 <artifactId>jetty-security</artifactId>
242 <version>${project.jettyVersion}</version>
243 </dependency>
244
245 <dependency>
246 <groupId>org.eclipse.jetty</groupId>
247 <artifactId>jetty-http</artifactId>
248 <version>${project.jettyVersion}</version>
249 </dependency>
250
251 <dependency>
252 <groupId>org.eclipse.jetty</groupId>
253 <artifactId>jetty-util</artifactId>
254 <version>${project.jettyVersion}</version>
255 </dependency>
256
257 <dependency>
258 <groupId>org.eclipse.jetty</groupId>
259 <artifactId>jetty-server</artifactId>
260 <version>${project.jettyVersion}</version>
261 </dependency>
262
263 <dependency>
264 <groupId>javax.servlet</groupId>
Instrumental10027f32018-03-26 14:07:37 -0700265 <artifactId>servlet-api</artifactId>
266 <version>2.5</version>
Instrumentala20accc2018-03-26 13:49:56 -0700267 </dependency>
268
269 <dependency>
270 <groupId>org.slf4j</groupId>
271 <artifactId>slf4j-api</artifactId>
272 <version>1.7.5</version>
273 </dependency>
274 </dependencies>
275 </dependencyManagement>
276
277 <!-- ============================================================== -->
278 <!-- Define common plugins and make them available for all modules -->
279 <!-- ============================================================== -->
280 <build>
281 <testSourceDirectory>src/test/java</testSourceDirectory>
282 <plugins>
283 </plugins>
284 <pluginManagement>
285 <plugins>
286 <plugin>
287 <inherited>true</inherited>
288 <groupId>org.apache.maven.plugins</groupId>
289 <artifactId>maven-compiler-plugin</artifactId>
290 <version>2.3.2</version>
291 <configuration>
292 <source>1.7</source>
293 <target>1.7</target>
294 </configuration>
295 </plugin>
296
297 <plugin>
298 <groupId>org.apache.maven.plugins</groupId>
299 <version>2.4</version>
300 <artifactId>maven-jar-plugin</artifactId>
301 <configuration>
302 <outputDirectory>target</outputDirectory>
303 <archive>
304 <manifestEntries>
305 <Sealed>true</Sealed>
306 </manifestEntries>
307 </archive>
308 </configuration>
309 </plugin>
310
311 <!-- Define the javadoc plugin -->
312 <plugin>
313 <groupId>org.apache.maven.plugins</groupId>
314 <artifactId>maven-javadoc-plugin</artifactId>
315 <version>2.10</version>
316 <configuration>
317 <excludePackageNames>org.opendaylight.*</excludePackageNames>
318 </configuration>
319 </plugin>
320
321 <plugin>
322 <artifactId>maven-release-plugin</artifactId>
323 <version>2.5.2</version>
324 <configuration>
325 <goals>-s ${mvn.settings} deploy</goals>
326 </configuration>
327 </plugin>
328
329 <plugin>
330 <artifactId>maven-assembly-plugin</artifactId>
331 <version>2.5.5</version>
332 </plugin>
333
334 <plugin>
335 <groupId>org.apache.maven.plugins</groupId>
336 <artifactId>maven-deploy-plugin</artifactId>
337 <version>2.8.1</version>
338 <configuration>
Sai Gandham2caf7342018-03-27 18:25:51 +0000339 <skip>true</skip>
Instrumentala20accc2018-03-26 13:49:56 -0700340 </configuration>
341
342 </plugin>
343
344 <plugin>
345 <groupId>org.apache.maven.plugins</groupId>
346 <artifactId>maven-dependency-plugin</artifactId>
347 <version>2.10</version>
348 </plugin>
349
350 <!-- Maven surefire plugin for testing -->
351 <plugin>
352 <artifactId>maven-surefire-plugin</artifactId>
353 <version>2.17</version>
354 <configuration>
Instrumentala20accc2018-03-26 13:49:56 -0700355 </configuration>
356 </plugin>
357
358 <!--This plugin's configuration is used to store Eclipse m2e settings
359 only. It has no influence on the Maven build itself. -->
360 <plugin>
361 <groupId>org.eclipse.m2e</groupId>
362 <artifactId>lifecycle-mapping</artifactId>
363 <version>1.0.0</version>
364 <configuration>
365 <lifecycleMappingMetadata>
366 <pluginExecutions>
367 <pluginExecution>
368 <pluginExecutionFilter>
369 <groupId>
370 org.codehaus.mojo
371 </groupId>
372 <artifactId>
373 jaxb2-maven-plugin
374 </artifactId>
375 <versionRange>
376 [1.3,)
377 </versionRange>
378 <goals>
379 <goal>xjc</goal>
380 </goals>
381 </pluginExecutionFilter>
382 <action>
383 <ignore />
384 </action>
385 </pluginExecution>
386 </pluginExecutions>
387 </lifecycleMappingMetadata>
388 </configuration>
389 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000390 <plugin>
391 <groupId>org.sonatype.plugins</groupId>
392 <artifactId>nexus-staging-maven-plugin</artifactId>
393 <version>1.6.7</version>
394 <extensions>true</extensions>
395 <configuration>
396 <nexusUrl>${nexusproxy}</nexusUrl>
397 <stagingProfileId>176c31dfe190a</stagingProfileId>
398 <serverId>ecomp-staging</serverId>
399 </configuration>
400 </plugin>
401 <plugin>
402 <groupId>org.jacoco</groupId>
403 <artifactId>jacoco-maven-plugin</artifactId>
404 <version>0.7.7.201606060606</version>
405 <configuration>
406 <dumpOnExit>true</dumpOnExit>
407 <includes>
408 <include>org.onap.aaf.*</include>
409 </includes>
410 </configuration>
411 <executions>
412 <execution>
413 <id>pre-unit-test</id>
414 <goals>
415 <goal>prepare-agent</goal>
416 </goals>
417 <configuration>
418 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
419 <!-- <append>true</append> -->
420 </configuration>
421 </execution>
422 <execution>
423 <id>pre-integration-test</id>
424 <phase>pre-integration-test</phase>
425 <goals>
426 <goal>prepare-agent</goal>
427 </goals>
428 <configuration>
429 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
430 <!-- <append>true</append> -->
431 </configuration>
432 </execution>
433 <execution>
434 <goals>
435 <goal>merge</goal>
436 </goals>
437 <phase>post-integration-test</phase>
438 <configuration>
439 <fileSets>
440 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
441 <directory>${project.build.directory}/coverage-reports</directory>
442 <includes>
443 <include>*.exec</include>
444 </includes>
445 </fileSet>
446 </fileSets>
447 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
448 </configuration>
449 </execution>
450 </executions>
451 </plugin>
Instrumentala20accc2018-03-26 13:49:56 -0700452 </plugins>
453 </pluginManagement>
454 </build>
455
456
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000457 <distributionManagement>
458 <repository>
459 <id>ecomp-releases</id>
460 <name>AAF Release Repository</name>
461 <url>${nexusproxy}${releaseNexusPath}</url>
462 </repository>
463 <snapshotRepository>
464 <id>ecomp-snapshots</id>
465 <name>AAF Snapshot Repository</name>
466 <url>${nexusproxy}${snapshotNexusPath}</url>
467 </snapshotRepository>
468 <site>
469 <id>ecomp-site</id>
470 <url>dav:${nexusproxy}${sitePath}</url>
471 </site>
472 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000473
Instrumentala20accc2018-03-26 13:49:56 -0700474</project>