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