Bump odlparent 2.0.4 to 2.0.5
[aaa.git] / aaa-shiro / impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright © 2017 Brocade Communications Systems and others. All rights reserved.
5
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11   <modelVersion>4.0.0</modelVersion>
12
13   <parent>
14     <groupId>org.opendaylight.odlparent</groupId>
15     <artifactId>bundle-parent</artifactId>
16     <version>2.0.5</version>
17     <relativePath/>
18   </parent>
19
20   <groupId>org.opendaylight.aaa</groupId>
21   <artifactId>aaa-shiro</artifactId>
22   <version>0.7.0-SNAPSHOT</version>
23   <name>ODL :: aaa :: ${project.artifactId}</name>
24   <packaging>bundle</packaging>
25
26   <dependencyManagement>
27     <dependencies>
28       <dependency>
29         <groupId>${project.groupId}</groupId>
30         <artifactId>aaa-parent</artifactId>
31         <version>${project.version}</version>
32         <type>pom</type>
33         <scope>import</scope>
34       </dependency>
35       <dependency>
36         <groupId>${project.groupId}</groupId>
37         <artifactId>aaa-artifacts</artifactId>
38         <version>${project.version}</version>
39         <type>pom</type>
40         <scope>import</scope>
41       </dependency>
42     </dependencies>
43   </dependencyManagement>
44
45   <dependencies>
46     <dependency>
47       <groupId>${project.groupId}</groupId>
48       <artifactId>aaa-shiro-api</artifactId>
49     </dependency>
50
51     <!-- jersey client for moon authN -->
52     <dependency>
53       <groupId>com.sun.jersey</groupId>
54       <artifactId>jersey-client</artifactId>
55       <scope>provided</scope>
56     </dependency>
57     <!-- OAuth2 dependencies for moon -->
58     <dependency>
59       <groupId>org.apache.oltu.oauth2</groupId>
60       <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>org.apache.oltu.oauth2</groupId>
64       <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>com.fasterxml.jackson.jaxrs</groupId>
68       <artifactId>jackson-jaxrs-json-provider</artifactId>
69     </dependency>
70     <dependency>
71         <groupId>org.opendaylight.aaa</groupId>
72         <artifactId>aaa-cert</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>org.apache.shiro</groupId>
76       <artifactId>shiro-web</artifactId>
77     </dependency>
78     <!-- Enforce newer commons-beanutils and commons-collections versions -->
79     <dependency>
80       <groupId>commons-beanutils</groupId>
81       <artifactId>commons-beanutils</artifactId>
82       <version>1.9.3</version>
83     </dependency>
84     <dependency>
85       <groupId>commons-collections</groupId>
86       <artifactId>commons-collections</artifactId>
87       <version>3.2.2</version>
88     </dependency>
89
90     <dependency>
91       <groupId>org.apache.felix</groupId>
92       <artifactId>org.apache.felix.dependencymanager</artifactId>
93       <scope>provided</scope>
94     </dependency>
95
96     <!--Yang Binding -->
97     <dependency>
98       <groupId>org.opendaylight.controller</groupId>
99       <artifactId>sal-binding-api</artifactId>
100     </dependency>
101     <dependency>
102       <groupId>org.opendaylight.controller</groupId>
103       <artifactId>sal-common-util</artifactId>
104     </dependency>
105         <dependency>
106             <groupId>org.opendaylight.aaa</groupId>
107             <artifactId>aaa-filterchain</artifactId>
108         </dependency>
109     <dependency>
110       <groupId>com.sun.jersey</groupId>
111       <artifactId>jersey-server</artifactId>
112     </dependency>
113     <dependency>
114       <groupId>javax.servlet</groupId>
115       <artifactId>javax.servlet-api</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.apache.felix</groupId>
119       <artifactId>org.apache.felix.dependencymanager</artifactId>
120       <scope>provided</scope>
121     </dependency>
122     <dependency>
123       <groupId>org.mockito</groupId>
124       <artifactId>mockito-core</artifactId>
125       <scope>test</scope>
126     </dependency>
127     <dependency>
128       <groupId>org.osgi</groupId>
129       <artifactId>org.osgi.core</artifactId>
130     </dependency>
131
132     <!-- JSON JAXB Stuff -->
133     <dependency>
134       <groupId>com.fasterxml.jackson.core</groupId>
135       <artifactId>jackson-core</artifactId>
136     </dependency>
137     <dependency>
138       <groupId>com.fasterxml.jackson.core</groupId>
139       <artifactId>jackson-annotations</artifactId>
140     </dependency>
141     <dependency>
142       <groupId>com.fasterxml.jackson.core</groupId>
143       <artifactId>jackson-databind</artifactId>
144     </dependency>
145     <dependency>
146       <groupId>com.fasterxml.jackson.datatype</groupId>
147       <artifactId>jackson-datatype-json-org</artifactId>
148     </dependency>
149     <dependency>
150       <groupId>com.fasterxml.jackson.jaxrs</groupId>
151       <artifactId>jackson-jaxrs-base</artifactId>
152     </dependency>
153     <dependency>
154       <groupId>com.fasterxml.jackson.jaxrs</groupId>
155       <artifactId>jackson-jaxrs-json-provider</artifactId>
156     </dependency>
157     <dependency>
158       <groupId>com.fasterxml.jackson.module</groupId>
159       <artifactId>jackson-module-jaxb-annotations</artifactId>
160     </dependency>
161     <dependency>
162       <groupId>org.eclipse.jetty</groupId>
163       <artifactId>jetty-servlets</artifactId>
164       <scope>provided</scope>
165     </dependency>
166
167     <!-- Testing Dependencies -->
168     <dependency>
169       <groupId>com.sun.jersey.jersey-test-framework</groupId>
170       <artifactId>jersey-test-framework-grizzly2</artifactId>
171       <scope>test</scope>
172     </dependency>
173     <dependency>
174       <groupId>junit</groupId>
175       <artifactId>junit</artifactId>
176       <scope>test</scope>
177     </dependency>
178     <dependency>
179       <groupId>org.slf4j</groupId>
180       <artifactId>jul-to-slf4j</artifactId>
181       <version>1.7.21</version>
182       <scope>test</scope>
183     </dependency>
184     <dependency>
185       <groupId>com.sun.jersey</groupId>
186       <artifactId>jersey-servlet</artifactId>
187     </dependency>
188     <dependency>
189       <groupId>org.mockito</groupId>
190       <artifactId>mockito-core</artifactId>
191       <scope>test</scope>
192     </dependency>
193     <dependency>
194       <groupId>org.hamcrest</groupId>
195       <artifactId>hamcrest-library</artifactId>
196       <scope>test</scope>
197     </dependency>
198     <dependency>
199       <groupId>ch.qos.logback</groupId>
200       <artifactId>logback-core</artifactId>
201       <scope>test</scope>
202     </dependency>
203     <dependency>
204       <groupId>ch.qos.logback</groupId>
205       <artifactId>logback-classic</artifactId>
206       <scope>test</scope>
207     </dependency>
208     <dependency>
209       <groupId>com.sun.jersey.jersey-test-framework</groupId>
210       <artifactId>jersey-test-framework-grizzly2</artifactId>
211       <scope>test</scope>
212     </dependency>
213     <dependency>
214       <groupId>org.mortbay.jetty</groupId>
215       <artifactId>jetty-servlet-tester</artifactId>
216       <version>7.0.0.pre5</version>
217       <scope>test</scope>
218     </dependency>
219   </dependencies>
220
221   <build>
222     <plugins>
223       <plugin>
224         <groupId>org.apache.felix</groupId>
225         <artifactId>maven-bundle-plugin</artifactId>
226         <extensions>true</extensions>
227         <configuration>
228           <instructions>
229             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
230             <Export-Package>
231               org.opendaylight.aaa.impl.shiro,
232               org.opendaylight.aaa.impl.shiro.tokenauthrealm,
233               org.opendaylight.aaa.impl.shiro.tokenauthrealm.auth,
234               org.opendaylight.aaa.shiro,
235               org.opendaylight.aaa.shiro.filters,
236               org.opendaylight.aaa.shiro.realm,
237               org.opendaylight.aaa.shiro.web.env
238             </Export-Package>
239             <Import-Package>
240               com.google.*,
241               com.sun.jersey.spi.container.servlet,
242               javax.servlet.http,
243               javax.servlet.*,
244               org.apache.oltu.oauth2.*,
245               javax.ws.rs,javax.ws.rs.core,
246               javax.xml.bind.annotation,
247               org.opendaylight.aaa.*,
248               org.opendaylight.aaa.api.*,
249               org.opendaylight.aaa.filterchain.filters,
250               org.xml.sax,
251               org.apache.felix.dm,
252               org.apache.shiro.web.env,org.apache.shiro.authc,
253               org.eclipse.jetty.servlets;version="[8.1,10)",
254               org.opendaylight.*,
255               org.osgi.framework,
256               org.osgi.util.tracker,
257               org.osgi.service.cm.*,
258               org.osgi.service.http.*,
259               org.apache.shiro.web.*,
260               org.apache.shiro.*,
261               org.slf4j.*
262             </Import-Package>
263             <Web-ContextPath>/auth</Web-ContextPath>
264           </instructions>
265         </configuration>
266       </plugin>
267       <plugin>
268         <groupId>org.codehaus.mojo</groupId>
269         <artifactId>build-helper-maven-plugin</artifactId>
270         <executions>
271           <execution>
272             <id>attach-artifacts</id>
273             <phase>package</phase>
274             <goals>
275               <goal>attach-artifact</goal>
276             </goals>
277             <configuration>
278               <artifacts>
279                 <!-- attach idmtool as an artifact -->
280                 <artifact>
281                   <file>${project.build.directory}/classes/idmtool.py</file>
282                   <type>py</type>
283                   <classifier>idmtool</classifier>
284                 </artifact>
285                 <!-- attach authn.cfg as an artifact -->
286                 <artifact>
287                   <file>${project.build.directory}/classes/authn.cfg</file>
288                   <type>cfg</type>
289                   <classifier>config</classifier>
290                 </artifact>
291                 <!-- attach aaa-app-config.xml as an artifact -->
292                 <artifact>
293                   <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
294                   <type>xml</type>
295                   <classifier>aaa-app-config</classifier>
296                 </artifact>
297                 <!-- attach convert-shiro-ini-to-rest-payload.py as an artifact -->
298                 <artifact>
299                   <file>${project.build.directory}/classes/convert-shiro-ini-to-rest-payload.py</file>
300                   <type>py</type>
301                   <classifier>convert-shiro-ini</classifier>
302                 </artifact>
303               </artifacts>
304             </configuration>
305           </execution>
306         </executions>
307       </plugin>
308     </plugins>
309   </build>
310 </project>