0634cc6960e621f7c6391814e6641b53d66eb4da
[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.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>
41         </properties>
42
43         <!-- ============================================================== -->
44         <!-- Define the major contributors and developers of CADI -->
45         <!-- ============================================================== -->
46         <developers>
47                 <developer>
48                         <name>Jonathan Gathman</name>
49                         <email>jonathan.gathman@att.com</email>
50                         <organization>ATT</organization>
51                         <roles>
52                                 <role>Architect</role>
53                                 <role>Lead Developer</role>
54                         </roles>
55                 </developer>
56                 <developer>
57                         <name>Gabe Maurer</name>
58                         <email>gabe.maurer@att.com</email>
59                         <organization>ATT</organization>
60                         <roles>
61                                 <role>Developer</role>
62                         </roles>
63                 </developer>
64                 <developer>
65                         <name>Ian Howell</name>
66                         <email>ian.howell@att.com</email>
67                         <organization>ATT</organization>
68                         <roles>
69                                 <role>Developer</role>
70                         </roles>
71                 </developer>
72         </developers>
73
74
75         <dependencies>
76                 <dependency>
77                         <groupId>org.mockito</groupId>
78                         <artifactId>mockito-all</artifactId>
79                         <version>1.9.5</version>
80                         <scope>test</scope>
81                 </dependency>
82         
83                 <dependency>
84                         <groupId>org.powermock</groupId>
85                         <artifactId>powermock-module-junit4</artifactId>
86                         <version>${powermock.version}</version>
87                         <scope>test</scope>
88                 </dependency>
89                 <dependency>
90                         <groupId>org.powermock</groupId>
91                         <artifactId>powermock-api-mockito</artifactId>
92                         <version>${powermock.version}</version>
93                         <scope>test</scope>
94                 </dependency>
95
96                 <dependency>
97                         <groupId>junit</groupId>
98                         <artifactId>junit</artifactId>
99                         <version>4.10</version>
100                         <scope>test</scope>
101                 </dependency>
102         </dependencies>
103
104         <!-- ============================================================== -->
105         <!-- Define sub-projects (modules) -->
106         <!-- ============================================================== -->
107         <modules>
108                 <module>core</module>
109                 <module>client</module>
110                 <module>aaf</module>
111                 <module>cass</module>
112                 
113                 <module>oauth-enduser</module>
114                 <module>shiro</module>
115         </modules>
116
117         <!-- ============================================================== -->
118         <!-- Define project-wide dependencies -->
119         <!-- ============================================================== -->
120         <dependencyManagement>
121                 <dependencies>
122                         <dependency>
123                                 <groupId>org.onap.aaf.auth</groupId>
124                                 <artifactId>aaf-auth-client</artifactId>
125                                 <version>${project.authClientVersion}</version>
126                         </dependency>
127
128                         <dependency>
129                                 <groupId>org.onap.aaf.cadi</groupId>
130                                 <artifactId>aaf-cadi-core</artifactId>
131                                 <version>${project.version}</version>
132                         </dependency>
133
134                         <dependency>
135                                 <groupId>org.onap.aaf.cadi</groupId>
136                                 <artifactId>aaf-cadi-oauth</artifactId>
137                                 <version>${project.version}</version>
138                         </dependency>
139
140
141                         <!-- Prevent Cycles in Testing  -->
142                         <dependency>
143                                 <groupId>org.onap.aaf.cadi</groupId>
144                                 <artifactId>aaf-cadi-core</artifactId>
145                                 <version>${project.version}</version>
146                                 <classifier>tests</classifier>
147                         </dependency>
148
149                         <dependency>
150                                 <groupId>org.onap.aaf.cadi</groupId>
151                                 <artifactId>aaf-cadi-jetty</artifactId>
152                                 <version>${project.version}</version>
153                         </dependency>
154
155                         <dependency>
156                                 <groupId>org.onap.aaf.cadi</groupId>
157                                 <artifactId>aaf-cadi-cass</artifactId>
158                                 <version>${project.version}</version>
159                         </dependency>
160
161                         <dependency>
162                                 <groupId>org.onap.aaf.cadi</groupId>
163                                 <artifactId>aaf-cadi-aaf</artifactId>
164                                 <version>${project.version}</version>
165                         </dependency>
166
167                         <dependency>
168                                 <groupId>org.onap.aaf.cadi</groupId>
169                                 <artifactId>aaf-cadi-aaf</artifactId>
170                                 <version>${project.version}</version>
171                                 <classifier>full</classifier>
172                         </dependency>
173
174                         <dependency>
175                                 <groupId>org.onap.aaf.cadi</groupId>
176                                 <artifactId>aaf-cadi-client</artifactId>
177                                 <version>${project.version}</version>
178                         </dependency>
179
180                         <dependency>
181                                 <groupId>org.onap.aaf.misc</groupId>
182                                 <artifactId>aaf-misc-env</artifactId>
183                                 <version>${project.miscVersion}</version>
184                         </dependency>
185
186                         <dependency>
187                                 <groupId>org.onap.aaf.misc</groupId>
188                                 <artifactId>aaf-misc-rosetta</artifactId>
189                                 <version>${project.miscVersion}</version>
190                         </dependency>
191
192                         <dependency>
193                                 <groupId>org.onap.aaf.misc</groupId>
194                                 <artifactId>aaf-misc-log4j</artifactId>
195                                 <version>${project.miscVersion}</version>
196                         </dependency>
197
198                         <dependency>
199                                 <groupId>org.eclipse.jetty</groupId>
200                                 <artifactId>jetty-servlet</artifactId>
201                                 <version>${project.jettyVersion}</version>
202                         </dependency>
203                         
204                         <dependency>
205                                 <groupId>org.eclipse.jetty</groupId>
206                                 <artifactId>jetty-io</artifactId>
207                                 <version>${project.jettyVersion}</version>
208                         </dependency>
209         
210                         <dependency>
211                                 <groupId>org.eclipse.jetty</groupId>
212                                 <artifactId>jetty-security</artifactId>
213                                 <version>${project.jettyVersion}</version>
214                         </dependency>
215         
216                         <dependency>
217                                 <groupId>org.eclipse.jetty</groupId>
218                                 <artifactId>jetty-http</artifactId>
219                                 <version>${project.jettyVersion}</version>
220                         </dependency>
221         
222                         <dependency>
223                                 <groupId>org.eclipse.jetty</groupId>
224                                 <artifactId>jetty-util</artifactId>
225                                 <version>${project.jettyVersion}</version>
226                         </dependency>
227         
228                         <dependency>
229                                 <groupId>org.eclipse.jetty</groupId>
230                                 <artifactId>jetty-server</artifactId>
231                                 <version>${project.jettyVersion}</version>
232                         </dependency>
233
234                         <dependency>
235                             <groupId>javax.servlet</groupId>
236                             <artifactId>servlet-api</artifactId>
237                                 <version>2.5</version>
238                         </dependency>
239                         
240                         <dependency>
241                                 <groupId>org.slf4j</groupId>
242                                 <artifactId>slf4j-api</artifactId>
243                                 <version>1.7.5</version>
244                         </dependency>
245                 </dependencies>
246         </dependencyManagement>
247
248         <!-- ============================================================== -->
249         <!-- Define common plugins and make them available for all modules -->
250         <!-- ============================================================== -->
251         <build>
252                 <testSourceDirectory>src/test/java</testSourceDirectory>
253                 <plugins>
254                 </plugins>
255                 <pluginManagement>                      
256                         <plugins>
257                                 <plugin>
258                                         <inherited>true</inherited>
259                                         <groupId>org.apache.maven.plugins</groupId>
260                                         <artifactId>maven-compiler-plugin</artifactId>
261                                         <version>2.3.2</version>
262                                         <configuration>
263                                                 <source>1.7</source>
264                                                 <target>1.7</target>
265                                         </configuration>
266                                 </plugin>
267         
268                                 <plugin>
269                                         <groupId>org.apache.maven.plugins</groupId>
270                                         <version>2.4</version>
271                                         <artifactId>maven-jar-plugin</artifactId>
272                                         <configuration>
273                                                 <outputDirectory>target</outputDirectory>
274                                                 <archive>
275                                                         <manifestEntries>
276                                                                 <Sealed>true</Sealed>
277                                                         </manifestEntries>
278                                                 </archive>
279                                         </configuration>
280                                 </plugin>
281
282                                 <!-- Define the javadoc plugin -->
283                                 <plugin>
284                                         <groupId>org.apache.maven.plugins</groupId>
285                                         <artifactId>maven-javadoc-plugin</artifactId>
286                                         <version>2.10</version>
287                                         <configuration>
288                                                 <excludePackageNames>org.opendaylight.*</excludePackageNames>
289                                         </configuration>
290                                 </plugin>
291         
292                                 <plugin>
293                                         <artifactId>maven-release-plugin</artifactId>
294                                         <version>2.5.2</version>
295                                         <configuration>
296                                                 <goals>-s ${mvn.settings} deploy</goals>
297                                         </configuration>
298                                 </plugin>
299         
300                                 <plugin>
301                                         <artifactId>maven-assembly-plugin</artifactId>
302                                         <version>2.5.5</version>
303                                 </plugin>
304         
305                                 <plugin>
306                                         <groupId>org.apache.maven.plugins</groupId>
307                                         <artifactId>maven-deploy-plugin</artifactId>
308                                         <version>2.8.1</version>
309                                         <configuration>
310                                                 <skip>false</skip>
311                                         </configuration>
312         
313                                 </plugin>
314         
315                                 <plugin>
316                                         <groupId>org.apache.maven.plugins</groupId>
317                                         <artifactId>maven-dependency-plugin</artifactId>
318                                         <version>2.10</version>
319                                 </plugin>
320         
321                                 <!-- Maven surefire plugin for testing -->
322                                 <plugin>
323                                         <artifactId>maven-surefire-plugin</artifactId>
324                                         <version>2.17</version>
325                                         <configuration>
326                                                 <skipTests>true</skipTests>
327                                         </configuration>
328                                 </plugin>
329                                 
330                                 <!--This plugin's configuration is used to store Eclipse m2e settings 
331                                         only. It has no influence on the Maven build itself. -->
332                                 <plugin>
333                                         <groupId>org.eclipse.m2e</groupId>
334                                         <artifactId>lifecycle-mapping</artifactId>
335                                         <version>1.0.0</version>
336                                         <configuration>
337                                                 <lifecycleMappingMetadata>
338                                                         <pluginExecutions>
339                                                                 <pluginExecution>
340                                                                         <pluginExecutionFilter>
341                                                                                 <groupId>
342                                                                                         org.codehaus.mojo
343                                                                                 </groupId>
344                                                                                 <artifactId>
345                                                                                         jaxb2-maven-plugin
346                                                                                 </artifactId>
347                                                                                 <versionRange>
348                                                                                         [1.3,)
349                                                                                 </versionRange>
350                                                                                 <goals>
351                                                                                         <goal>xjc</goal>
352                                                                                 </goals>
353                                                                         </pluginExecutionFilter>
354                                                                         <action>
355                                                                                 <ignore />
356                                                                         </action>
357                                                                 </pluginExecution>
358                                                         </pluginExecutions>
359                                                 </lifecycleMappingMetadata>
360                                         </configuration>
361                                 </plugin>
362                                 
363                         </plugins>
364                 </pluginManagement>                     
365         </build>
366
367
368         <!-- ============================================================== -->
369         <!-- Maven Central Repository Information -->
370         <!-- ============================================================== -->
371         <distributionManagement>
372                 <repository>
373                         <id>nexus</id>
374                         <name>attarch-releases</name>
375                         <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/attarch-releases</url>
376                 </repository>
377                 <snapshotRepository>
378                         <id>nexus</id>
379                         <name>attarch-snapshots</name>
380                         <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/attarch-snapshots</url>
381                 </snapshotRepository>
382         </distributionManagement>
383 </project>