blob: 133ee67d79488cbff9bee22f7540b170ac565b44 [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>
24 <groupId>org.onap.aaf.cadi</groupId>
25 <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
34 <properties>
35 <skipSigning>true</skipSigning>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <project.miscVersion>1.3.0-SNAPSHOT</project.miscVersion>
38 <project.authClientVersion>2.10-SNAPSHOT</project.authClientVersion>
39 <project.jettyVersion>9.3.9.v20160517</project.jettyVersion>
40 <powermock.version>1.5.1</powermock.version>
Sai Gandhamc434f3c2018-03-27 16:29:24 +000041 <!-- SONAR -->
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.reportPath>target/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
47 <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
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/authz/${project.artifactId}/${project.version}</sitePath>
Instrumentala20accc2018-03-26 13:49:56 -070055 </properties>
56
57 <!-- ============================================================== -->
58 <!-- Define the major contributors and developers of CADI -->
59 <!-- ============================================================== -->
60 <developers>
61 <developer>
62 <name>Jonathan Gathman</name>
63 <email>jonathan.gathman@att.com</email>
64 <organization>ATT</organization>
65 <roles>
66 <role>Architect</role>
67 <role>Lead Developer</role>
68 </roles>
69 </developer>
70 <developer>
71 <name>Gabe Maurer</name>
72 <email>gabe.maurer@att.com</email>
73 <organization>ATT</organization>
74 <roles>
75 <role>Developer</role>
76 </roles>
77 </developer>
78 <developer>
79 <name>Ian Howell</name>
80 <email>ian.howell@att.com</email>
81 <organization>ATT</organization>
82 <roles>
83 <role>Developer</role>
84 </roles>
85 </developer>
Sai Gandhame01703c2018-03-26 22:57:09 +000086 <developer>
87 <name>Sai Gandham</name>
88 <email>sai.gandham@att.com</email>
89 <organization>ATT</organization>
90 <roles>
91 <role>Developer</role>
92 </roles>
93 </developer>
Instrumentala20accc2018-03-26 13:49:56 -070094 </developers>
95
96
97 <dependencies>
98 <dependency>
99 <groupId>org.mockito</groupId>
100 <artifactId>mockito-all</artifactId>
101 <version>1.9.5</version>
102 <scope>test</scope>
103 </dependency>
104
105 <dependency>
106 <groupId>org.powermock</groupId>
107 <artifactId>powermock-module-junit4</artifactId>
108 <version>${powermock.version}</version>
109 <scope>test</scope>
110 </dependency>
111 <dependency>
112 <groupId>org.powermock</groupId>
113 <artifactId>powermock-api-mockito</artifactId>
114 <version>${powermock.version}</version>
115 <scope>test</scope>
116 </dependency>
117
118 <dependency>
119 <groupId>junit</groupId>
120 <artifactId>junit</artifactId>
121 <version>4.10</version>
122 <scope>test</scope>
123 </dependency>
124 </dependencies>
125
126 <!-- ============================================================== -->
127 <!-- Define sub-projects (modules) -->
128 <!-- ============================================================== -->
129 <modules>
130 <module>core</module>
131 <module>client</module>
132 <module>aaf</module>
133 <module>cass</module>
134
135 <module>oauth-enduser</module>
136 <module>shiro</module>
137 </modules>
138
139 <!-- ============================================================== -->
140 <!-- Define project-wide dependencies -->
141 <!-- ============================================================== -->
142 <dependencyManagement>
143 <dependencies>
144 <dependency>
145 <groupId>org.onap.aaf.auth</groupId>
146 <artifactId>aaf-auth-client</artifactId>
147 <version>${project.authClientVersion}</version>
148 </dependency>
149
150 <dependency>
151 <groupId>org.onap.aaf.cadi</groupId>
152 <artifactId>aaf-cadi-core</artifactId>
153 <version>${project.version}</version>
154 </dependency>
155
156 <dependency>
157 <groupId>org.onap.aaf.cadi</groupId>
158 <artifactId>aaf-cadi-oauth</artifactId>
159 <version>${project.version}</version>
160 </dependency>
161
162
163 <!-- Prevent Cycles in Testing -->
164 <dependency>
165 <groupId>org.onap.aaf.cadi</groupId>
166 <artifactId>aaf-cadi-core</artifactId>
167 <version>${project.version}</version>
168 <classifier>tests</classifier>
169 </dependency>
170
171 <dependency>
172 <groupId>org.onap.aaf.cadi</groupId>
173 <artifactId>aaf-cadi-jetty</artifactId>
174 <version>${project.version}</version>
175 </dependency>
176
177 <dependency>
178 <groupId>org.onap.aaf.cadi</groupId>
179 <artifactId>aaf-cadi-cass</artifactId>
180 <version>${project.version}</version>
181 </dependency>
182
183 <dependency>
184 <groupId>org.onap.aaf.cadi</groupId>
185 <artifactId>aaf-cadi-aaf</artifactId>
186 <version>${project.version}</version>
187 </dependency>
188
189 <dependency>
190 <groupId>org.onap.aaf.cadi</groupId>
191 <artifactId>aaf-cadi-aaf</artifactId>
192 <version>${project.version}</version>
193 <classifier>full</classifier>
194 </dependency>
195
196 <dependency>
197 <groupId>org.onap.aaf.cadi</groupId>
198 <artifactId>aaf-cadi-client</artifactId>
199 <version>${project.version}</version>
200 </dependency>
201
202 <dependency>
203 <groupId>org.onap.aaf.misc</groupId>
204 <artifactId>aaf-misc-env</artifactId>
205 <version>${project.miscVersion}</version>
206 </dependency>
207
208 <dependency>
209 <groupId>org.onap.aaf.misc</groupId>
210 <artifactId>aaf-misc-rosetta</artifactId>
211 <version>${project.miscVersion}</version>
212 </dependency>
213
214 <dependency>
215 <groupId>org.onap.aaf.misc</groupId>
216 <artifactId>aaf-misc-log4j</artifactId>
217 <version>${project.miscVersion}</version>
218 </dependency>
219
220 <dependency>
221 <groupId>org.eclipse.jetty</groupId>
222 <artifactId>jetty-servlet</artifactId>
223 <version>${project.jettyVersion}</version>
224 </dependency>
225
226 <dependency>
227 <groupId>org.eclipse.jetty</groupId>
228 <artifactId>jetty-io</artifactId>
229 <version>${project.jettyVersion}</version>
230 </dependency>
231
232 <dependency>
233 <groupId>org.eclipse.jetty</groupId>
234 <artifactId>jetty-security</artifactId>
235 <version>${project.jettyVersion}</version>
236 </dependency>
237
238 <dependency>
239 <groupId>org.eclipse.jetty</groupId>
240 <artifactId>jetty-http</artifactId>
241 <version>${project.jettyVersion}</version>
242 </dependency>
243
244 <dependency>
245 <groupId>org.eclipse.jetty</groupId>
246 <artifactId>jetty-util</artifactId>
247 <version>${project.jettyVersion}</version>
248 </dependency>
249
250 <dependency>
251 <groupId>org.eclipse.jetty</groupId>
252 <artifactId>jetty-server</artifactId>
253 <version>${project.jettyVersion}</version>
254 </dependency>
255
256 <dependency>
257 <groupId>javax.servlet</groupId>
Instrumental10027f32018-03-26 14:07:37 -0700258 <artifactId>servlet-api</artifactId>
259 <version>2.5</version>
Instrumentala20accc2018-03-26 13:49:56 -0700260 </dependency>
261
262 <dependency>
263 <groupId>org.slf4j</groupId>
264 <artifactId>slf4j-api</artifactId>
265 <version>1.7.5</version>
266 </dependency>
267 </dependencies>
268 </dependencyManagement>
269
270 <!-- ============================================================== -->
271 <!-- Define common plugins and make them available for all modules -->
272 <!-- ============================================================== -->
273 <build>
274 <testSourceDirectory>src/test/java</testSourceDirectory>
275 <plugins>
276 </plugins>
277 <pluginManagement>
278 <plugins>
279 <plugin>
280 <inherited>true</inherited>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-compiler-plugin</artifactId>
283 <version>2.3.2</version>
284 <configuration>
285 <source>1.7</source>
286 <target>1.7</target>
287 </configuration>
288 </plugin>
289
290 <plugin>
291 <groupId>org.apache.maven.plugins</groupId>
292 <version>2.4</version>
293 <artifactId>maven-jar-plugin</artifactId>
294 <configuration>
295 <outputDirectory>target</outputDirectory>
296 <archive>
297 <manifestEntries>
298 <Sealed>true</Sealed>
299 </manifestEntries>
300 </archive>
301 </configuration>
302 </plugin>
303
304 <!-- Define the javadoc plugin -->
305 <plugin>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-javadoc-plugin</artifactId>
308 <version>2.10</version>
309 <configuration>
310 <excludePackageNames>org.opendaylight.*</excludePackageNames>
311 </configuration>
312 </plugin>
313
314 <plugin>
315 <artifactId>maven-release-plugin</artifactId>
316 <version>2.5.2</version>
317 <configuration>
318 <goals>-s ${mvn.settings} deploy</goals>
319 </configuration>
320 </plugin>
321
322 <plugin>
323 <artifactId>maven-assembly-plugin</artifactId>
324 <version>2.5.5</version>
325 </plugin>
326
327 <plugin>
328 <groupId>org.apache.maven.plugins</groupId>
329 <artifactId>maven-deploy-plugin</artifactId>
330 <version>2.8.1</version>
331 <configuration>
332 <skip>false</skip>
333 </configuration>
334
335 </plugin>
336
337 <plugin>
338 <groupId>org.apache.maven.plugins</groupId>
339 <artifactId>maven-dependency-plugin</artifactId>
340 <version>2.10</version>
341 </plugin>
342
343 <!-- Maven surefire plugin for testing -->
344 <plugin>
345 <artifactId>maven-surefire-plugin</artifactId>
346 <version>2.17</version>
347 <configuration>
348 <skipTests>true</skipTests>
349 </configuration>
350 </plugin>
351
352 <!--This plugin's configuration is used to store Eclipse m2e settings
353 only. It has no influence on the Maven build itself. -->
354 <plugin>
355 <groupId>org.eclipse.m2e</groupId>
356 <artifactId>lifecycle-mapping</artifactId>
357 <version>1.0.0</version>
358 <configuration>
359 <lifecycleMappingMetadata>
360 <pluginExecutions>
361 <pluginExecution>
362 <pluginExecutionFilter>
363 <groupId>
364 org.codehaus.mojo
365 </groupId>
366 <artifactId>
367 jaxb2-maven-plugin
368 </artifactId>
369 <versionRange>
370 [1.3,)
371 </versionRange>
372 <goals>
373 <goal>xjc</goal>
374 </goals>
375 </pluginExecutionFilter>
376 <action>
377 <ignore />
378 </action>
379 </pluginExecution>
380 </pluginExecutions>
381 </lifecycleMappingMetadata>
382 </configuration>
383 </plugin>
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000384 <plugin>
385 <groupId>org.sonatype.plugins</groupId>
386 <artifactId>nexus-staging-maven-plugin</artifactId>
387 <version>1.6.7</version>
388 <extensions>true</extensions>
389 <configuration>
390 <nexusUrl>${nexusproxy}</nexusUrl>
391 <stagingProfileId>176c31dfe190a</stagingProfileId>
392 <serverId>ecomp-staging</serverId>
393 </configuration>
394 </plugin>
395 <plugin>
396 <groupId>org.jacoco</groupId>
397 <artifactId>jacoco-maven-plugin</artifactId>
398 <version>0.7.7.201606060606</version>
399 <configuration>
400 <dumpOnExit>true</dumpOnExit>
401 <includes>
402 <include>org.onap.aaf.*</include>
403 </includes>
404 </configuration>
405 <executions>
406 <execution>
407 <id>pre-unit-test</id>
408 <goals>
409 <goal>prepare-agent</goal>
410 </goals>
411 <configuration>
412 <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
413 <!-- <append>true</append> -->
414 </configuration>
415 </execution>
416 <execution>
417 <id>pre-integration-test</id>
418 <phase>pre-integration-test</phase>
419 <goals>
420 <goal>prepare-agent</goal>
421 </goals>
422 <configuration>
423 <destFile>${project.build.directory}/coverage-reports/jacoco-it.exec</destFile>
424 <!-- <append>true</append> -->
425 </configuration>
426 </execution>
427 <execution>
428 <goals>
429 <goal>merge</goal>
430 </goals>
431 <phase>post-integration-test</phase>
432 <configuration>
433 <fileSets>
434 <fileSet implementation="org.apache.maven.shared.model.fileset.FileSet">
435 <directory>${project.build.directory}/coverage-reports</directory>
436 <includes>
437 <include>*.exec</include>
438 </includes>
439 </fileSet>
440 </fileSets>
441 <destFile>${project.build.directory}/jacoco-dev.exec</destFile>
442 </configuration>
443 </execution>
444 </executions>
445 </plugin>
Instrumentala20accc2018-03-26 13:49:56 -0700446 </plugins>
447 </pluginManagement>
448 </build>
449
450
Sai Gandhamc434f3c2018-03-27 16:29:24 +0000451 <distributionManagement>
452 <repository>
453 <id>ecomp-releases</id>
454 <name>AAF Release Repository</name>
455 <url>${nexusproxy}${releaseNexusPath}</url>
456 </repository>
457 <snapshotRepository>
458 <id>ecomp-snapshots</id>
459 <name>AAF Snapshot Repository</name>
460 <url>${nexusproxy}${snapshotNexusPath}</url>
461 </snapshotRepository>
462 <site>
463 <id>ecomp-site</id>
464 <url>dav:${nexusproxy}${sitePath}</url>
465 </site>
466 </distributionManagement>
Sai Gandhame01703c2018-03-26 22:57:09 +0000467
Instrumentala20accc2018-03-26 13:49:56 -0700468</project>