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