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