1 <?xml version="1.0" encoding="UTF-8"?>
3 * ============LICENSE_START====================================================
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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====================================================
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>
24 <groupId>org.onap.aaf.cadi</groupId>
25 <artifactId>cadimiscparent</artifactId>
26 <version>2.1.2-SNAPSHOT</version>
28 <packaging>pom</packaging>
31 <groupId>org.onap.oparent</groupId>
32 <artifactId>oparent</artifactId>
33 <version>1.2.0</version>
37 <!-- <sonar.skip>true</sonar.skip> -->
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39 <project.jettyVersion>9.3.9.v20160517</project.jettyVersion>
40 <powermock.version>1.5.1</powermock.version>
42 <jacoco.version>0.7.7.201606060606</jacoco.version>
43 <sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
44 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
45 <!-- Default Sonar configuration -->
46 <sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPaths>
47 <sonar.jacoco.itReportPaths>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPaths>
48 <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
49 <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
50 <nexusproxy>https://nexus.onap.org</nexusproxy>
51 <snapshotNexusPath>/content/repositories/snapshots/</snapshotNexusPath>
52 <releaseNexusPath>/content/repositories/releases/</releaseNexusPath>
53 <stagingNexusPath>/content/repositories/staging/</stagingNexusPath>
54 <sitePath>/content/sites/site/org/onap/aaf/cadi/${project.artifactId}/${project.version}</sitePath>
57 <!-- ============================================================== -->
58 <!-- Define the major contributors and developers of CADI -->
59 <!-- ============================================================== -->
62 <name>Jonathan Gathman</name>
63 <email>jonathan.gathman@att.com</email>
64 <organization>ATT</organization>
66 <role>Architect</role>
67 <role>Lead Developer</role>
71 <name>Gabe Maurer</name>
72 <email>gabe.maurer@att.com</email>
73 <organization>ATT</organization>
75 <role>Developer</role>
79 <name>Ian Howell</name>
80 <email>ian.howell@att.com</email>
81 <organization>ATT</organization>
83 <role>Developer</role>
87 <name>Sai Gandham</name>
88 <email>sai.gandham@att.com</email>
89 <organization>ATT</organization>
91 <role>Developer</role>
99 <groupId>org.mockito</groupId>
100 <artifactId>mockito-all</artifactId>
101 <version>1.9.5</version>
106 <groupId>org.powermock</groupId>
107 <artifactId>powermock-module-junit4</artifactId>
108 <version>${powermock.version}</version>
112 <groupId>org.powermock</groupId>
113 <artifactId>powermock-api-mockito</artifactId>
114 <version>${powermock.version}</version>
119 <groupId>junit</groupId>
120 <artifactId>junit</artifactId>
121 <version>4.10</version>
126 <!-- ============================================================== -->
127 <!-- Define sub-projects (modules) -->
128 <!-- ============================================================== -->
130 <module>shiro</module>
131 <module>shiro-osgi-bundle</module>
134 <!-- ============================================================== -->
135 <!-- Define project-wide dependencies -->
136 <!-- ============================================================== -->
137 <dependencyManagement>
140 <groupId>org.onap.aaf.authz</groupId>
141 <artifactId>aaf-auth-client</artifactId>
142 <version>${project.version}</version>
146 <groupId>org.onap.aaf.authz</groupId>
147 <artifactId>aaf-cadi-core</artifactId>
148 <version>${project.version}</version>
152 <groupId>org.onap.aaf.authz</groupId>
153 <artifactId>aaf-cadi-oauth</artifactId>
154 <version>${project.version}</version>
158 <!-- Prevent Cycles in Testing -->
160 <groupId>org.onap.aaf.authz</groupId>
161 <artifactId>aaf-cadi-core</artifactId>
162 <version>${project.version}</version>
163 <classifier>tests</classifier>
167 <groupId>org.onap.aaf.authz</groupId>
168 <artifactId>aaf-cadi-jetty</artifactId>
169 <version>${project.version}</version>
173 <groupId>org.onap.aaf.authz</groupId>
174 <artifactId>aaf-cadi-cass</artifactId>
175 <version>${project.version}</version>
179 <groupId>org.onap.aaf.authz</groupId>
180 <artifactId>aaf-cadi-aaf</artifactId>
181 <version>${project.version}</version>
185 <groupId>org.onap.aaf.authz</groupId>
186 <artifactId>aaf-cadi-aaf</artifactId>
187 <version>${project.version}</version>
188 <classifier>full</classifier>
192 <groupId>org.onap.aaf.authz</groupId>
193 <artifactId>aaf-cadi-client</artifactId>
194 <version>${project.version}</version>
198 <groupId>org.onap.aaf.authz</groupId>
199 <artifactId>aaf-misc-env</artifactId>
200 <version>${project.version}</version>
204 <groupId>org.onap.aaf.authz</groupId>
205 <artifactId>aaf-misc-rosetta</artifactId>
206 <version>${project.version}</version>
210 <groupId>org.onap.aaf.authz</groupId>
211 <artifactId>aaf-misc-log4j</artifactId>
212 <version>${project.version}</version>
216 <groupId>org.eclipse.jetty</groupId>
217 <artifactId>jetty-servlet</artifactId>
218 <version>${project.jettyVersion}</version>
222 <groupId>org.eclipse.jetty</groupId>
223 <artifactId>jetty-io</artifactId>
224 <version>${project.jettyVersion}</version>
228 <groupId>org.eclipse.jetty</groupId>
229 <artifactId>jetty-security</artifactId>
230 <version>${project.jettyVersion}</version>
234 <groupId>org.eclipse.jetty</groupId>
235 <artifactId>jetty-http</artifactId>
236 <version>${project.jettyVersion}</version>
240 <groupId>org.eclipse.jetty</groupId>
241 <artifactId>jetty-util</artifactId>
242 <version>${project.jettyVersion}</version>
246 <groupId>org.eclipse.jetty</groupId>
247 <artifactId>jetty-server</artifactId>
248 <version>${project.jettyVersion}</version>
252 <groupId>javax.servlet</groupId>
253 <artifactId>javax.servlet-api</artifactId>
254 <version>3.0.1</version>
258 <groupId>org.slf4j</groupId>
259 <artifactId>slf4j-api</artifactId>
260 <version>1.7.5</version>
263 </dependencyManagement>
265 <!-- ============================================================== -->
266 <!-- Define common plugins and make them available for all modules -->
267 <!-- ============================================================== -->
269 <testSourceDirectory>src/test/java</testSourceDirectory>
275 <inherited>true</inherited>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-compiler-plugin</artifactId>
278 <version>2.3.2</version>
286 <groupId>org.apache.maven.plugins</groupId>
287 <version>2.4</version>
288 <artifactId>maven-jar-plugin</artifactId>
290 <outputDirectory>target</outputDirectory>
293 <Sealed>true</Sealed>
299 <!-- Define the javadoc plugin -->
301 <groupId>org.apache.maven.plugins</groupId>
302 <artifactId>maven-javadoc-plugin</artifactId>
303 <version>2.10</version>
305 <excludePackageNames>org.opendaylight.*</excludePackageNames>
310 <artifactId>maven-release-plugin</artifactId>
311 <version>2.5.2</version>
313 <goals>-s ${mvn.settings} deploy</goals>
318 <artifactId>maven-assembly-plugin</artifactId>
319 <version>2.5.5</version>
323 <groupId>org.apache.maven.plugins</groupId>
324 <artifactId>maven-deploy-plugin</artifactId>
325 <version>2.8.1</version>
333 <groupId>org.apache.maven.plugins</groupId>
334 <artifactId>maven-dependency-plugin</artifactId>
335 <version>2.10</version>
338 <!-- Maven surefire plugin for testing -->
340 <artifactId>maven-surefire-plugin</artifactId>
341 <version>2.17</version>
343 <skipTests>false</skipTests>
345 <include>**/JU*.java</include>
352 <!--This plugin's configuration is used to store Eclipse m2e settings
353 only. It has no influence on the Maven build itself. -->
355 <groupId>org.eclipse.m2e</groupId>
356 <artifactId>lifecycle-mapping</artifactId>
357 <version>1.0.0</version>
359 <lifecycleMappingMetadata>
362 <pluginExecutionFilter>
375 </pluginExecutionFilter>
381 </lifecycleMappingMetadata>
385 <groupId>org.sonatype.plugins</groupId>
386 <artifactId>nexus-staging-maven-plugin</artifactId>
387 <version>1.6.7</version>
388 <extensions>true</extensions>
390 <nexusUrl>${nexusproxy}</nexusUrl>
391 <stagingProfileId>176c31dfe190a</stagingProfileId>
392 <serverId>ecomp-staging</serverId>
396 <groupId>org.jacoco</groupId>
397 <artifactId>jacoco-maven-plugin</artifactId>
398 <version>${jacoco.version}</version>
401 <exclude>**/gen/**</exclude>
402 <exclude>**/generated-sources/**</exclude>
403 <exclude>**/yang-gen/**</exclude>
404 <exclude>**/pax/**</exclude>
409 <id>pre-unit-test</id>
411 <goal>prepare-agent</goal>
414 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
415 <propertyName>surefireArgLine</propertyName>
419 <id>post-unit-test</id>
425 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
426 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
430 <id>pre-integration-test</id>
431 <phase>pre-integration-test</phase>
433 <goal>prepare-agent</goal>
436 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
437 <propertyName>failsafeArgLine</propertyName>
441 <id>post-integration-test</id>
442 <phase>post-integration-test</phase>
447 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
448 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
457 <distributionManagement>
459 <id>ecomp-releases</id>
460 <name>AAF Release Repository</name>
461 <url>${nexusproxy}${releaseNexusPath}</url>
464 <id>ecomp-snapshots</id>
465 <name>AAF Snapshot Repository</name>
466 <url>${nexusproxy}${snapshotNexusPath}</url>
467 </snapshotRepository>
470 <url>dav:${nexusproxy}${sitePath}</url>
472 </distributionManagement>