blob: 862743c1344b8f9391c2212ba381526539c96675 [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
IanHowell3901cf82018-04-03 11:24:27 -050034 <parent>
Sai Gandhamd97041c2018-04-03 01:57:59 -050035 <groupId>org.onap.oparent</groupId>
36 <artifactId>oparent</artifactId>
37 <version>1.1.0</version>
38 </parent>
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>
43 <project.miscVersion>1.3.0-SNAPSHOT</project.miscVersion>
44 <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>
60 <sitePath>/content/sites/site/org/onap/aaf/authz/${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>
139 <module>cass</module>
Instrumentala20accc2018-03-26 13:49:56 -0700140 <module>oauth-enduser</module>
141 <module>shiro</module>
142 </modules>
143
144 <!-- ============================================================== -->
145 <!-- Define project-wide dependencies -->
146 <!-- ============================================================== -->
147 <dependencyManagement>
148 <dependencies>
149 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500150 <groupId>org.onap.aaf.authz.auth</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700151 <artifactId>aaf-auth-client</artifactId>
152 <version>${project.authClientVersion}</version>
153 </dependency>
154
155 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500156 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700157 <artifactId>aaf-cadi-core</artifactId>
158 <version>${project.version}</version>
159 </dependency>
160
161 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500162 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700163 <artifactId>aaf-cadi-oauth</artifactId>
164 <version>${project.version}</version>
165 </dependency>
166
167
168 <!-- Prevent Cycles in Testing -->
169 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500170 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700171 <artifactId>aaf-cadi-core</artifactId>
172 <version>${project.version}</version>
173 <classifier>tests</classifier>
174 </dependency>
175
176 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500177 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700178 <artifactId>aaf-cadi-jetty</artifactId>
179 <version>${project.version}</version>
180 </dependency>
181
182 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500183 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700184 <artifactId>aaf-cadi-cass</artifactId>
185 <version>${project.version}</version>
186 </dependency>
187
188 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500189 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700190 <artifactId>aaf-cadi-aaf</artifactId>
191 <version>${project.version}</version>
192 </dependency>
193
194 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500195 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700196 <artifactId>aaf-cadi-aaf</artifactId>
197 <version>${project.version}</version>
198 <classifier>full</classifier>
199 </dependency>
200
201 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500202 <groupId>org.onap.aaf.authz.cadi</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700203 <artifactId>aaf-cadi-client</artifactId>
204 <version>${project.version}</version>
205 </dependency>
206
207 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500208 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700209 <artifactId>aaf-misc-env</artifactId>
210 <version>${project.miscVersion}</version>
211 </dependency>
212
213 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500214 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700215 <artifactId>aaf-misc-rosetta</artifactId>
216 <version>${project.miscVersion}</version>
217 </dependency>
218
219 <dependency>
Instrumental17ca7442018-03-29 16:54:19 -0500220 <groupId>org.onap.aaf.authz.misc</groupId>
Instrumentala20accc2018-03-26 13:49:56 -0700221 <artifactId>aaf-misc-log4j</artifactId>
222 <version>${project.miscVersion}</version>
223 </dependency>
224
225 <dependency>
226 <groupId>org.eclipse.jetty</groupId>
227 <artifactId>jetty-servlet</artifactId>
228 <version>${project.jettyVersion}</version>
229 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -0500230
Instrumentala20accc2018-03-26 13:49:56 -0700231 <dependency>
232 <groupId>org.eclipse.jetty</groupId>
233 <artifactId>jetty-io</artifactId>
234 <version>${project.jettyVersion}</version>
235 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -0500236
Instrumentala20accc2018-03-26 13:49:56 -0700237 <dependency>
238 <groupId>org.eclipse.jetty</groupId>
239 <artifactId>jetty-security</artifactId>
240 <version>${project.jettyVersion}</version>
241 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -0500242
Instrumentala20accc2018-03-26 13:49:56 -0700243 <dependency>
244 <groupId>org.eclipse.jetty</groupId>
245 <artifactId>jetty-http</artifactId>
246 <version>${project.jettyVersion}</version>
247 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -0500248
Instrumentala20accc2018-03-26 13:49:56 -0700249 <dependency>
250 <groupId>org.eclipse.jetty</groupId>
251 <artifactId>jetty-util</artifactId>
252 <version>${project.jettyVersion}</version>
253 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -0500254
Instrumentala20accc2018-03-26 13:49:56 -0700255 <dependency>
256 <groupId>org.eclipse.jetty</groupId>
257 <artifactId>jetty-server</artifactId>
258 <version>${project.jettyVersion}</version>
259 </dependency>
260
261 <dependency>
262 <groupId>javax.servlet</groupId>
Instrumental10027f32018-03-26 14:07:37 -0700263 <artifactId>servlet-api</artifactId>
264 <version>2.5</version>
Instrumentala20accc2018-03-26 13:49:56 -0700265 </dependency>
IanHowell3901cf82018-04-03 11:24:27 -0500266
Instrumentala20accc2018-03-26 13:49:56 -0700267 <dependency>
268 <groupId>org.slf4j</groupId>
269 <artifactId>slf4j-api</artifactId>
270 <version>1.7.5</version>
271 </dependency>
272 </dependencies>
273 </dependencyManagement>
274
275 <!-- ============================================================== -->
276 <!-- Define common plugins and make them available for all modules -->
277 <!-- ============================================================== -->
278 <build>
279 <testSourceDirectory>src/test/java</testSourceDirectory>
280 <plugins>
281 </plugins>
IanHowell3901cf82018-04-03 11:24:27 -0500282 <pluginManagement>
Instrumentala20accc2018-03-26 13:49:56 -0700283 <plugins>
284 <plugin>
285 <inherited>true</inherited>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-compiler-plugin</artifactId>
288 <version>2.3.2</version>
289 <configuration>
290 <source>1.7</source>
291 <target>1.7</target>
292 </configuration>
293 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500294
Instrumentala20accc2018-03-26 13:49:56 -0700295 <plugin>
296 <groupId>org.apache.maven.plugins</groupId>
297 <version>2.4</version>
298 <artifactId>maven-jar-plugin</artifactId>
299 <configuration>
300 <outputDirectory>target</outputDirectory>
301 <archive>
302 <manifestEntries>
303 <Sealed>true</Sealed>
304 </manifestEntries>
305 </archive>
306 </configuration>
307 </plugin>
308
309 <!-- Define the javadoc plugin -->
310 <plugin>
311 <groupId>org.apache.maven.plugins</groupId>
312 <artifactId>maven-javadoc-plugin</artifactId>
313 <version>2.10</version>
314 <configuration>
315 <excludePackageNames>org.opendaylight.*</excludePackageNames>
316 </configuration>
317 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500318
Instrumentala20accc2018-03-26 13:49:56 -0700319 <plugin>
320 <artifactId>maven-release-plugin</artifactId>
321 <version>2.5.2</version>
322 <configuration>
323 <goals>-s ${mvn.settings} deploy</goals>
324 </configuration>
325 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500326
Instrumentala20accc2018-03-26 13:49:56 -0700327 <plugin>
328 <artifactId>maven-assembly-plugin</artifactId>
329 <version>2.5.5</version>
330 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500331
Instrumentala20accc2018-03-26 13:49:56 -0700332 <plugin>
333 <groupId>org.apache.maven.plugins</groupId>
334 <artifactId>maven-deploy-plugin</artifactId>
335 <version>2.8.1</version>
336 <configuration>
Sai Gandhamd97041c2018-04-03 01:57:59 -0500337 <skip>false</skip>
Instrumentala20accc2018-03-26 13:49:56 -0700338 </configuration>
IanHowell3901cf82018-04-03 11:24:27 -0500339
Instrumentala20accc2018-03-26 13:49:56 -0700340 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500341
Instrumentala20accc2018-03-26 13:49:56 -0700342 <plugin>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-dependency-plugin</artifactId>
345 <version>2.10</version>
346 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500347
Instrumentala20accc2018-03-26 13:49:56 -0700348 <!-- Maven surefire plugin for testing -->
349 <plugin>
350 <artifactId>maven-surefire-plugin</artifactId>
351 <version>2.17</version>
352 <configuration>
Instrumentala20accc2018-03-26 13:49:56 -0700353 </configuration>
354 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500355
356 <!--This plugin's configuration is used to store Eclipse m2e settings
Instrumentala20accc2018-03-26 13:49:56 -0700357 only. It has no influence on the Maven build itself. -->
358 <plugin>
359 <groupId>org.eclipse.m2e</groupId>
360 <artifactId>lifecycle-mapping</artifactId>
361 <version>1.0.0</version>
362 <configuration>
363 <lifecycleMappingMetadata>
364 <pluginExecutions>
365 <pluginExecution>
366 <pluginExecutionFilter>
367 <groupId>
368 org.codehaus.mojo
369 </groupId>
370 <artifactId>
371 jaxb2-maven-plugin
372 </artifactId>
373 <versionRange>
374 [1.3,)
375 </versionRange>
376 <goals>
377 <goal>xjc</goal>
378 </goals>
379 </pluginExecutionFilter>
380 <action>
381 <ignore />
382 </action>
383 </pluginExecution>
384 </pluginExecutions>
385 </lifecycleMappingMetadata>
386 </configuration>
387 </plugin>
IanHowell3901cf82018-04-03 11:24:27 -0500388 <plugin>
389 <groupId>org.sonatype.plugins</groupId>
390 <artifactId>nexus-staging-maven-plugin</artifactId>
391 <version>1.6.7</version>
392 <extensions>true</extensions>
393 <configuration>
394 <nexusUrl>${nexusproxy}</nexusUrl>
395 <stagingProfileId>176c31dfe190a</stagingProfileId>
396 <serverId>ecomp-staging</serverId>
397 </configuration>
398 </plugin>
399 <plugin>
400 <groupId>org.jacoco</groupId>
401 <artifactId>jacoco-maven-plugin</artifactId>
402 <version>${jacoco.version}</version>
403 <configuration>
404 <excludes>
405 <exclude>**/gen/**</exclude>
406 <exclude>**/generated-sources/**</exclude>
407 <exclude>**/yang-gen/**</exclude>
408 <exclude>**/pax/**</exclude>
409 </excludes>
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}/code-coverage/jacoco-ut.exec</destFile>
419 <propertyName>surefireArgLine</propertyName>
420 </configuration>
421 </execution>
422 <execution>
423 <id>post-unit-test</id>
424 <phase>test</phase>
425 <goals>
426 <goal>report</goal>
427 </goals>
428 <configuration>
429 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
430 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
431 </configuration>
432 </execution>
433 <execution>
434 <id>pre-integration-test</id>
435 <phase>pre-integration-test</phase>
436 <goals>
437 <goal>prepare-agent</goal>
438 </goals>
439 <configuration>
440 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
441 <propertyName>failsafeArgLine</propertyName>
442 </configuration>
443 </execution>
444 <execution>
445 <id>post-integration-test</id>
446 <phase>post-integration-test</phase>
447 <goals>
448 <goal>report</goal>
449 </goals>
450 <configuration>
451 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
452 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
453 </configuration>
454 </execution>
455 </executions>
456 </plugin>
Instrumentala20accc2018-03-26 13:49:56 -0700457 </plugins>
IanHowell3901cf82018-04-03 11:24:27 -0500458 </pluginManagement>
Instrumentala20accc2018-03-26 13:49:56 -0700459 </build>
460
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000461 <distributionManagement>
462 <repository>
463 <id>ecomp-releases</id>
464 <name>AAF Release Repository</name>
465 <url>${nexusproxy}${releaseNexusPath}</url>
466 </repository>
467 <snapshotRepository>
468 <id>ecomp-snapshots</id>
469 <name>AAF Snapshot Repository</name>
470 <url>${nexusproxy}${snapshotNexusPath}</url>
471 </snapshotRepository>
472 <site>
473 <id>ecomp-site</id>
474 <url>dav:${nexusproxy}${sitePath}</url>
475 </site>
476 </distributionManagement>
IanHowell3901cf82018-04-03 11:24:27 -0500477
Instrumentala20accc2018-03-26 13:49:56 -0700478</project>