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