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