Moved configs to their respective bundles and added config for ClaimAuth
[aaa.git] / aaa-authn-sts / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6         <groupId>org.opendaylight.aaa</groupId>
7         <artifactId>aaa.project</artifactId>
8         <version>0.1.0-SNAPSHOT</version>
9         <relativePath>../</relativePath>
10     </parent>
11
12     <artifactId>aaa-authn-sts</artifactId>
13     <version>0.1.0-SNAPSHOT</version>
14     <packaging>bundle</packaging>
15
16     <dependencies>
17         <dependency>
18             <groupId>org.opendaylight.aaa</groupId>
19             <artifactId>aaa-authn</artifactId>
20             <version>${project.version}</version>
21         </dependency>
22         <dependency>
23             <groupId>org.opendaylight.aaa</groupId>
24             <artifactId>aaa-authn-api</artifactId>
25             <version>${project.version}</version>
26         </dependency>
27         <dependency>
28             <groupId>org.slf4j</groupId>
29             <artifactId>slf4j-api</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>com.sun.jersey</groupId>
33             <artifactId>jersey-server</artifactId>
34             <scope>provided</scope>
35         </dependency>
36         <dependency>
37             <groupId>javax.servlet</groupId>
38             <artifactId>servlet-api</artifactId>
39             <version>2.5</version>
40             <scope>provided</scope>
41         </dependency>
42         <dependency>
43             <groupId>org.apache.oltu.oauth2</groupId>
44             <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
45             <version>${oauth.version}</version>
46             <scope>provided</scope>
47         </dependency>
48         <dependency>
49             <groupId>org.apache.oltu.oauth2</groupId>
50             <artifactId>org.apache.oltu.oauth2.common</artifactId>
51             <version>${oauth.version}</version>
52             <scope>provided</scope>
53         </dependency>
54         <dependency>
55             <groupId>org.apache.oltu.oauth2</groupId>
56             <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
57             <version>${oauth.version}</version>
58             <scope>provided</scope>
59         </dependency>
60         <dependency>
61             <groupId>org.osgi</groupId>
62             <artifactId>org.osgi.core</artifactId>
63             <scope>provided</scope>
64         </dependency>
65         <dependency>
66             <groupId>org.apache.felix</groupId>
67             <artifactId>org.apache.felix.dependencymanager</artifactId>
68             <scope>provided</scope>
69         </dependency>
70         <!-- Testing Dependencies -->     
71         <dependency>
72             <groupId>com.sun.jersey.jersey-test-framework</groupId>
73             <artifactId>jersey-test-framework-grizzly2</artifactId>
74             <version>1.17</version>
75             <scope>test</scope>
76         </dependency>
77         <dependency>
78             <groupId>org.eclipse.jetty</groupId>
79             <artifactId>jetty-servlet-tester</artifactId>
80             <version>7.0.0.M2</version>
81             <scope>test</scope>
82         </dependency>
83         <dependency>
84             <groupId>junit</groupId>
85             <artifactId>junit</artifactId>
86             <scope>test</scope>
87         </dependency>
88         <dependency>
89             <groupId>org.mockito</groupId>
90             <artifactId>mockito-all</artifactId>
91             <scope>test</scope>
92         </dependency>
93         <dependency>
94             <groupId>org.slf4j</groupId>
95             <artifactId>slf4j-simple</artifactId>
96             <version>1.7.7</version>
97             <scope>test</scope>
98         </dependency>
99     </dependencies>
100
101     <build>
102         <plugins>
103             <plugin>
104                 <groupId>org.apache.felix</groupId>
105                 <artifactId>maven-bundle-plugin</artifactId>
106                 <extensions>true</extensions>
107                 <configuration>
108                     <instructions>
109                         <Import-Package>*,com.sun.jersey.spi.container.servlet</Import-Package>
110                         <Web-ContextPath>/oauth2</Web-ContextPath>
111                         <Bundle-Activator>org.opendaylight.aaa.sts.Activator</Bundle-Activator>
112                         <manifestLocation>${project.basedir}/META-INF</manifestLocation>
113                     </instructions>
114                 </configuration>
115             </plugin>
116             <plugin>
117                 <groupId>org.codehaus.mojo</groupId>
118                 <artifactId>build-helper-maven-plugin</artifactId>
119                 <executions>
120                     <execution>
121                         <id>attach-artifacts</id>
122                         <phase>package</phase>
123                         <goals>
124                             <goal>attach-artifact</goal>
125                         </goals>
126                         <configuration>
127                             <artifacts>
128                                 <artifact>
129                                     <file>${project.build.directory}/classes/federation.cfg</file>
130                                     <type>cfg</type>
131                                     <classifier>config</classifier>
132                                 </artifact>
133                             </artifacts>
134                         </configuration>
135                     </execution>
136                 </executions>
137             </plugin>            
138         </plugins>
139     </build>
140
141 </project>