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