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