Pull in all pom changes, merge, and review
[aaf/authz.git] / cadi / pom.xml
1 <?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.authz.cadi</groupId>
25         <artifactId>parent</artifactId>
26         <name>AAF CADI Parent (Code, Access, Data, Identity)</name>
27         <version>2.1.0-SNAPSHOT</version>
28         <inceptionYear>2015-07-20</inceptionYear>
29         <organization>
30                 <name>ONAP</name>
31         </organization>
32         <packaging>pom</packaging>
33
34    <parent>
35         <groupId>org.onap.oparent</groupId>
36         <artifactId>oparent</artifactId>
37         <version>1.1.0</version>
38     </parent>
39
40         <properties>
41                 <skipSigning>true</skipSigning>
42                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43                 <project.miscVersion>2.1.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>
47                 <!--  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 -->
52             <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>
54             <!-- 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>
61         </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>
92                 <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>
100         </developers>
101
102
103         <dependencies>
104                 <dependency>
105                         <groupId>org.mockito</groupId>
106                         <artifactId>mockito-all</artifactId>
107                         <version>1.9.5</version>
108                         <scope>test</scope>
109                 </dependency>
110
111                 <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>
140                 <module>oauth-enduser</module>
141                 <module>shiro</module>
142         </modules>
143
144         <!-- ============================================================== -->
145         <!-- Define project-wide dependencies -->
146         <!-- ============================================================== -->
147         <dependencyManagement>
148                 <dependencies>
149                         <dependency>
150                                 <groupId>org.onap.aaf.authz.auth</groupId>
151                                 <artifactId>aaf-auth-client</artifactId>
152                                 <version>${project.authClientVersion}</version>
153                         </dependency>
154
155                         <dependency>
156                                 <groupId>org.onap.aaf.authz.cadi</groupId>
157                                 <artifactId>aaf-cadi-core</artifactId>
158                                 <version>${project.version}</version>
159                         </dependency>
160
161                         <dependency>
162                                 <groupId>org.onap.aaf.authz.cadi</groupId>
163                                 <artifactId>aaf-cadi-oauth</artifactId>
164                                 <version>${project.version}</version>
165                         </dependency>
166
167
168                         <!-- Prevent Cycles in Testing  -->
169                         <dependency>
170                                 <groupId>org.onap.aaf.authz.cadi</groupId>
171                                 <artifactId>aaf-cadi-core</artifactId>
172                                 <version>${project.version}</version>
173                                 <classifier>tests</classifier>
174                         </dependency>
175
176                         <dependency>
177                                 <groupId>org.onap.aaf.authz.cadi</groupId>
178                                 <artifactId>aaf-cadi-jetty</artifactId>
179                                 <version>${project.version}</version>
180                         </dependency>
181
182                         <dependency>
183                                 <groupId>org.onap.aaf.authz.cadi</groupId>
184                                 <artifactId>aaf-cadi-cass</artifactId>
185                                 <version>${project.version}</version>
186                         </dependency>
187
188                         <dependency>
189                                 <groupId>org.onap.aaf.authz.cadi</groupId>
190                                 <artifactId>aaf-cadi-aaf</artifactId>
191                                 <version>${project.version}</version>
192                         </dependency>
193
194                         <dependency>
195                                 <groupId>org.onap.aaf.authz.cadi</groupId>
196                                 <artifactId>aaf-cadi-aaf</artifactId>
197                                 <version>${project.version}</version>
198                                 <classifier>full</classifier>
199                         </dependency>
200
201                         <dependency>
202                                 <groupId>org.onap.aaf.authz.cadi</groupId>
203                                 <artifactId>aaf-cadi-client</artifactId>
204                                 <version>${project.version}</version>
205                         </dependency>
206
207                         <dependency>
208                                 <groupId>org.onap.aaf.authz.misc</groupId>
209                                 <artifactId>aaf-misc-env</artifactId>
210                                 <version>${project.miscVersion}</version>
211                         </dependency>
212
213                         <dependency>
214                                 <groupId>org.onap.aaf.authz.misc</groupId>
215                                 <artifactId>aaf-misc-rosetta</artifactId>
216                                 <version>${project.miscVersion}</version>
217                         </dependency>
218
219                         <dependency>
220                                 <groupId>org.onap.aaf.authz.misc</groupId>
221                                 <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>
230
231                         <dependency>
232                                 <groupId>org.eclipse.jetty</groupId>
233                                 <artifactId>jetty-io</artifactId>
234                                 <version>${project.jettyVersion}</version>
235                         </dependency>
236
237                         <dependency>
238                                 <groupId>org.eclipse.jetty</groupId>
239                                 <artifactId>jetty-security</artifactId>
240                                 <version>${project.jettyVersion}</version>
241                         </dependency>
242
243                         <dependency>
244                                 <groupId>org.eclipse.jetty</groupId>
245                                 <artifactId>jetty-http</artifactId>
246                                 <version>${project.jettyVersion}</version>
247                         </dependency>
248
249                         <dependency>
250                                 <groupId>org.eclipse.jetty</groupId>
251                                 <artifactId>jetty-util</artifactId>
252                                 <version>${project.jettyVersion}</version>
253                         </dependency>
254
255                         <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>
263                             <artifactId>servlet-api</artifactId>
264                                 <version>2.5</version>
265                         </dependency>
266
267                         <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>
282                 <pluginManagement>
283                         <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>
294
295                                 <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>
318
319                                 <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>
326
327                                 <plugin>
328                                         <artifactId>maven-assembly-plugin</artifactId>
329                                         <version>2.5.5</version>
330                                 </plugin>
331
332                                 <plugin>
333                                         <groupId>org.apache.maven.plugins</groupId>
334                                         <artifactId>maven-deploy-plugin</artifactId>
335                                         <version>2.8.1</version>
336                                         <configuration>
337                                                 <skip>false</skip>
338                                         </configuration>
339
340                                 </plugin>
341
342                                 <plugin>
343                                         <groupId>org.apache.maven.plugins</groupId>
344                                         <artifactId>maven-dependency-plugin</artifactId>
345                                         <version>2.10</version>
346                                 </plugin>
347
348                                 <!-- Maven surefire plugin for testing -->
349                                 <plugin>
350                                         <artifactId>maven-surefire-plugin</artifactId>
351                                         <version>2.17</version>
352                                         <configuration>
353                                                 <skipTests>false</skipTests>
354                                                 <includes>
355                                                         <include>**/JU*.java</include>
356                                                 </includes>
357                                                 <excludes>
358                                                 </excludes>
359                                         </configuration>
360                                 </plugin>
361
362                                 <!--This plugin's configuration is used to store Eclipse m2e settings
363                                         only. It has no influence on the Maven build itself. -->
364                                 <plugin>
365                                         <groupId>org.eclipse.m2e</groupId>
366                                         <artifactId>lifecycle-mapping</artifactId>
367                                         <version>1.0.0</version>
368                                         <configuration>
369                                                 <lifecycleMappingMetadata>
370                                                         <pluginExecutions>
371                                                                 <pluginExecution>
372                                                                         <pluginExecutionFilter>
373                                                                                 <groupId>
374                                                                                         org.codehaus.mojo
375                                                                                 </groupId>
376                                                                                 <artifactId>
377                                                                                         jaxb2-maven-plugin
378                                                                                 </artifactId>
379                                                                                 <versionRange>
380                                                                                         [1.3,)
381                                                                                 </versionRange>
382                                                                                 <goals>
383                                                                                         <goal>xjc</goal>
384                                                                                 </goals>
385                                                                         </pluginExecutionFilter>
386                                                                         <action>
387                                                                                 <ignore />
388                                                                         </action>
389                                                                 </pluginExecution>
390                                                         </pluginExecutions>
391                                                 </lifecycleMappingMetadata>
392                                         </configuration>
393                                 </plugin>
394                                 <plugin>
395                                         <groupId>org.sonatype.plugins</groupId>
396                                         <artifactId>nexus-staging-maven-plugin</artifactId>
397                                         <version>1.6.7</version>
398                                         <extensions>true</extensions>
399                                         <configuration>
400                                                 <nexusUrl>${nexusproxy}</nexusUrl>
401                                                 <stagingProfileId>176c31dfe190a</stagingProfileId>
402                                                 <serverId>ecomp-staging</serverId>
403                                         </configuration>
404                                 </plugin>
405                                 <plugin>
406                                         <groupId>org.jacoco</groupId>
407                                         <artifactId>jacoco-maven-plugin</artifactId>
408                                         <version>${jacoco.version}</version>
409                                         <configuration>
410                                                 <excludes>
411                                                         <exclude>**/gen/**</exclude>
412                                                         <exclude>**/generated-sources/**</exclude>
413                                                         <exclude>**/yang-gen/**</exclude>
414                                                         <exclude>**/pax/**</exclude>
415                                                 </excludes>
416                                         </configuration>
417                                         <executions>
418                                                 <execution>
419                                                         <id>pre-unit-test</id>
420                                                         <goals>
421                                                                 <goal>prepare-agent</goal>
422                                                         </goals>
423                                                         <configuration>
424                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
425                                                                 <propertyName>surefireArgLine</propertyName>
426                                                         </configuration>
427                                                 </execution>
428                                                 <execution>
429                                                         <id>post-unit-test</id>
430                                                         <phase>test</phase>
431                                                         <goals>
432                                                                 <goal>report</goal>
433                                                         </goals>
434                                                         <configuration>
435                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
436                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
437                                                         </configuration>
438                                                 </execution>
439                                                 <execution>
440                                                         <id>pre-integration-test</id>
441                                                         <phase>pre-integration-test</phase>
442                                                         <goals>
443                                                                 <goal>prepare-agent</goal>
444                                                         </goals>
445                                                         <configuration>
446                                                                 <destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
447                                                                 <propertyName>failsafeArgLine</propertyName>
448                                                         </configuration>
449                                                 </execution>
450                                                 <execution>
451                                                         <id>post-integration-test</id>
452                                                         <phase>post-integration-test</phase>
453                                                         <goals>
454                                                                 <goal>report</goal>
455                                                         </goals>
456                                                         <configuration>
457                                                                 <dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
458                                                                 <outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
459                                                         </configuration>
460                                                 </execution>
461                                         </executions>
462                                 </plugin>
463                         </plugins>
464                 </pluginManagement>
465         </build>
466
467         <distributionManagement>
468                 <repository>
469                         <id>ecomp-releases</id>
470                         <name>AAF Release Repository</name>
471                         <url>${nexusproxy}${releaseNexusPath}</url>
472                 </repository>
473                 <snapshotRepository>
474                         <id>ecomp-snapshots</id>
475                         <name>AAF Snapshot Repository</name>
476                         <url>${nexusproxy}${snapshotNexusPath}</url>
477                 </snapshotRepository>
478                 <site>
479                         <id>ecomp-site</id>
480                         <url>dav:${nexusproxy}${sitePath}</url>
481                 </site>
482         </distributionManagement>
483
484 </project>