d307e8a5e22ff9e4495077c4f8a5e9ca19edf0ce
[aaa.git] / features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2014 Hewlett-Packard Development Company, L.P. and others.
3     All rights reserved. This program and the accompanying materials are made
4     available under the terms of the Eclipse Public License v1.0 which accompanies
5     this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html -->
6 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8     <modelVersion>4.0.0</modelVersion>
9     <parent>
10         <artifactId>aaa.project</artifactId>
11         <groupId>org.opendaylight.aaa</groupId>
12         <version>0.1.0-SNAPSHOT</version>
13         <relativePath>../</relativePath>
14     </parent>
15
16     <artifactId>features-aaa</artifactId>
17     <packaging>jar</packaging>
18
19     <properties>
20         <features.file>features.xml</features.file>
21         <branding.version>1.0.0-SNAPSHOT</branding.version>
22         <karaf.resources.version>1.4.2-SNAPSHOT</karaf.resources.version>
23         <karaf.version>3.0.1</karaf.version>
24         <feature.test.version>0.6.2-SNAPSHOT</feature.test.version>
25         <karaf.empty.version>1.4.2-SNAPSHOT</karaf.empty.version>
26         <surefire.version>2.16</surefire.version>
27     </properties>
28
29     <dependencies>
30         <!-- odl-aaa-authn -->
31         <dependency>
32             <groupId>com.sun.jersey</groupId>
33             <artifactId>jersey-servlet</artifactId>
34             <version>1.17</version>
35         </dependency>
36         <dependency>
37             <groupId>com.sun.jersey</groupId>
38             <artifactId>jersey-core</artifactId>
39             <version>1.17</version>
40         </dependency>
41         <dependency>
42             <groupId>com.sun.jersey</groupId>
43             <artifactId>jersey-server</artifactId>
44             <version>1.17</version>
45         </dependency>
46         <dependency>
47             <groupId>org.apache.felix</groupId>
48             <artifactId>org.apache.felix.dependencymanager</artifactId>
49             <version>3.1.0</version>
50         </dependency>
51         <dependency>
52             <groupId>org.apache.felix</groupId>
53             <artifactId>org.apache.felix.metatype</artifactId>
54             <version>1.0.10</version>
55         </dependency>
56         <dependency>
57             <groupId>net.sf.ehcache</groupId>
58             <artifactId>ehcache</artifactId>
59             <version>2.8.3</version>
60         </dependency>
61         <dependency>
62             <groupId>org.apache.geronimo.specs</groupId>
63             <artifactId>geronimo-jta_1.1_spec</artifactId>
64             <version>1.1.1</version>
65         </dependency>
66         <dependency>
67             <groupId>org.apache.oltu.oauth2</groupId>
68             <artifactId>org.apache.oltu.oauth2.common</artifactId>
69             <version>1.0.0</version>
70         </dependency>
71         <dependency>
72             <groupId>org.apache.oltu.oauth2</groupId>
73             <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
74             <version>1.0.0</version>
75         </dependency>
76         <dependency>
77             <groupId>org.apache.oltu.oauth2</groupId>
78             <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
79             <version>1.0.0</version>
80         </dependency>
81         <dependency>
82             <groupId>commons-codec</groupId>
83             <artifactId>commons-codec</artifactId>
84             <version>1.8</version>
85         </dependency>
86         <dependency>
87             <groupId>org.json</groupId>
88             <artifactId>json</artifactId>
89             <version>20131018</version>
90         </dependency>
91         <dependency>
92             <groupId>com.sun.jersey</groupId>
93             <artifactId>jersey-json</artifactId>
94             <version>1.17</version>
95         </dependency>
96         <dependency>
97           <groupId>org.glassfish</groupId>
98           <artifactId>javax.json</artifactId>
99           <version>1.0.4</version>
100         </dependency>
101         <dependency>
102             <groupId>org.codehaus.jackson</groupId>
103             <artifactId>jackson-core-asl</artifactId>
104             <version>1.9.2</version>
105         </dependency>
106         <dependency>
107             <groupId>org.codehaus.jackson</groupId>
108             <artifactId>jackson-mapper-asl</artifactId>
109             <version>1.9.2</version>
110         </dependency>
111         <dependency>
112             <groupId>org.codehaus.jackson</groupId>
113             <artifactId>jackson-jaxrs</artifactId>
114             <version>1.9.2</version>
115         </dependency>
116         <dependency>
117             <groupId>org.codehaus.jackson</groupId>
118             <artifactId>jackson-xc</artifactId>
119             <version>1.9.2</version>
120         </dependency>
121         <dependency>
122             <groupId>org.codehaus.jettison</groupId>
123             <artifactId>jettison</artifactId>
124             <version>1.1</version>
125         </dependency>
126         <dependency>
127             <groupId>org.xerial</groupId>
128             <artifactId>sqlite-jdbc</artifactId>
129             <version>3.7.2</version>
130         </dependency>
131
132         <dependency>
133             <groupId>org.opendaylight.aaa</groupId>
134             <artifactId>aaa-authn-api</artifactId>
135             <version>${project.version}</version>
136         </dependency>
137         <dependency>
138             <groupId>org.opendaylight.aaa</groupId>
139             <artifactId>aaa-authn</artifactId>
140             <version>${project.version}</version>
141         </dependency>
142         <dependency>
143             <groupId>org.opendaylight.aaa</groupId>
144             <artifactId>aaa-authn-sts</artifactId>
145             <version>${project.version}</version>
146         </dependency>
147         <dependency>
148             <groupId>org.opendaylight.aaa</groupId>
149             <artifactId>aaa-authn-store</artifactId>
150             <version>${project.version}</version>
151         </dependency>
152         <dependency>
153             <groupId>org.opendaylight.aaa</groupId>
154             <artifactId>aaa-authn-basic</artifactId>
155             <version>${project.version}</version>
156         </dependency>
157         <dependency>
158             <groupId>org.opendaylight.aaa</groupId>
159             <artifactId>aaa-idmlight</artifactId>
160             <version>${project.version}</version>
161         </dependency>
162         <dependency>
163             <groupId>org.opendaylight.aaa</groupId>
164             <artifactId>aaa-authn</artifactId>
165             <version>${project.version}</version>
166             <type>cfg</type>
167             <classifier>config</classifier>
168         </dependency>
169         <dependency>
170             <groupId>org.opendaylight.aaa</groupId>
171             <artifactId>aaa-authn-store</artifactId>
172             <version>${project.version}</version>
173             <type>cfg</type>
174             <classifier>config</classifier>
175         </dependency>
176         <dependency>
177             <groupId>org.opendaylight.aaa</groupId>
178             <artifactId>aaa-authn-sts</artifactId>
179             <version>${project.version}</version>
180             <type>cfg</type>
181             <classifier>config</classifier>
182         </dependency>
183
184         <!-- odl-aaa-sssd -->
185         <dependency>
186             <groupId>org.opendaylight.aaa</groupId>
187             <artifactId>aaa-authn-sssd</artifactId>
188             <version>${project.version}</version>
189         </dependency>
190
191         <!-- odl-aaa-authz -->
192         <dependency>
193             <groupId>org.opendaylight.yangtools</groupId>
194             <artifactId>features-yangtools</artifactId>
195             <version>${yangtools.version}</version>
196             <classifier>features</classifier>
197             <type>xml</type>
198         </dependency>
199         <dependency>
200             <groupId>org.opendaylight.aaa</groupId>
201             <artifactId>aaa-authz-model</artifactId>
202             <version>${project.version}</version>
203         </dependency>
204         <dependency>
205             <groupId>org.opendaylight.aaa</groupId>
206             <artifactId>aaa-authz-service</artifactId>
207             <version>${project.version}</version>
208         </dependency>
209         <dependency>
210             <groupId>org.opendaylight.aaa</groupId>
211             <artifactId>authz-service-config</artifactId>
212             <version>${project.version}</version>
213             <type>xml</type>
214             <classifier>config</classifier>
215         </dependency>
216         <dependency>
217             <groupId>org.opendaylight.aaa</groupId>
218             <artifactId>authz-restconf-connector-config</artifactId>
219             <version>${project.version}</version>
220             <type>xml</type>
221             <classifier>config</classifier>
222         </dependency>
223         <dependency>
224             <groupId>org.opendaylight.controller</groupId>
225             <artifactId>features-mdsal</artifactId>
226             <version>${mdsal.version}</version>
227             <classifier>features</classifier>
228             <type>xml</type>
229         </dependency>
230         <dependency>
231             <groupId>org.opendaylight.controller</groupId>
232             <artifactId>features-config</artifactId>
233             <version>${config.version}</version>
234             <classifier>features</classifier>
235             <type>xml</type>
236         </dependency>
237
238
239         <!-- odl-aaa-authn-plugin -->
240         <dependency>
241             <groupId>org.opendaylight.controller</groupId>
242             <artifactId>features-netconf</artifactId>
243             <version>${netconf.version}</version>
244             <classifier>features</classifier>
245             <type>xml</type>
246         </dependency>
247         <dependency>
248             <groupId>org.opendaylight.aaa</groupId>
249             <artifactId>aaa-authn-odl-plugin</artifactId>
250             <version>${project.version}</version>
251         </dependency>
252         <dependency>
253             <groupId>org.opendaylight.aaa</groupId>
254             <artifactId>aaa-authn-idpmapping</artifactId>
255             <version>${project.version}</version>
256         </dependency>
257
258         <!-- test to validate features.xml -->
259         <dependency>
260             <groupId>org.opendaylight.yangtools</groupId>
261             <artifactId>features-test</artifactId>
262             <version>${feature.test.version}</version>
263             <scope>test</scope>
264         </dependency>
265         <!-- dependency for opendaylight-karaf-empty for use by testing -->
266         <dependency>
267             <groupId>org.opendaylight.controller</groupId>
268             <artifactId>opendaylight-karaf-empty</artifactId>
269             <version>${karaf.empty.version}</version>
270             <type>zip</type>
271         </dependency>
272     </dependencies>
273     <build>
274         <resources>
275             <resource>
276                 <directory>src/main/resources</directory>
277                 <filtering>true</filtering>
278             </resource>
279         </resources>
280         <plugins>
281             <plugin>
282                 <groupId>org.apache.maven.plugins</groupId>
283                 <artifactId>maven-resources-plugin</artifactId>
284                 <executions>
285                     <execution>
286                         <id>filter</id>
287                         <phase>generate-resources</phase>
288                         <goals>
289                             <goal>resources</goal>
290                         </goals>
291                     </execution>
292                 </executions>
293             </plugin>
294             <plugin>
295                 <groupId>org.codehaus.mojo</groupId>
296                 <artifactId>build-helper-maven-plugin</artifactId>
297                 <executions>
298                     <execution>
299                         <id>attach-artifacts</id>
300                         <phase>package</phase>
301                         <goals>
302                             <goal>attach-artifact</goal>
303                         </goals>
304                         <configuration>
305                             <artifacts>
306                                 <artifact>
307                                     <file>${project.build.directory}/classes/${features.file}</file>
308                                     <type>xml</type>
309                                     <classifier>features</classifier>
310                                 </artifact>
311                             </artifacts>
312                         </configuration>
313                     </execution>
314                 </executions>
315             </plugin>
316             <plugin>
317                 <groupId>org.apache.maven.plugins</groupId>
318                 <artifactId>maven-surefire-plugin</artifactId>
319                 <version>${surefire.version}</version>
320                 <configuration>
321                     <systemPropertyVariables>
322                         <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
323                         <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
324                         <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
325                     </systemPropertyVariables>
326                     <dependenciesToScan>
327                         <dependency>org.opendaylight.yangtools:features-test</dependency>
328                     </dependenciesToScan>
329                 </configuration>
330             </plugin>
331         </plugins>
332     </build>
333     <scm>
334         <connection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</connection>
335         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</developerConnection>
336         <tag>HEAD</tag>
337         <url>https://git.opendaylight.org/gerrit/gitweb?p=aaa.git;a=summary</url>
338     </scm>
339 </project>