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