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