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>parent</artifactId>
25 <version>2.1.10-SNAPSHOT</version>
26 <name>CADI Plugins Parent</name>
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.8</cadi.version>
38 <!-- <sonar.skip>true</sonar.skip> -->
39 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40 <!-- project.jettyVersion>9.4.12.v20180830</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.12</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>
160 <!-- Prevent Cycles in Testing -->
162 <groupId>org.onap.aaf.authz</groupId>
163 <artifactId>aaf-cadi-core</artifactId>
164 <version>${cadi.version}</version>
165 <classifier>tests</classifier>
169 <groupId>org.onap.aaf.authz</groupId>
170 <artifactId>aaf-cadi-jetty</artifactId>
171 <version>${cadi.version}</version>
175 <groupId>org.onap.aaf.authz</groupId>
176 <artifactId>aaf-cadi-cass</artifactId>
177 <version>${cadi.version}</version>
181 <groupId>org.onap.aaf.authz</groupId>
182 <artifactId>aaf-cadi-aaf</artifactId>
183 <version>${cadi.version}</version>
187 <groupId>org.onap.aaf.authz</groupId>
188 <artifactId>aaf-cadi-aaf</artifactId>
189 <version>${cadi.version}</version>
190 <classifier>full</classifier>
194 <groupId>org.onap.aaf.authz</groupId>
195 <artifactId>aaf-cadi-client</artifactId>
196 <version>${cadi.version}</version>
200 <groupId>org.onap.aaf.authz</groupId>
201 <artifactId>aaf-misc-env</artifactId>
202 <version>${cadi.version}</version>
206 <groupId>org.onap.aaf.authz</groupId>
207 <artifactId>aaf-misc-rosetta</artifactId>
208 <version>${cadi.version}</version>
212 <groupId>org.onap.aaf.authz</groupId>
213 <artifactId>aaf-misc-log4j</artifactId>
214 <version>${cadi.version}</version>
220 <groupId>org.eclipse.jetty</groupId>
221 <artifactId>jetty-servlet</artifactId>
222 <version>${project.jettyVersion}</version>
226 <groupId>org.eclipse.jetty</groupId>
227 <artifactId>jetty-io</artifactId>
228 <version>${project.jettyVersion}</version>
232 <groupId>org.eclipse.jetty</groupId>
233 <artifactId>jetty-security</artifactId>
234 <version>${project.jettyVersion}</version>
238 <groupId>org.eclipse.jetty</groupId>
239 <artifactId>jetty-http</artifactId>
240 <version>${project.jettyVersion}</version>
244 <groupId>org.eclipse.jetty</groupId>
245 <artifactId>jetty-util</artifactId>
246 <version>${project.jettyVersion}</version>
250 <groupId>org.eclipse.jetty</groupId>
251 <artifactId>jetty-server</artifactId>
252 <version>${project.jettyVersion}</version>
256 <groupId>org.slf4j</groupId>
257 <artifactId>slf4j-api</artifactId>
258 <version>1.7.5</version>
261 </dependencyManagement>
263 <!-- ============================================================== -->
264 <!-- Define common plugins and make them available for all modules -->
265 <!-- ============================================================== -->
267 <testSourceDirectory>src/test/java</testSourceDirectory>
273 <inherited>true</inherited>
274 <groupId>org.apache.maven.plugins</groupId>
275 <artifactId>maven-compiler-plugin</artifactId>
276 <version>2.3.2</version>
278 <source>${maven.compiler.source}</source>
279 <target>${maven.compiler.target}</target>
284 <groupId>org.apache.maven.plugins</groupId>
285 <version>2.4</version>
286 <artifactId>maven-jar-plugin</artifactId>
288 <outputDirectory>target</outputDirectory>
291 <Sealed>true</Sealed>
297 <!-- Define the javadoc plugin -->
299 <groupId>org.apache.maven.plugins</groupId>
300 <artifactId>maven-javadoc-plugin</artifactId>
301 <version>2.10</version>
303 <excludePackageNames>org.opendaylight.*</excludePackageNames>
308 <artifactId>maven-release-plugin</artifactId>
309 <version>2.5.2</version>
311 <goals>-s ${mvn.settings} deploy</goals>
316 <artifactId>maven-assembly-plugin</artifactId>
317 <version>2.5.5</version>
321 <groupId>org.apache.maven.plugins</groupId>
322 <artifactId>maven-deploy-plugin</artifactId>
323 <version>2.8.1</version>
331 <groupId>org.apache.maven.plugins</groupId>
332 <artifactId>maven-dependency-plugin</artifactId>
333 <version>2.10</version>
336 <!-- Maven surefire plugin for testing -->
338 <artifactId>maven-surefire-plugin</artifactId>
339 <version>2.17</version>
341 <skipTests>false</skipTests>
343 <include>**/JU*.java</include>
350 <!--This plugin's configuration is used to store Eclipse m2e settings
351 only. It has no influence on the Maven build itself. -->
353 <groupId>org.eclipse.m2e</groupId>
354 <artifactId>lifecycle-mapping</artifactId>
355 <version>1.0.0</version>
357 <lifecycleMappingMetadata>
360 <pluginExecutionFilter>
373 </pluginExecutionFilter>
379 </lifecycleMappingMetadata>
383 <groupId>org.sonatype.plugins</groupId>
384 <artifactId>nexus-staging-maven-plugin</artifactId>
385 <version>1.6.7</version>
386 <extensions>true</extensions>
388 <nexusUrl>${nexusproxy}</nexusUrl>
389 <stagingProfileId>176c31dfe190a</stagingProfileId>
390 <serverId>ecomp-staging</serverId>
394 <groupId>org.jacoco</groupId>
395 <artifactId>jacoco-maven-plugin</artifactId>
396 <version>${jacoco.version}</version>
399 <exclude>**/gen/**</exclude>
400 <exclude>**/generated-sources/**</exclude>
401 <exclude>**/yang-gen/**</exclude>
402 <exclude>**/pax/**</exclude>
407 <id>pre-unit-test</id>
409 <goal>prepare-agent</goal>
412 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
413 <propertyName>surefireArgLine</propertyName>
417 <id>post-unit-test</id>
423 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
424 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
428 <id>pre-integration-test</id>
429 <phase>pre-integration-test</phase>
431 <goal>prepare-agent</goal>
434 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
435 <propertyName>failsafeArgLine</propertyName>
439 <id>post-integration-test</id>
440 <phase>post-integration-test</phase>
445 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
446 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
455 <distributionManagement>
457 <id>ecomp-releases</id>
458 <name>AAF Release Repository</name>
459 <url>${nexusproxy}${releaseNexusPath}</url>
462 <id>ecomp-snapshots</id>
463 <name>AAF Snapshot Repository</name>
464 <url>${nexusproxy}${snapshotNexusPath}</url>
465 </snapshotRepository>
468 <url>dav:${nexusproxy}${sitePath}</url>
470 </distributionManagement>