Remove CORS filter from ShiroWebContextSecurer
[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.16.0-SNAPSHOT</version>
17         <relativePath>../../parent</relativePath>
18     </parent>
19
20     <groupId>org.opendaylight.aaa</groupId>
21     <artifactId>aaa-shiro</artifactId>
22     <version>0.16.0-SNAPSHOT</version>
23     <name>ODL :: aaa :: ${project.artifactId}</name>
24     <packaging>bundle</packaging>
25
26     <dependencies>
27         <dependency>
28             <groupId>org.opendaylight.aaa</groupId>
29             <artifactId>aaa-authn-api</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>org.opendaylight.aaa</groupId>
33             <artifactId>aaa-shiro-api</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.opendaylight.aaa</groupId>
37             <artifactId>aaa-tokenauthrealm</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>org.opendaylight.aaa</groupId>
41             <artifactId>aaa-idm-store-h2</artifactId>
42         </dependency>
43
44         <!-- jersey client for moon authN -->
45         <dependency>
46             <groupId>org.glassfish.jersey.core</groupId>
47             <artifactId>jersey-client</artifactId>
48             <scope>provided</scope>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.aaa</groupId>
52             <artifactId>aaa-cert</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>org.opendaylight.aaa</groupId>
56             <artifactId>repackaged-shiro</artifactId>
57         </dependency>
58
59         <dependency>
60             <groupId>com.google.code.gson</groupId>
61             <artifactId>gson</artifactId>
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>org.osgi.service.component.annotations</artifactId>
80         </dependency>
81         <dependency>
82             <groupId>org.osgi</groupId>
83             <artifactId>org.osgi.service.http.whiteboard</artifactId>
84         </dependency>
85         <dependency>
86             <groupId>com.guicedee.services</groupId>
87             <artifactId>javax.inject</artifactId>
88             <optional>true</optional>
89         </dependency>
90
91         <dependency>
92             <groupId>net.sf.ehcache</groupId>
93             <artifactId>ehcache</artifactId>
94         </dependency>
95         <dependency>
96             <groupId>org.immutables</groupId>
97             <artifactId>value</artifactId>
98             <classifier>annotations</classifier>
99         </dependency>
100         <dependency>
101             <groupId>com.google.guava</groupId>
102             <artifactId>guava</artifactId>
103         </dependency>
104         <dependency>
105             <groupId>org.jolokia</groupId>
106             <artifactId>jolokia-osgi</artifactId>
107         </dependency>
108         <dependency>
109             <groupId>org.opendaylight.aaa.web</groupId>
110             <artifactId>web-api</artifactId>
111         </dependency>
112         <dependency>
113             <groupId>org.opendaylight.aaa.web</groupId>
114             <artifactId>servlet-api</artifactId>
115         </dependency>
116
117         <!-- Testing Dependencies -->
118         <dependency>
119             <groupId>junit</groupId>
120             <artifactId>junit</artifactId>
121             <scope>test</scope>
122         </dependency>
123         <dependency>
124             <groupId>org.mockito</groupId>
125             <artifactId>mockito-core</artifactId>
126             <scope>test</scope>
127         </dependency>
128         <dependency>
129             <groupId>org.hamcrest</groupId>
130             <artifactId>hamcrest-library</artifactId>
131             <scope>test</scope>
132         </dependency>
133         <dependency>
134             <groupId>ch.qos.logback</groupId>
135             <artifactId>logback-core</artifactId>
136             <scope>test</scope>
137         </dependency>
138         <dependency>
139             <groupId>ch.qos.logback</groupId>
140             <artifactId>logback-classic</artifactId>
141             <scope>test</scope>
142         </dependency>
143         <dependency>
144             <groupId>org.glassfish.jersey.inject</groupId>
145             <artifactId>jersey-hk2</artifactId>
146             <scope>test</scope>
147         </dependency>
148         <dependency>
149             <groupId>org.glassfish.jersey.test-framework.providers</groupId>
150             <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
151             <scope>test</scope>
152         </dependency>
153         <dependency>
154             <groupId>com.google.truth</groupId>
155             <artifactId>truth</artifactId>
156         </dependency>
157         <dependency>
158             <groupId>org.opendaylight.aaa</groupId>
159             <artifactId>aaa-password-service-impl</artifactId>
160             <scope>test</scope>
161         </dependency>
162     </dependencies>
163
164     <build>
165         <plugins>
166             <plugin>
167                 <groupId>org.apache.felix</groupId>
168                 <artifactId>maven-bundle-plugin</artifactId>
169                 <extensions>true</extensions>
170                 <configuration>
171                     <instructions>
172                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
173                         <Export-Package>
174                             org.opendaylight.aaa,
175                             org.opendaylight.aaa.shiro,
176                             org.opendaylight.aaa.shiro.idm,
177                             org.opendaylight.aaa.shiro,
178                             org.opendaylight.aaa.shiro.filters,
179                             org.opendaylight.aaa.shiro.realm,
180                             <!-- TODO: This is temporary until we can find a better spot for GsonProvider. -->
181                             org.opendaylight.aaa.provider,
182                             org.opendaylight.aaa.shiro.web.env
183                         </Export-Package>
184                         <Import-Package>
185                            !javax.annotation,
186                            *
187                         </Import-Package>
188                     </instructions>
189                 </configuration>
190             </plugin>
191             <plugin>
192                 <groupId>org.codehaus.mojo</groupId>
193                 <artifactId>build-helper-maven-plugin</artifactId>
194                 <executions>
195                     <execution>
196                         <id>attach-artifacts</id>
197                         <phase>package</phase>
198                         <goals>
199                             <goal>attach-artifact</goal>
200                         </goals>
201                         <configuration>
202                             <artifacts>
203                                 <!-- attach idmtool as an artifact -->
204                                 <artifact>
205                                     <file>${project.build.directory}/classes/idmtool.py</file>
206                                     <type>py</type>
207                                     <classifier>idmtool</classifier>
208                                 </artifact>
209                                 <!-- attach aaa-app-config.xml as an artifact -->
210                                 <artifact>
211                                     <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
212                                     <type>xml</type>
213                                     <classifier>aaa-app-config</classifier>
214                                 </artifact>
215                                 <artifact>
216                                     <file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
217                                     <type>xml</type>
218                                     <classifier>aaa-datastore-config</classifier>
219                                 </artifact>
220                             </artifacts>
221                         </configuration>
222                     </execution>
223                 </executions>
224             </plugin>
225         </plugins>
226     </build>
227 </project>