Migrate aaa-shiro to MD-SAL APIs
[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.aaa</groupId>
15         <artifactId>aaa-parent</artifactId>
16         <version>0.9.0-SNAPSHOT</version>
17         <relativePath>../../parent</relativePath>
18     </parent>
19
20     <groupId>org.opendaylight.aaa</groupId>
21     <artifactId>aaa-shiro</artifactId>
22     <version>0.9.0-SNAPSHOT</version>
23     <name>ODL :: aaa :: ${project.artifactId}</name>
24     <packaging>bundle</packaging>
25
26     <dependencies>
27         <dependency>
28             <groupId>${project.groupId}</groupId>
29             <artifactId>aaa-shiro-api</artifactId>
30         </dependency>
31
32         <!-- jersey client for moon authN -->
33         <dependency>
34             <groupId>org.glassfish.jersey.core</groupId>
35             <artifactId>jersey-client</artifactId>
36             <version>2.25.1</version>
37             <scope>provided</scope>
38         </dependency>
39         <!-- OAuth2 dependencies for moon -->
40         <dependency>
41             <groupId>org.apache.oltu.oauth2</groupId>
42             <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
43         </dependency>
44         <dependency>
45             <groupId>org.apache.oltu.oauth2</groupId>
46             <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>org.opendaylight.aaa</groupId>
50             <artifactId>aaa-cert</artifactId>
51         </dependency>
52         <dependency>
53             <groupId>org.apache.shiro</groupId>
54             <artifactId>shiro-web</artifactId>
55         </dependency>
56         <!-- Enforce newer commons-beanutils and commons-collections versions -->
57         <dependency>
58             <groupId>commons-beanutils</groupId>
59             <artifactId>commons-beanutils</artifactId>
60             <version>1.9.3</version>
61         </dependency>
62         <dependency>
63             <groupId>commons-collections</groupId>
64             <artifactId>commons-collections</artifactId>
65             <version>3.2.2</version>
66         </dependency>
67
68         <dependency>
69             <groupId>com.google.code.gson</groupId>
70             <artifactId>gson</artifactId>
71         </dependency>
72
73         <dependency>
74             <groupId>org.apache.felix</groupId>
75             <artifactId>org.apache.felix.dependencymanager</artifactId>
76             <scope>provided</scope>
77         </dependency>
78
79         <!--Yang Binding -->
80         <dependency>
81             <groupId>org.opendaylight.mdsal</groupId>
82             <artifactId>mdsal-binding-api</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>org.opendaylight.aaa</groupId>
86             <artifactId>aaa-filterchain</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>org.opendaylight.aaa</groupId>
90             <artifactId>aaa-password-service-api</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>org.osgi</groupId>
94             <artifactId>org.osgi.compendium</artifactId>
95         </dependency>
96
97         <!-- JSON JAXB Stuff -->
98         <dependency>
99             <groupId>org.eclipse.jetty</groupId>
100             <artifactId>jetty-servlets</artifactId>
101             <scope>provided</scope>
102         </dependency>
103
104         <dependency>
105             <groupId>net.sf.ehcache</groupId>
106             <artifactId>ehcache</artifactId>
107         </dependency>
108         <dependency>
109             <groupId>com.h2database</groupId>
110             <artifactId>h2</artifactId>
111         </dependency>
112         <dependency>
113             <groupId>org.immutables</groupId>
114             <artifactId>value</artifactId>
115         </dependency>
116         <dependency>
117             <groupId>com.google.guava</groupId>
118             <artifactId>guava</artifactId>
119         </dependency>
120         <dependency>
121             <groupId>org.apache.commons</groupId>
122             <artifactId>commons-text</artifactId>
123         </dependency>
124         <dependency>
125             <groupId>org.jolokia</groupId>
126             <artifactId>jolokia-osgi</artifactId>
127         </dependency>
128         <dependency>
129             <groupId>org.opendaylight.aaa.web</groupId>
130             <artifactId>web-api</artifactId>
131         </dependency>
132         <dependency>
133             <groupId>org.opendaylight.aaa.web</groupId>
134             <artifactId>servlet-api</artifactId>
135         </dependency>
136
137         <!-- Testing Dependencies -->
138         <dependency>
139             <groupId>junit</groupId>
140             <artifactId>junit</artifactId>
141             <scope>test</scope>
142         </dependency>
143         <dependency>
144             <groupId>org.mockito</groupId>
145             <artifactId>mockito-core</artifactId>
146             <scope>test</scope>
147         </dependency>
148         <dependency>
149             <groupId>org.hamcrest</groupId>
150             <artifactId>hamcrest-library</artifactId>
151             <scope>test</scope>
152         </dependency>
153         <dependency>
154             <groupId>ch.qos.logback</groupId>
155             <artifactId>logback-core</artifactId>
156             <scope>test</scope>
157         </dependency>
158         <dependency>
159             <groupId>ch.qos.logback</groupId>
160             <artifactId>logback-classic</artifactId>
161             <scope>test</scope>
162         </dependency>
163         <dependency>
164             <groupId>org.glassfish.jersey.test-framework.providers</groupId>
165             <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
166             <version>2.25.1</version>
167             <scope>test</scope>
168         </dependency>
169         <dependency>
170             <groupId>org.mortbay.jetty</groupId>
171             <artifactId>jetty-servlet-tester</artifactId>
172             <scope>test</scope>
173         </dependency>
174         <dependency>
175             <groupId>com.google.truth</groupId>
176             <artifactId>truth</artifactId>
177         </dependency>
178         <dependency>
179             <groupId>org.opendaylight.aaa</groupId>
180             <artifactId>aaa-password-service-impl</artifactId>
181             <scope>test</scope>
182         </dependency>
183     </dependencies>
184
185     <build>
186         <plugins>
187             <plugin>
188                 <groupId>org.apache.felix</groupId>
189                 <artifactId>maven-bundle-plugin</artifactId>
190                 <extensions>true</extensions>
191                 <configuration>
192                     <instructions>
193                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
194                         <Export-Package>
195                             org.opendaylight.aaa,
196                             org.opendaylight.aaa.shiro,
197                             org.opendaylight.aaa.shiro.idm,
198                             org.opendaylight.aaa.shiro.tokenauthrealm,
199                             org.opendaylight.aaa.shiro.tokenauthrealm.auth,
200                             org.opendaylight.aaa.shiro,
201                             org.opendaylight.aaa.shiro.filters,
202                             org.opendaylight.aaa.shiro.realm,
203                             <!-- TODO: This is temporary until we can find a better spot for GsonProvider. -->
204                             org.opendaylight.aaa.provider,
205                             org.opendaylight.aaa.shiro.web.env,
206                             org.opendaylight.aaa.datastore.h2.*,
207                         </Export-Package>
208                         <Import-Package>
209                            !javax.annotation,
210                            *
211                         </Import-Package>
212                     </instructions>
213                 </configuration>
214             </plugin>
215             <plugin>
216                 <groupId>org.codehaus.mojo</groupId>
217                 <artifactId>build-helper-maven-plugin</artifactId>
218                 <executions>
219                     <execution>
220                         <id>attach-artifacts</id>
221                         <phase>package</phase>
222                         <goals>
223                             <goal>attach-artifact</goal>
224                         </goals>
225                         <configuration>
226                             <artifacts>
227                                 <!-- attach idmtool as an artifact -->
228                                 <artifact>
229                                     <file>${project.build.directory}/classes/idmtool.py</file>
230                                     <type>py</type>
231                                     <classifier>idmtool</classifier>
232                                 </artifact>
233                                 <!-- attach aaa-app-config.xml as an artifact -->
234                                 <artifact>
235                                     <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
236                                     <type>xml</type>
237                                     <classifier>aaa-app-config</classifier>
238                                 </artifact>
239                                 <artifact>
240                                     <file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
241                                     <type>xml</type>
242                                     <classifier>aaa-datastore-config</classifier>
243                                 </artifact>
244                             </artifacts>
245                         </configuration>
246                     </execution>
247                 </executions>
248             </plugin>
249         </plugins>
250     </build>
251 </project>