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