Bump versions to 0.18.1-SNAPSHOT
[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.18.1-SNAPSHOT</version>
17         <relativePath>../../parent</relativePath>
18     </parent>
19
20     <artifactId>aaa-shiro</artifactId>
21     <name>ODL :: aaa :: ${project.artifactId}</name>
22     <packaging>bundle</packaging>
23
24     <dependencies>
25         <dependency>
26             <groupId>org.opendaylight.aaa</groupId>
27             <artifactId>aaa-authn-api</artifactId>
28         </dependency>
29         <dependency>
30             <groupId>org.opendaylight.aaa</groupId>
31             <artifactId>aaa-shiro-api</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>org.opendaylight.aaa</groupId>
35             <artifactId>aaa-tokenauthrealm</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>org.opendaylight.aaa</groupId>
39             <artifactId>aaa-idm-store-h2</artifactId>
40         </dependency>
41
42         <dependency>
43             <groupId>org.opendaylight.aaa</groupId>
44             <artifactId>aaa-cert</artifactId>
45         </dependency>
46         <dependency>
47             <groupId>org.opendaylight.aaa</groupId>
48             <artifactId>repackaged-shiro</artifactId>
49         </dependency>
50
51         <dependency>
52             <groupId>com.google.code.gson</groupId>
53             <artifactId>gson</artifactId>
54         </dependency>
55
56         <!--Yang Binding -->
57         <dependency>
58             <groupId>org.opendaylight.mdsal</groupId>
59             <artifactId>mdsal-binding-api</artifactId>
60         </dependency>
61         <dependency>
62             <groupId>org.opendaylight.aaa</groupId>
63             <artifactId>aaa-filterchain</artifactId>
64         </dependency>
65         <dependency>
66             <groupId>org.opendaylight.aaa</groupId>
67             <artifactId>aaa-password-service-api</artifactId>
68         </dependency>
69         <dependency>
70             <groupId>org.osgi</groupId>
71             <artifactId>org.osgi.service.component.annotations</artifactId>
72         </dependency>
73         <dependency>
74             <groupId>org.osgi</groupId>
75             <artifactId>org.osgi.service.http.whiteboard</artifactId>
76         </dependency>
77         <dependency>
78             <groupId>jakarta.annotation</groupId>
79             <artifactId>jakarta.annotation-api</artifactId>
80             <optional>true</optional>
81         </dependency>
82         <dependency>
83             <groupId>com.guicedee.services</groupId>
84             <artifactId>javax.inject</artifactId>
85             <optional>true</optional>
86         </dependency>
87
88         <dependency>
89             <groupId>net.sf.ehcache</groupId>
90             <artifactId>ehcache</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>org.immutables</groupId>
94             <artifactId>value</artifactId>
95             <classifier>annotations</classifier>
96         </dependency>
97         <dependency>
98             <groupId>com.google.guava</groupId>
99             <artifactId>guava</artifactId>
100         </dependency>
101         <dependency>
102             <groupId>org.jolokia</groupId>
103             <artifactId>jolokia-osgi</artifactId>
104         </dependency>
105         <dependency>
106             <groupId>org.opendaylight.aaa.web</groupId>
107             <artifactId>web-api</artifactId>
108         </dependency>
109         <dependency>
110             <groupId>org.opendaylight.aaa.web</groupId>
111             <artifactId>servlet-api</artifactId>
112         </dependency>
113
114         <!-- Testing Dependencies -->
115         <dependency>
116             <groupId>ch.qos.logback</groupId>
117             <artifactId>logback-core</artifactId>
118             <scope>test</scope>
119         </dependency>
120         <dependency>
121             <groupId>ch.qos.logback</groupId>
122             <artifactId>logback-classic</artifactId>
123             <scope>test</scope>
124         </dependency>
125         <dependency>
126             <groupId>org.glassfish.jersey.inject</groupId>
127             <artifactId>jersey-hk2</artifactId>
128             <scope>test</scope>
129         </dependency>
130         <dependency>
131             <groupId>org.glassfish.jersey.test-framework.providers</groupId>
132             <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
133             <scope>test</scope>
134         </dependency>
135         <dependency>
136             <groupId>org.opendaylight.aaa</groupId>
137             <artifactId>aaa-password-service-impl</artifactId>
138             <scope>test</scope>
139         </dependency>
140     </dependencies>
141
142     <build>
143         <plugins>
144             <plugin>
145                 <groupId>org.apache.felix</groupId>
146                 <artifactId>maven-bundle-plugin</artifactId>
147                 <extensions>true</extensions>
148                 <configuration>
149                     <instructions>
150                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
151                         <Export-Package>
152                             org.opendaylight.aaa,
153                             org.opendaylight.aaa.shiro,
154                             org.opendaylight.aaa.shiro.idm,
155                             org.opendaylight.aaa.shiro,
156                             org.opendaylight.aaa.shiro.filters,
157                             org.opendaylight.aaa.shiro.realm,
158                             <!-- TODO: This is temporary until we can find a better spot for GsonProvider. -->
159                             org.opendaylight.aaa.provider,
160                             org.opendaylight.aaa.shiro.web.env
161                         </Export-Package>
162                         <Import-Package>
163                            !javax.annotation,
164                            *
165                         </Import-Package>
166
167                         <!-- FIXME: AAA-205: remove this block -->
168                         <Provide-Capability>
169                             osgi.service;objectClass:List&lt;String&gt;="javax.servlet.Servlet";uses:="javax.servlet",
170                             osgi.service;objectClass:List&lt;String&gt;="org.jolokia.osgi.security.Authenticator";uses:="org.jolokia.osgi.security",
171                             osgi.service;objectClass:List&lt;String&gt;="org.opendaylight.aaa.api.ClaimCache,org.opendaylight.aaa.api.CredentialAuth,org.opendaylight.aaa.api.IdMService,org.opendaylight.aaa.api.PasswordCredentialAuth";uses:="org.opendaylight.aaa.api,org.opendaylight.aaa.api,org.opendaylight.aaa.api,org.opendaylight.aaa.api",
172                             osgi.service;objectClass:List&lt;String&gt;="org.opendaylight.aaa.web.WebContextSecurer";uses:="org.opendaylight.aaa.web"
173                             osgi.service;objectClass:List&lt;String&gt;="org.opendaylight.aaa.shiro.web.env.AAAShiroWebEnvironment";uses:="org.opendaylight.aaa.shiro.web.env",
174                         </Provide-Capability>
175                     </instructions>
176                 </configuration>
177             </plugin>
178             <plugin>
179                 <groupId>org.codehaus.mojo</groupId>
180                 <artifactId>build-helper-maven-plugin</artifactId>
181                 <executions>
182                     <execution>
183                         <id>attach-artifacts</id>
184                         <phase>package</phase>
185                         <goals>
186                             <goal>attach-artifact</goal>
187                         </goals>
188                         <configuration>
189                             <artifacts>
190                                 <!-- attach idmtool as an artifact -->
191                                 <artifact>
192                                     <file>${project.build.directory}/classes/idmtool.py</file>
193                                     <type>py</type>
194                                     <classifier>idmtool</classifier>
195                                 </artifact>
196                                 <!-- attach aaa-app-config.xml as an artifact -->
197                                 <artifact>
198                                     <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
199                                     <type>xml</type>
200                                     <classifier>aaa-app-config</classifier>
201                                 </artifact>
202                                 <artifact>
203                                     <file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
204                                     <type>xml</type>
205                                     <classifier>aaa-datastore-config</classifier>
206                                 </artifact>
207                             </artifacts>
208                         </configuration>
209                     </execution>
210                 </executions>
211             </plugin>
212         </plugins>
213     </build>
214 </project>