cb0299b5b794ceb63f93680b75ee30f8977e8f89
[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.apache.felix</groupId>
61       <artifactId>org.apache.felix.dependencymanager</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.aaa</groupId>
65       <artifactId>aaa-authn-sts</artifactId>
66       <version>0.5.0-SNAPSHOT</version>
67     </dependency>
68     <dependency>
69       <groupId>org.opendaylight.aaa</groupId>
70       <artifactId>aaa-authn-basic</artifactId>
71       <version>0.5.0-SNAPSHOT</version>
72     </dependency>
73     <dependency>
74       <groupId>org.apache.shiro</groupId>
75       <artifactId>shiro-core</artifactId>
76     </dependency>
77     <dependency>
78       <groupId>org.apache.shiro</groupId>
79       <artifactId>shiro-web</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>commons-beanutils</groupId>
83       <artifactId>commons-beanutils</artifactId>
84       <version>1.8.3</version>
85     </dependency>
86     <!-- commons-beanutils' dependency on commons-collections is supposed to be optional... -->
87     <dependency>
88       <groupId>commons-collections</groupId>
89       <artifactId>commons-collections</artifactId>
90       <version>3.2.2</version>
91     </dependency>
92     <dependency>
93       <groupId>javax.servlet</groupId>
94       <artifactId>javax.servlet-api</artifactId>
95     </dependency>
96     <dependency>
97       <groupId>com.google.guava</groupId>
98       <artifactId>guava</artifactId>
99     </dependency>
100
101     <!-- Testing Dependencies -->
102     <dependency>
103       <groupId>junit</groupId>
104       <artifactId>junit</artifactId>
105       <scope>test</scope>
106     </dependency>
107     <dependency>
108       <groupId>org.mockito</groupId>
109       <artifactId>mockito-core</artifactId>
110       <scope>test</scope>
111     </dependency>
112     <dependency>
113       <groupId>ch.qos.logback</groupId>
114       <artifactId>logback-core</artifactId>
115       <scope>test</scope>
116     </dependency>
117     <dependency>
118       <groupId>ch.qos.logback</groupId>
119       <artifactId>logback-classic</artifactId>
120       <scope>test</scope>
121     </dependency>
122       <dependency>
123           <groupId>org.apache.shiro</groupId>
124           <artifactId>shiro-core</artifactId>
125           <version>1.3.1</version>
126       </dependency>
127   </dependencies>
128
129   <build>
130     <plugins>
131       <plugin>
132         <groupId>org.apache.felix</groupId>
133         <artifactId>maven-bundle-plugin</artifactId>
134         <extensions>true</extensions>
135         <configuration>
136           <instructions>
137             <Web-ContextPath>/moon</Web-ContextPath>
138             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
139           </instructions>
140         </configuration>
141       </plugin>
142       <plugin>
143         <groupId>org.codehaus.mojo</groupId>
144         <artifactId>build-helper-maven-plugin</artifactId>
145         <executions>
146           <execution>
147             <id>attach-artifacts</id>
148             <phase>package</phase>
149             <goals>
150               <goal>attach-artifact</goal>
151             </goals>
152             <configuration>
153               <artifacts>
154                 <artifact>
155                   <file>${project.build.directory}/classes/shiro.ini</file>
156                   <type>cfg</type>
157                   <classifier>configuration</classifier>
158                 </artifact>
159               </artifacts>
160             </configuration>
161           </execution>
162         </executions>
163       </plugin>
164     </plugins>
165   </build>
166 </project>