Added libraries used by idmlight into feature pom.xml
[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     <groupId>org.opendaylight.aaa</groupId>
18     <packaging>jar</packaging>
19
20     <properties>
21         <features.file>features.xml</features.file>
22         <authnCfg.file>authn.cfg</authnCfg.file>
23         <tokenCfg.file>tokens.cfg</tokenCfg.file>
24         <branding.version>1.0.0-SNAPSHOT</branding.version>
25         <karaf.resources.version>1.4.2-SNAPSHOT</karaf.resources.version>
26         <karaf.version>3.0.1</karaf.version>
27         <feature.test.version>0.6.2-SNAPSHOT</feature.test.version>
28         <karaf.empty.version>1.4.2-SNAPSHOT</karaf.empty.version>
29         <surefire.version>2.16</surefire.version>
30     </properties>
31
32     <dependencies>
33         <!-- odl-aaa-authn -->
34         <dependency>
35             <groupId>com.sun.jersey</groupId>
36             <artifactId>jersey-servlet</artifactId>
37             <version>1.17</version>
38         </dependency>
39         <dependency>
40             <groupId>com.sun.jersey</groupId>
41             <artifactId>jersey-core</artifactId>
42             <version>1.17</version>
43         </dependency>
44         <dependency>
45             <groupId>com.sun.jersey</groupId>
46             <artifactId>jersey-server</artifactId>
47             <version>1.17</version>
48         </dependency>
49         <dependency>
50             <groupId>org.apache.felix</groupId>
51             <artifactId>org.apache.felix.dependencymanager</artifactId>
52             <version>3.1.0</version>
53         </dependency>
54         <dependency>
55             <groupId>org.apache.felix</groupId>
56             <artifactId>org.apache.felix.metatype</artifactId>
57             <version>1.0.10</version>
58         </dependency>
59         <dependency>
60             <groupId>net.sf.ehcache</groupId>
61             <artifactId>ehcache</artifactId>
62             <version>2.8.3</version>
63         </dependency>
64         <dependency>
65             <groupId>org.apache.geronimo.specs</groupId>
66             <artifactId>geronimo-jta_1.1_spec</artifactId>
67             <version>1.1.1</version>
68         </dependency>
69         <dependency>
70             <groupId>org.apache.oltu.oauth2</groupId>
71             <artifactId>org.apache.oltu.oauth2.common</artifactId>
72             <version>1.0.0</version>
73         </dependency>
74         <dependency>
75             <groupId>org.apache.oltu.oauth2</groupId>
76             <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
77             <version>1.0.0</version>
78         </dependency>
79         <dependency>
80             <groupId>org.apache.oltu.oauth2</groupId>
81             <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
82             <version>1.0.0</version>
83         </dependency>
84         <dependency>
85             <groupId>commons-codec</groupId>
86             <artifactId>commons-codec</artifactId>
87             <version>1.8</version>
88         </dependency>
89         <dependency>
90             <groupId>org.json</groupId>
91             <artifactId>json</artifactId>
92             <version>20131018</version>
93         </dependency>
94         <dependency>
95             <groupId>com.sun.jersey</groupId>
96             <artifactId>jersey-json</artifactId>
97             <version>1.17</version>
98         </dependency>
99         <dependency>
100             <groupId>org.codehaus.jackson</groupId>
101             <artifactId>jackson-core-asl</artifactId>
102             <version>1.9.2</version>
103         </dependency>
104         <dependency>
105             <groupId>org.codehaus.jackson</groupId>
106             <artifactId>jackson-mapper-asl</artifactId>
107             <version>1.9.2</version>
108         </dependency>
109         <dependency>
110             <groupId>org.codehaus.jackson</groupId>
111             <artifactId>jackson-jaxrs</artifactId>
112             <version>1.9.2</version>
113         </dependency>
114         <dependency>
115             <groupId>org.codehaus.jackson</groupId>
116             <artifactId>jackson-xc</artifactId>
117             <version>1.9.2</version>
118         </dependency>
119         <dependency>
120             <groupId>org.codehaus.jettison</groupId>
121             <artifactId>jettison</artifactId>
122             <version>1.1</version>
123         </dependency>
124         <dependency>
125             <groupId>org.xerial</groupId>
126             <artifactId>sqlite-jdbc</artifactId>
127             <version>3.7.2</version>
128         </dependency>
129
130         <dependency>
131             <groupId>org.opendaylight.aaa</groupId>
132             <artifactId>aaa-authn-api</artifactId>
133             <version>${project.version}</version>
134         </dependency>
135         <dependency>
136             <groupId>org.opendaylight.aaa</groupId>
137             <artifactId>aaa-authn</artifactId>
138             <version>${project.version}</version>
139         </dependency>
140         <dependency>
141             <groupId>org.opendaylight.aaa</groupId>
142             <artifactId>aaa-authn-sts</artifactId>
143             <version>${project.version}</version>
144         </dependency>
145         <dependency>
146             <groupId>org.opendaylight.aaa</groupId>
147             <artifactId>aaa-authn-store</artifactId>
148             <version>${project.version}</version>
149         </dependency>
150         <dependency>
151             <groupId>org.opendaylight.aaa</groupId>
152             <artifactId>aaa-authn-basic</artifactId>
153             <version>${project.version}</version>
154         </dependency>
155         <dependency>
156             <groupId>org.opendaylight.aaa</groupId>
157             <artifactId>aaa-idmlight</artifactId>
158             <version>${project.version}</version>
159         </dependency>
160         <dependency>
161             <groupId>org.opendaylight.aaa</groupId>
162             <artifactId>features-aaa</artifactId>
163             <version>${project.version}</version>
164             <type>cfg</type>
165             <classifier>authn</classifier>
166         </dependency>
167         <dependency>
168             <groupId>org.opendaylight.aaa</groupId>
169             <artifactId>features-aaa</artifactId>
170             <version>${project.version}</version>
171             <type>cfg</type>
172             <classifier>tokens</classifier>
173         </dependency>
174
175         <!-- odl-aaa-sssd -->
176         <dependency>
177             <groupId>org.opendaylight.aaa</groupId>
178             <artifactId>aaa-authn-sssd</artifactId>
179             <version>${project.version}</version>
180         </dependency>
181
182         <!-- odl-aaa-authz -->
183         <dependency>
184             <groupId>org.opendaylight.yangtools</groupId>
185             <artifactId>features-yangtools</artifactId>
186             <version>${yangtools.version}</version>
187             <classifier>features</classifier>
188             <type>xml</type>
189         </dependency>
190         <dependency>
191             <groupId>org.opendaylight.aaa</groupId>
192             <artifactId>aaa-authz-model</artifactId>
193             <version>${project.version}</version>
194         </dependency>
195
196         <!-- test to validate features.xml -->
197         <dependency>
198             <groupId>org.opendaylight.yangtools</groupId>
199             <artifactId>features-test</artifactId>
200             <version>${feature.test.version}</version>
201             <scope>test</scope>
202         </dependency>
203         <!-- dependency for opendaylight-karaf-empty for use by testing -->
204         <dependency>
205             <groupId>org.opendaylight.controller</groupId>
206             <artifactId>opendaylight-karaf-empty</artifactId>
207             <version>${karaf.empty.version}</version>
208             <type>zip</type>
209         </dependency>
210         <!-- Uncomment this if you get an error : java.lang.NoSuchMethodError: 
211             org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; 
212             <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> 
213             <version>1.7.2</version> </dependency> -->
214
215     </dependencies>
216     <build>
217         <resources>
218             <resource>
219                 <directory>src/main/resources</directory>
220                 <filtering>true</filtering>
221             </resource>
222         </resources>
223         <plugins>
224             <plugin>
225                 <groupId>org.apache.maven.plugins</groupId>
226                 <artifactId>maven-resources-plugin</artifactId>
227                 <executions>
228                     <execution>
229                         <id>filter</id>
230                         <phase>generate-resources</phase>
231                         <goals>
232                             <goal>resources</goal>
233                         </goals>
234                     </execution>
235                 </executions>
236             </plugin>
237             <plugin>
238                 <groupId>org.codehaus.mojo</groupId>
239                 <artifactId>build-helper-maven-plugin</artifactId>
240                 <executions>
241                     <execution>
242                         <id>attach-artifacts</id>
243                         <phase>package</phase>
244                         <goals>
245                             <goal>attach-artifact</goal>
246                         </goals>
247                         <configuration>
248                             <artifacts>
249                                 <artifact>
250                                     <file>${project.build.directory}/classes/${features.file}</file>
251                                     <type>xml</type>
252                                     <classifier>features</classifier>
253                                 </artifact>
254                                 <artifact>
255                                     <file>${project.build.directory}/classes/${authnCfg.file}</file>
256                                     <type>cfg</type>
257                                     <classifier>authn</classifier>
258                                 </artifact>
259                                 <artifact>
260                                     <file>${project.build.directory}/classes/${tokenCfg.file}</file>
261                                     <type>cfg</type>
262                                     <classifier>tokens</classifier>
263                                 </artifact>
264                             </artifacts>
265                         </configuration>
266                     </execution>
267                 </executions>
268             </plugin>
269             <plugin>
270                 <groupId>org.apache.maven.plugins</groupId>
271                 <artifactId>maven-surefire-plugin</artifactId>
272                 <version>${surefire.version}</version>
273                 <configuration>
274                     <systemPropertyVariables>
275                         <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
276                         <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
277                         <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
278                     </systemPropertyVariables>
279                     <dependenciesToScan>
280                         <dependency>org.opendaylight.yangtools:features-test</dependency>
281                     </dependenciesToScan>
282                 </configuration>
283             </plugin>
284         </plugins>
285     </build>
286     <scm>
287         <connection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</connection>
288         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</developerConnection>
289         <tag>HEAD</tag>
290         <url>https://git.opendaylight.org/gerrit/gitweb?p=aaa.git;a=summary</url>
291     </scm>
292 </project>