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