Integrate MRI projects for Neon
[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.controller</groupId>
82             <artifactId>sal-binding-api</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>org.opendaylight.controller</groupId>
86             <artifactId>sal-common-util</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>org.opendaylight.aaa</groupId>
90             <artifactId>aaa-filterchain</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>org.opendaylight.aaa</groupId>
94             <artifactId>aaa-password-service-api</artifactId>
95         </dependency>
96         <dependency>
97             <groupId>org.osgi</groupId>
98             <artifactId>org.osgi.compendium</artifactId>
99         </dependency>
100
101         <!-- JSON JAXB Stuff -->
102         <dependency>
103             <groupId>org.eclipse.jetty</groupId>
104             <artifactId>jetty-servlets</artifactId>
105             <scope>provided</scope>
106         </dependency>
107
108         <dependency>
109             <groupId>net.sf.ehcache</groupId>
110             <artifactId>ehcache</artifactId>
111         </dependency>
112         <dependency>
113             <groupId>com.h2database</groupId>
114             <artifactId>h2</artifactId>
115         </dependency>
116         <dependency>
117             <groupId>org.immutables</groupId>
118             <artifactId>value</artifactId>
119         </dependency>
120         <dependency>
121             <groupId>com.google.guava</groupId>
122             <artifactId>guava</artifactId>
123         </dependency>
124         <dependency>
125             <groupId>org.apache.commons</groupId>
126             <artifactId>commons-text</artifactId>
127         </dependency>
128         <dependency>
129             <groupId>org.jolokia</groupId>
130             <artifactId>jolokia-osgi</artifactId>
131         </dependency>
132         <dependency>
133             <groupId>org.opendaylight.aaa.web</groupId>
134             <artifactId>web-api</artifactId>
135         </dependency>
136         <dependency>
137             <groupId>org.opendaylight.aaa.web</groupId>
138             <artifactId>servlet-api</artifactId>
139         </dependency>
140
141         <!-- Testing Dependencies -->
142         <dependency>
143             <groupId>junit</groupId>
144             <artifactId>junit</artifactId>
145             <scope>test</scope>
146         </dependency>
147         <dependency>
148             <groupId>org.mockito</groupId>
149             <artifactId>mockito-core</artifactId>
150             <scope>test</scope>
151         </dependency>
152         <dependency>
153             <groupId>org.hamcrest</groupId>
154             <artifactId>hamcrest-library</artifactId>
155             <scope>test</scope>
156         </dependency>
157         <dependency>
158             <groupId>ch.qos.logback</groupId>
159             <artifactId>logback-core</artifactId>
160             <scope>test</scope>
161         </dependency>
162         <dependency>
163             <groupId>ch.qos.logback</groupId>
164             <artifactId>logback-classic</artifactId>
165             <scope>test</scope>
166         </dependency>
167         <dependency>
168             <groupId>org.glassfish.jersey.test-framework.providers</groupId>
169             <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
170             <version>2.25.1</version>
171             <scope>test</scope>
172         </dependency>
173         <dependency>
174             <groupId>org.mortbay.jetty</groupId>
175             <artifactId>jetty-servlet-tester</artifactId>
176             <scope>test</scope>
177         </dependency>
178         <dependency>
179             <groupId>com.google.truth</groupId>
180             <artifactId>truth</artifactId>
181         </dependency>
182         <dependency>
183             <groupId>org.opendaylight.aaa</groupId>
184             <artifactId>aaa-password-service-impl</artifactId>
185             <scope>test</scope>
186         </dependency>
187     </dependencies>
188
189     <build>
190         <plugins>
191             <plugin>
192                 <groupId>org.apache.felix</groupId>
193                 <artifactId>maven-bundle-plugin</artifactId>
194                 <extensions>true</extensions>
195                 <configuration>
196                     <instructions>
197                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
198                         <Export-Package>
199                             org.opendaylight.aaa,
200                             org.opendaylight.aaa.shiro,
201                             org.opendaylight.aaa.shiro.idm,
202                             org.opendaylight.aaa.shiro.tokenauthrealm,
203                             org.opendaylight.aaa.shiro.tokenauthrealm.auth,
204                             org.opendaylight.aaa.shiro,
205                             org.opendaylight.aaa.shiro.filters,
206                             org.opendaylight.aaa.shiro.realm,
207                             <!-- TODO: This is temporary until we can find a better spot for GsonProvider. -->
208                             org.opendaylight.aaa.provider,
209                             org.opendaylight.aaa.shiro.web.env,
210                             org.opendaylight.aaa.datastore.h2.*,
211                         </Export-Package>
212                         <Import-Package>
213                            !javax.annotation,
214                            *
215                         </Import-Package>
216                     </instructions>
217                 </configuration>
218             </plugin>
219             <plugin>
220                 <groupId>org.codehaus.mojo</groupId>
221                 <artifactId>build-helper-maven-plugin</artifactId>
222                 <executions>
223                     <execution>
224                         <id>attach-artifacts</id>
225                         <phase>package</phase>
226                         <goals>
227                             <goal>attach-artifact</goal>
228                         </goals>
229                         <configuration>
230                             <artifacts>
231                                 <!-- attach idmtool as an artifact -->
232                                 <artifact>
233                                     <file>${project.build.directory}/classes/idmtool.py</file>
234                                     <type>py</type>
235                                     <classifier>idmtool</classifier>
236                                 </artifact>
237                                 <!-- attach aaa-app-config.xml as an artifact -->
238                                 <artifact>
239                                     <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
240                                     <type>xml</type>
241                                     <classifier>aaa-app-config</classifier>
242                                 </artifact>
243                                 <artifact>
244                                     <file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
245                                     <type>xml</type>
246                                     <classifier>aaa-datastore-config</classifier>
247                                 </artifact>
248                             </artifacts>
249                         </configuration>
250                     </execution>
251                 </executions>
252             </plugin>
253         </plugins>
254     </build>
255 </project>