Remove felix.dependencymanager from aaa-shiro & aaa-shiro-act
[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.controller</groupId>
15     <artifactId>config-parent</artifactId>
16     <version>0.6.0-SNAPSHOT</version>
17     <relativePath/>
18   </parent>
19
20   <groupId>org.opendaylight.aaa</groupId>
21   <artifactId>aaa-shiro</artifactId>
22   <version>0.5.0-SNAPSHOT</version>
23   <packaging>bundle</packaging>
24
25   <dependencies>
26     <dependency>
27       <groupId>${project.groupId}</groupId>
28       <artifactId>aaa-shiro-api</artifactId>
29       <version>${project.version}</version>
30     </dependency>
31
32     <!-- jersey client for moon authN -->
33     <dependency>
34       <groupId>com.sun.jersey</groupId>
35       <artifactId>jersey-client</artifactId>
36       <scope>provided</scope>
37     </dependency>
38     <dependency>
39       <groupId>org.json</groupId>
40       <artifactId>json</artifactId>
41     </dependency>
42     <!-- OAuth2 dependencies for moon -->
43     <dependency>
44       <groupId>org.apache.oltu.oauth2</groupId>
45       <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
46       <version>1.0.0</version>
47     </dependency>
48     <dependency>
49       <groupId>org.apache.oltu.oauth2</groupId>
50       <artifactId>org.apache.oltu.oauth2.common</artifactId>
51       <version>1.0.0</version>
52     </dependency>
53     <dependency>
54       <groupId>org.apache.oltu.oauth2</groupId>
55       <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
56       <version>1.0.0</version>
57     </dependency>
58     <!-- end -->
59     <dependency>
60       <groupId>org.opendaylight.aaa</groupId>
61       <artifactId>aaa-authn-sts</artifactId>
62       <version>0.5.0-SNAPSHOT</version>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.aaa</groupId>
66       <artifactId>aaa-authn-basic</artifactId>
67       <version>0.5.0-SNAPSHOT</version>
68     </dependency>
69     <dependency>
70       <groupId>org.apache.shiro</groupId>
71       <artifactId>shiro-core</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>org.apache.shiro</groupId>
75       <artifactId>shiro-web</artifactId>
76     </dependency>
77     <dependency>
78       <groupId>commons-beanutils</groupId>
79       <artifactId>commons-beanutils</artifactId>
80       <version>1.8.3</version>
81     </dependency>
82     <!-- commons-beanutils' dependency on commons-collections is supposed to be optional... -->
83     <dependency>
84       <groupId>commons-collections</groupId>
85       <artifactId>commons-collections</artifactId>
86       <version>3.2.2</version>
87     </dependency>
88     <dependency>
89       <groupId>javax.servlet</groupId>
90       <artifactId>javax.servlet-api</artifactId>
91     </dependency>
92     <dependency>
93       <groupId>com.google.guava</groupId>
94       <artifactId>guava</artifactId>
95     </dependency>
96
97     <!-- Testing Dependencies -->
98     <dependency>
99       <groupId>junit</groupId>
100       <artifactId>junit</artifactId>
101       <scope>test</scope>
102     </dependency>
103     <dependency>
104       <groupId>org.mockito</groupId>
105       <artifactId>mockito-core</artifactId>
106       <scope>test</scope>
107     </dependency>
108     <dependency>
109       <groupId>ch.qos.logback</groupId>
110       <artifactId>logback-core</artifactId>
111       <scope>test</scope>
112     </dependency>
113     <dependency>
114       <groupId>ch.qos.logback</groupId>
115       <artifactId>logback-classic</artifactId>
116       <scope>test</scope>
117     </dependency>
118       <dependency>
119           <groupId>org.apache.shiro</groupId>
120           <artifactId>shiro-core</artifactId>
121           <version>1.3.1</version>
122       </dependency>
123   </dependencies>
124
125   <build>
126     <plugins>
127       <plugin>
128         <groupId>org.apache.felix</groupId>
129         <artifactId>maven-bundle-plugin</artifactId>
130         <extensions>true</extensions>
131         <configuration>
132           <instructions>
133             <Web-ContextPath>/moon</Web-ContextPath>
134             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
135           </instructions>
136         </configuration>
137       </plugin>
138       <plugin>
139         <groupId>org.codehaus.mojo</groupId>
140         <artifactId>build-helper-maven-plugin</artifactId>
141         <executions>
142           <execution>
143             <id>attach-artifacts</id>
144             <phase>package</phase>
145             <goals>
146               <goal>attach-artifact</goal>
147             </goals>
148             <configuration>
149               <artifacts>
150                 <artifact>
151                   <file>${project.build.directory}/classes/shiro.ini</file>
152                   <type>cfg</type>
153                   <classifier>configuration</classifier>
154                 </artifact>
155               </artifacts>
156             </configuration>
157           </execution>
158         </executions>
159       </plugin>
160     </plugins>
161   </build>
162 </project>