1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--* ============LICENSE_START====================================================
3 * ===========================================================================
5 * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
6 * ===========================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END====================================================
20 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22 <modelVersion>4.0.0</modelVersion>
23 <groupId>org.onap.aaf.cadi</groupId>
24 <artifactId>cadimiscparent</artifactId>
25 <version>2.1.2-SNAPSHOT</version>
27 <packaging>pom</packaging>
30 <groupId>org.onap.oparent</groupId>
31 <artifactId>oparent</artifactId>
32 <version>1.2.1</version>
36 <!-- This version needs to be RELEASED version. Fails on SNAPSHOT -->
37 <cadi.version>2.1.2</cadi.version>
38 <!-- <sonar.skip>true</sonar.skip> -->
39 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40 <project.jettyVersion>9.3.9.v20160517</project.jettyVersion>
41 <powermock.version>1.5.1</powermock.version>
43 <jacoco.version>0.7.7.201606060606</jacoco.version>
44 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
45 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
46 <!-- Default Sonar configuration -->
47 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
48 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
49 <!-- Note: This list should match jacoco-maven-plugin's exclusion list
51 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
52 <nexusproxy>https://nexus.onap.org</nexusproxy>
53 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
54 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
55 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
56 <sitePath>/content/sites/site/org/onap/aaf/cadi/${project.artifactId}/${project.version}</sitePath>
59 <!-- ============================================================== -->
60 <!-- Define the major contributors and developers of CADI -->
61 <!-- ============================================================== -->
64 <name>Jonathan Gathman</name>
65 <email>jonathan.gathman@att.com</email>
66 <organization>ATT</organization>
68 <role>Architect</role>
69 <role>Lead Developer</role>
73 <name>Gabe Maurer</name>
74 <email>gabe.maurer@att.com</email>
75 <organization>ATT</organization>
77 <role>Developer</role>
81 <name>Ian Howell</name>
82 <email>ian.howell@att.com</email>
83 <organization>ATT</organization>
85 <role>Developer</role>
89 <name>Sai Gandham</name>
90 <email>sai.gandham@att.com</email>
91 <organization>ATT</organization>
93 <role>Developer</role>
101 <groupId>org.mockito</groupId>
102 <artifactId>mockito-all</artifactId>
103 <version>1.9.5</version>
108 <groupId>org.powermock</groupId>
109 <artifactId>powermock-module-junit4</artifactId>
110 <version>${powermock.version}</version>
114 <groupId>org.powermock</groupId>
115 <artifactId>powermock-api-mockito</artifactId>
116 <version>${powermock.version}</version>
121 <groupId>junit</groupId>
122 <artifactId>junit</artifactId>
123 <version>4.10</version>
128 <!-- ============================================================== -->
129 <!-- Define sub-projects (modules) -->
130 <!-- ============================================================== -->
132 <module>shiro</module>
133 <module>shiro-osgi-bundle</module>
134 <module>sidecar</module>
137 <!-- ============================================================== -->
138 <!-- Define project-wide dependencies -->
139 <!-- ============================================================== -->
140 <dependencyManagement>
143 <groupId>org.onap.aaf.authz</groupId>
144 <artifactId>aaf-auth-client</artifactId>
145 <version>${cadi.version}</version>
149 <groupId>org.onap.aaf.authz</groupId>
150 <artifactId>aaf-cadi-core</artifactId>
151 <version>${cadi.version}</version>
155 <groupId>org.onap.aaf.authz</groupId>
156 <artifactId>aaf-cadi-oauth</artifactId>
157 <version>${cadi.version}</version>
161 <!-- Prevent Cycles in Testing -->
163 <groupId>org.onap.aaf.authz</groupId>
164 <artifactId>aaf-cadi-core</artifactId>
165 <version>${cadi.version}</version>
166 <classifier>tests</classifier>
170 <groupId>org.onap.aaf.authz</groupId>
171 <artifactId>aaf-cadi-jetty</artifactId>
172 <version>${cadi.version}</version>
176 <groupId>org.onap.aaf.authz</groupId>
177 <artifactId>aaf-cadi-cass</artifactId>
178 <version>${cadi.version}</version>
182 <groupId>org.onap.aaf.authz</groupId>
183 <artifactId>aaf-cadi-aaf</artifactId>
184 <version>${cadi.version}</version>
188 <groupId>org.onap.aaf.authz</groupId>
189 <artifactId>aaf-cadi-aaf</artifactId>
190 <version>${cadi.version}</version>
191 <classifier>full</classifier>
195 <groupId>org.onap.aaf.authz</groupId>
196 <artifactId>aaf-cadi-client</artifactId>
197 <version>${cadi.version}</version>
201 <groupId>org.onap.aaf.authz</groupId>
202 <artifactId>aaf-misc-env</artifactId>
203 <version>${cadi.version}</version>
207 <groupId>org.onap.aaf.authz</groupId>
208 <artifactId>aaf-misc-rosetta</artifactId>
209 <version>${cadi.version}</version>
213 <groupId>org.onap.aaf.authz</groupId>
214 <artifactId>aaf-misc-log4j</artifactId>
215 <version>${cadi.version}</version>
219 <groupId>org.eclipse.jetty</groupId>
220 <artifactId>jetty-servlet</artifactId>
221 <version>${project.jettyVersion}</version>
225 <groupId>org.eclipse.jetty</groupId>
226 <artifactId>jetty-io</artifactId>
227 <version>${project.jettyVersion}</version>
231 <groupId>org.eclipse.jetty</groupId>
232 <artifactId>jetty-security</artifactId>
233 <version>${project.jettyVersion}</version>
237 <groupId>org.eclipse.jetty</groupId>
238 <artifactId>jetty-http</artifactId>
239 <version>${project.jettyVersion}</version>
243 <groupId>org.eclipse.jetty</groupId>
244 <artifactId>jetty-util</artifactId>
245 <version>${project.jettyVersion}</version>
249 <groupId>org.eclipse.jetty</groupId>
250 <artifactId>jetty-server</artifactId>
251 <version>${project.jettyVersion}</version>
255 <groupId>javax.servlet</groupId>
256 <artifactId>javax.servlet-api</artifactId>
257 <version>3.0.1</version>
261 <groupId>org.slf4j</groupId>
262 <artifactId>slf4j-api</artifactId>
263 <version>1.7.5</version>
266 </dependencyManagement>
268 <!-- ============================================================== -->
269 <!-- Define common plugins and make them available for all modules -->
270 <!-- ============================================================== -->
272 <testSourceDirectory>src/test/java</testSourceDirectory>
278 <inherited>true</inherited>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-compiler-plugin</artifactId>
281 <version>2.3.2</version>
289 <groupId>org.apache.maven.plugins</groupId>
290 <version>2.4</version>
291 <artifactId>maven-jar-plugin</artifactId>
293 <outputDirectory>target</outputDirectory>
296 <Sealed>true</Sealed>
302 <!-- Define the javadoc plugin -->
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-javadoc-plugin</artifactId>
306 <version>2.10</version>
308 <excludePackageNames>org.opendaylight.*</excludePackageNames>
313 <artifactId>maven-release-plugin</artifactId>
314 <version>2.5.2</version>
316 <goals>-s ${mvn.settings} deploy</goals>
321 <artifactId>maven-assembly-plugin</artifactId>
322 <version>2.5.5</version>
326 <groupId>org.apache.maven.plugins</groupId>
327 <artifactId>maven-deploy-plugin</artifactId>
328 <version>2.8.1</version>
336 <groupId>org.apache.maven.plugins</groupId>
337 <artifactId>maven-dependency-plugin</artifactId>
338 <version>2.10</version>
341 <!-- Maven surefire plugin for testing -->
343 <artifactId>maven-surefire-plugin</artifactId>
344 <version>2.17</version>
346 <skipTests>false</skipTests>
348 <include>**/JU*.java</include>
355 <!--This plugin's configuration is used to store Eclipse m2e settings
356 only. It has no influence on the Maven build itself. -->
358 <groupId>org.eclipse.m2e</groupId>
359 <artifactId>lifecycle-mapping</artifactId>
360 <version>1.0.0</version>
362 <lifecycleMappingMetadata>
365 <pluginExecutionFilter>
378 </pluginExecutionFilter>
384 </lifecycleMappingMetadata>
388 <groupId>org.sonatype.plugins</groupId>
389 <artifactId>nexus-staging-maven-plugin</artifactId>
390 <version>1.6.7</version>
391 <extensions>true</extensions>
393 <nexusUrl>${nexusproxy}</nexusUrl>
394 <stagingProfileId>176c31dfe190a</stagingProfileId>
395 <serverId>ecomp-staging</serverId>
399 <groupId>org.jacoco</groupId>
400 <artifactId>jacoco-maven-plugin</artifactId>
401 <version>${jacoco.version}</version>
404 <exclude>**/gen/**</exclude>
405 <exclude>**/generated-sources/**</exclude>
406 <exclude>**/yang-gen/**</exclude>
407 <exclude>**/pax/**</exclude>
412 <id>pre-unit-test</id>
414 <goal>prepare-agent</goal>
417 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
418 <propertyName>surefireArgLine</propertyName>
422 <id>post-unit-test</id>
428 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
429 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
433 <id>pre-integration-test</id>
434 <phase>pre-integration-test</phase>
436 <goal>prepare-agent</goal>
439 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
440 <propertyName>failsafeArgLine</propertyName>
444 <id>post-integration-test</id>
445 <phase>post-integration-test</phase>
450 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
451 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
460 <distributionManagement>
462 <id>ecomp-releases</id>
463 <name>AAF Release Repository</name>
464 <url>${nexusproxy}${releaseNexusPath}</url>
467 <id>ecomp-snapshots</id>
468 <name>AAF Snapshot Repository</name>
469 <url>${nexusproxy}${snapshotNexusPath}</url>
470 </snapshotRepository>
473 <url>dav:${nexusproxy}${sitePath}</url>
475 </distributionManagement>