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