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