Merge "Bug 2515 - Jersey to support JAX-RS 2.0"
[aaa.git] / aaa-authn / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2014-2015 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         <groupId>org.opendaylight.aaa</groupId>
11         <artifactId>aaa-parent</artifactId>
12         <version>0.3.0-SNAPSHOT</version>
13         <relativePath>../parent</relativePath>
14     </parent>
15
16     <artifactId>aaa-authn</artifactId>
17     <version>0.3.0-SNAPSHOT</version>
18     <packaging>bundle</packaging>
19
20     <dependencies>
21         <dependency>
22             <groupId>org.opendaylight.aaa</groupId>
23             <artifactId>aaa-authn-api</artifactId>
24         </dependency>
25         <dependency>
26             <groupId>com.google.guava</groupId>
27             <artifactId>guava</artifactId>
28         </dependency>
29         <dependency>
30             <groupId>org.slf4j</groupId>
31             <artifactId>slf4j-api</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>org.glassfish.jersey.core</groupId>
35             <artifactId>jersey-server</artifactId>
36             <scope>provided</scope>
37         </dependency>
38         <dependency>
39             <groupId>org.osgi</groupId>
40             <artifactId>org.osgi.core</artifactId>
41             <scope>provided</scope>
42         </dependency>
43         <dependency>
44             <groupId>org.osgi</groupId>
45             <artifactId>org.osgi.compendium</artifactId>
46             <scope>provided</scope>
47         </dependency>
48         <dependency>
49             <groupId>org.apache.felix</groupId>
50             <artifactId>org.apache.felix.dependencymanager</artifactId>
51             <scope>provided</scope>
52         </dependency>
53         <!-- Testing Dependencies -->
54         <dependency>
55             <groupId>junit</groupId>
56             <artifactId>junit</artifactId>
57             <scope>test</scope>
58         </dependency>
59         <dependency>
60             <groupId>org.slf4j</groupId>
61             <artifactId>slf4j-simple</artifactId>
62             <scope>test</scope>
63         </dependency>
64     </dependencies>
65
66     <build>
67         <plugins>
68             <plugin>
69                 <groupId>org.apache.felix</groupId>
70                 <artifactId>maven-bundle-plugin</artifactId>
71                 <extensions>true</extensions>
72                 <configuration>
73                     <instructions>
74                         <Bundle-Activator>org.opendaylight.aaa.Activator</Bundle-Activator>
75                     </instructions>
76                     <manifestLocation>${project.basedir}/META-INF</manifestLocation>
77                 </configuration>
78             </plugin>
79             <plugin>
80                 <groupId>org.codehaus.mojo</groupId>
81                 <artifactId>build-helper-maven-plugin</artifactId>
82                 <executions>
83                     <execution>
84                         <id>attach-artifacts</id>
85                         <phase>package</phase>
86                         <goals>
87                             <goal>attach-artifact</goal>
88                         </goals>
89                         <configuration>
90                             <artifacts>
91                                 <artifact>
92                                     <file>${project.build.directory}/classes/authn.cfg</file>
93                                     <type>cfg</type>
94                                     <classifier>config</classifier>
95                                 </artifact>
96                             </artifacts>
97                         </configuration>
98                     </execution>
99                 </executions>
100             </plugin>
101         </plugins>
102     </build>
103
104 </project>