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