blob: 1a931c5afc56c719ddf6b6f42e0cc14d79529725 [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>
Sai Gandhama3ee2292018-04-07 22:38:08 -050024 <parent>
25 <groupId>org.onap.aaf.authz</groupId>
26 <artifactId>super-pom</artifactId>
27 <version>2.1.0-SNAPSHOT</version>
28 </parent>
Instrumental17ca7442018-03-29 16:54:19 -050029 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -070030 <artifactId>parent</artifactId>
31 <name>AAF CADI Parent (Code, Access, Data, Identity)</name>
Sai Gandhamc83c6332018-04-05 16:08:24 -050032 <version>2.1.0-SNAPSHOT</version>
Instrumentala20accc2018-03-26 13:49:56 -070033 <inceptionYear>2015-07-20</inceptionYear>
34 <organization>
35 <name>ONAP</name>
36 </organization>
37 <packaging>pom</packaging>
38
IanHowell3901cf82018-04-03 11:24:27 -050039
Instrumentala20accc2018-03-26 13:49:56 -070040 <properties>
41 <skipSigning>true</skipSigning>
42 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Sai Gandhamc83c6332018-04-05 16:08:24 -050043 <project.miscVersion>2.1.0-SNAPSHOT</project.miscVersion>
Instrumentala20accc2018-03-26 13:49:56 -070044 <project.authClientVersion>2.10-SNAPSHOT</project.authClientVersion>
45 <project.jettyVersion>9.3.9.v20160517</project.jettyVersion>
46 <powermock.version>1.5.1</powermock.version>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000047 <!-- SONAR -->
48 <jacoco.version>0.7.7.201606060606</jacoco.version>
49 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
50 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
51 <!-- Default Sonar configuration -->
Sai Gandham61f8fdf2018-04-03 12:07:07 -050052 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
53 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000054 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
55 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
56 <nexusproxy>https://nexus.onap.org</nexusproxy>
57 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
58 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
59 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
Sai Gandham103d3ca2018-04-06 14:00:44 -050060 <sitePath>/content/sites/site/org/onap/aaf/authz/cadi/${project.artifactId}/${project.version}</sitePath>
Instrumentala20accc2018-03-26 13:49:56 -070061 </properties>
62
63 <!-- ============================================================== -->
64 <!-- Define the major contributors and developers of CADI -->
65 <!-- ============================================================== -->
66 <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>
Instrumentala20accc2018-03-26 13:49:56 -0700100 </developers>
101
102
103 <dependencies>
104 <dependency>
105 <groupId>org.mockito</groupId>
106 <artifactId>mockito-all</artifactId>
IanHowell3901cf82018-04-03 11:24:27 -0500107 <version>1.9.5</version>
Instrumentala20accc2018-03-26 13:49:56 -0700108 <scope>test</scope>
109 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -0500110
Instrumentala20accc2018-03-26 13:49:56 -0700111 <dependency>
112 <groupId>org.powermock</groupId>
113 <artifactId>powermock-module-junit4</artifactId>
114 <version>${powermock.version}</version>
115 <scope>test</scope>
116 </dependency>
117 <dependency>
118 <groupId>org.powermock</groupId>
119 <artifactId>powermock-api-mockito</artifactId>
120 <version>${powermock.version}</version>
121 <scope>test</scope>
122 </dependency>
123
124 <dependency>
125 <groupId>junit</groupId>
126 <artifactId>junit</artifactId>
127 <version>4.10</version>
128 <scope>test</scope>
129 </dependency>
130 </dependencies>
131
132 <!-- ============================================================== -->
133 <!-- Define sub-projects (modules) -->
134 <!-- ============================================================== -->
135 <modules>
136 <module>core</module>
137 <module>client</module>
138 <module>aaf</module>
Instrumentala20accc2018-03-26 13:49:56 -0700139 <module>oauth-enduser</module>
140 <module>shiro</module>
141 </modules>
142
143 <!-- ============================================================== -->
144 <!-- Define project-wide dependencies -->
145 <!-- ============================================================== -->
146 <dependencyManagement>
147 <dependencies>
148 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500149 <groupId>org.onap.aaf.authz.auth</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700150 <artifactId>aaf-auth-client</artifactId>
151 <version>${project.authClientVersion}</version>
152 </dependency>
153
154 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500155 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700156 <artifactId>aaf-cadi-core</artifactId>
157 <version>${project.version}</version>
158 </dependency>
159
160 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500161 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700162 <artifactId>aaf-cadi-oauth</artifactId>
163 <version>${project.version}</version>
164 </dependency>
165
166
167 <!-- Prevent Cycles in Testing -->
168 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500169 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700170 <artifactId>aaf-cadi-core</artifactId>
171 <version>${project.version}</version>
172 <classifier>tests</classifier>
173 </dependency>
174
175 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500176 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700177 <artifactId>aaf-cadi-jetty</artifactId>
178 <version>${project.version}</version>
179 </dependency>
180
181 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500182 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700183 <artifactId>aaf-cadi-cass</artifactId>
184 <version>${project.version}</version>
185 </dependency>
186
187 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500188 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700189 <artifactId>aaf-cadi-aaf</artifactId>
190 <version>${project.version}</version>
191 </dependency>
192
193 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500194 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700195 <artifactId>aaf-cadi-aaf</artifactId>
196 <version>${project.version}</version>
197 <classifier>full</classifier>
198 </dependency>
199
200 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500201 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700202 <artifactId>aaf-cadi-client</artifactId>
203 <version>${project.version}</version>
204 </dependency>
205
206 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500207 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700208 <artifactId>aaf-misc-env</artifactId>
209 <version>${project.miscVersion}</version>
210 </dependency>
211
212 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500213 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700214 <artifactId>aaf-misc-rosetta</artifactId>
215 <version>${project.miscVersion}</version>
216 </dependency>
217
218 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500219 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700220 <artifactId>aaf-misc-log4j</artifactId>
221 <version>${project.miscVersion}</version>
222 </dependency>
223
224 <dependency>
225 <groupId>org.eclipse.jetty</groupId>
226 <artifactId>jetty-servlet</artifactId>
227 <version>${project.jettyVersion}</version>
228 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -0500229
Instrumentala20accc2018-03-26 13:49:56 -0700230 <dependency>
231 <groupId>org.eclipse.jetty</groupId>
232 <artifactId>jetty-io</artifactId>
233 <version>${project.jettyVersion}</version>
234 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -0500235
Instrumentala20accc2018-03-26 13:49:56 -0700236 <dependency>
237 <groupId>org.eclipse.jetty</groupId>
238 <artifactId>jetty-security</artifactId>
239 <version>${project.jettyVersion}</version>
240 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -0500241
Instrumentala20accc2018-03-26 13:49:56 -0700242 <dependency>
243 <groupId>org.eclipse.jetty</groupId>
244 <artifactId>jetty-http</artifactId>
245 <version>${project.jettyVersion}</version>
246 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -0500247
Instrumentala20accc2018-03-26 13:49:56 -0700248 <dependency>
249 <groupId>org.eclipse.jetty</groupId>
250 <artifactId>jetty-util</artifactId>
251 <version>${project.jettyVersion}</version>
252 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -0500253
Instrumentala20accc2018-03-26 13:49:56 -0700254 <dependency>
255 <groupId>org.eclipse.jetty</groupId>
256 <artifactId>jetty-server</artifactId>
257 <version>${project.jettyVersion}</version>
258 </dependency>
259
260 <dependency>
261 <groupId>javax.servlet</groupId>
Instrumental924b18d2018-04-05 20:17:18 -0500262 <artifactId>javax.servlet-api</artifactId>
263 <version>3.0.1</version>
Instrumentala20accc2018-03-26 13:49:56 -0700264 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -0500265
Instrumentala20accc2018-03-26 13:49:56 -0700266 <dependency>
267 <groupId>org.slf4j</groupId>
268 <artifactId>slf4j-api</artifactId>
269 <version>1.7.5</version>
270 </dependency>
271 </dependencies>
272 </dependencyManagement>
273
274 <!-- ============================================================== -->
275 <!-- Define common plugins and make them available for all modules -->
276 <!-- ============================================================== -->
277 <build>
278 <testSourceDirectory>src/test/java</testSourceDirectory>
279 <plugins>
280 </plugins>
IanHowell3901cf82018-04-03 11:24:27 -0500281 <pluginManagement>
Instrumentala20accc2018-03-26 13:49:56 -0700282 <plugins>
283 <plugin>
284 <inherited>true</inherited>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-compiler-plugin</artifactId>
287 <version>2.3.2</version>
288 <configuration>
289 <source>1.7</source>
290 <target>1.7</target>
291 </configuration>
292 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500293
Instrumentala20accc2018-03-26 13:49:56 -0700294 <plugin>
295 <groupId>org.apache.maven.plugins</groupId>
296 <version>2.4</version>
297 <artifactId>maven-jar-plugin</artifactId>
298 <configuration>
299 <outputDirectory>target</outputDirectory>
300 <archive>
301 <manifestEntries>
302 <Sealed>true</Sealed>
303 </manifestEntries>
304 </archive>
305 </configuration>
306 </plugin>
307
308 <!-- Define the javadoc plugin -->
309 <plugin>
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-javadoc-plugin</artifactId>
312 <version>2.10</version>
313 <configuration>
314 <excludePackageNames>org.opendaylight.*</excludePackageNames>
315 </configuration>
316 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500317
Instrumentala20accc2018-03-26 13:49:56 -0700318 <plugin>
319 <artifactId>maven-release-plugin</artifactId>
320 <version>2.5.2</version>
321 <configuration>
322 <goals>-s ${mvn.settings} deploy</goals>
323 </configuration>
324 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500325
Instrumentala20accc2018-03-26 13:49:56 -0700326 <plugin>
327 <artifactId>maven-assembly-plugin</artifactId>
328 <version>2.5.5</version>
329 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500330
Instrumentala20accc2018-03-26 13:49:56 -0700331 <plugin>
332 <groupId>org.apache.maven.plugins</groupId>
333 <artifactId>maven-deploy-plugin</artifactId>
334 <version>2.8.1</version>
335 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500336 <skip>false</skip>
Instrumentala20accc2018-03-26 13:49:56 -0700337 </configuration>
IanHowell3901cf82018-04-03 11:24:27 -0500338
Instrumentala20accc2018-03-26 13:49:56 -0700339 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500340
Instrumentala20accc2018-03-26 13:49:56 -0700341 <plugin>
342 <groupId>org.apache.maven.plugins</groupId>
343 <artifactId>maven-dependency-plugin</artifactId>
344 <version>2.10</version>
345 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500346
Instrumentala20accc2018-03-26 13:49:56 -0700347 <!-- Maven surefire plugin for testing -->
348 <plugin>
349 <artifactId>maven-surefire-plugin</artifactId>
350 <version>2.17</version>
351 <configuration>
IanHowelle6123772018-04-03 15:26:47 -0500352 <skipTests>false</skipTests>
353 <includes>
354 <include>**/JU*.java</include>
355 </includes>
356 <excludes>
357 </excludes>
Instrumentala20accc2018-03-26 13:49:56 -0700358 </configuration>
359 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500360
361 <!--This plugin's configuration is used to store Eclipse m2e settings
Instrumentala20accc2018-03-26 13:49:56 -0700362 only. It has no influence on the Maven build itself. -->
363 <plugin>
364 <groupId>org.eclipse.m2e</groupId>
365 <artifactId>lifecycle-mapping</artifactId>
366 <version>1.0.0</version>
367 <configuration>
368 <lifecycleMappingMetadata>
369 <pluginExecutions>
370 <pluginExecution>
371 <pluginExecutionFilter>
372 <groupId>
373 org.codehaus.mojo
374 </groupId>
375 <artifactId>
376 jaxb2-maven-plugin
377 </artifactId>
378 <versionRange>
379 [1.3,)
380 </versionRange>
381 <goals>
382 <goal>xjc</goal>
383 </goals>
384 </pluginExecutionFilter>
385 <action>
386 <ignore />
387 </action>
388 </pluginExecution>
389 </pluginExecutions>
390 </lifecycleMappingMetadata>
391 </configuration>
392 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500393 <plugin>
394 <groupId>org.sonatype.plugins</groupId>
395 <artifactId>nexus-staging-maven-plugin</artifactId>
396 <version>1.6.7</version>
397 <extensions>true</extensions>
398 <configuration>
399 <nexusUrl>${nexusproxy}</nexusUrl>
400 <stagingProfileId>176c31dfe190a</stagingProfileId>
401 <serverId>ecomp-staging</serverId>
402 </configuration>
403 </plugin>
404 <plugin>
405 <groupId>org.jacoco</groupId>
406 <artifactId>jacoco-maven-plugin</artifactId>
407 <version>${jacoco.version}</version>
408 <configuration>
409 <excludes>
410 <exclude>**/gen/**</exclude>
411 <exclude>**/generated-sources/**</exclude>
412 <exclude>**/yang-gen/**</exclude>
413 <exclude>**/pax/**</exclude>
414 </excludes>
415 </configuration>
416 <executions>
417 <execution>
418 <id>pre-unit-test</id>
419 <goals>
420 <goal>prepare-agent</goal>
421 </goals>
422 <configuration>
423 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
424 <propertyName>surefireArgLine</propertyName>
425 </configuration>
426 </execution>
427 <execution>
428 <id>post-unit-test</id>
429 <phase>test</phase>
430 <goals>
431 <goal>report</goal>
432 </goals>
433 <configuration>
434 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
435 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
436 </configuration>
437 </execution>
438 <execution>
439 <id>pre-integration-test</id>
440 <phase>pre-integration-test</phase>
441 <goals>
442 <goal>prepare-agent</goal>
443 </goals>
444 <configuration>
445 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
446 <propertyName>failsafeArgLine</propertyName>
447 </configuration>
448 </execution>
449 <execution>
450 <id>post-integration-test</id>
451 <phase>post-integration-test</phase>
452 <goals>
453 <goal>report</goal>
454 </goals>
455 <configuration>
456 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
457 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
458 </configuration>
459 </execution>
460 </executions>
461 </plugin>
Instrumentala20accc2018-03-26 13:49:56 -0700462 </plugins>
IanHowell3901cf82018-04-03 11:24:27 -0500463 </pluginManagement>
Instrumentala20accc2018-03-26 13:49:56 -0700464 </build>
465
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000466 <distributionManagement>
467 <repository>
468 <id>ecomp-releases</id>
469 <name>AAF Release Repository</name>
470 <url>${nexusproxy}${releaseNexusPath}</url>
471 </repository>
472 <snapshotRepository>
473 <id>ecomp-snapshots</id>
474 <name>AAF Snapshot Repository</name>
475 <url>${nexusproxy}${snapshotNexusPath}</url>
476 </snapshotRepository>
477 <site>
478 <id>ecomp-site</id>
479 <url>dav:${nexusproxy}${sitePath}</url>
480 </site>
481 </distributionManagement>
IanHowell3901cf82018-04-03 11:24:27 -0500482
Instrumentala20accc2018-03-26 13:49:56 -0700483</project>