Merge "Update README.md to current status of AAA project"
[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     <dependency>
87       <groupId>javax.servlet</groupId>
88       <artifactId>javax.servlet-api</artifactId>
89     </dependency>
90     <dependency>
91       <groupId>com.google.guava</groupId>
92       <artifactId>guava</artifactId>
93     </dependency>
94
95     <!-- Testing Dependencies -->
96     <dependency>
97       <groupId>junit</groupId>
98       <artifactId>junit</artifactId>
99       <scope>test</scope>
100     </dependency>
101     <dependency>
102       <groupId>org.mockito</groupId>
103       <artifactId>mockito-all</artifactId>
104       <scope>test</scope>
105     </dependency>
106     <dependency>
107       <groupId>ch.qos.logback</groupId>
108       <artifactId>logback-core</artifactId>
109       <scope>test</scope>
110     </dependency>
111     <dependency>
112       <groupId>ch.qos.logback</groupId>
113       <artifactId>logback-classic</artifactId>
114       <scope>test</scope>
115     </dependency>
116   </dependencies>
117
118   <build>
119     <plugins>
120       <plugin>
121         <groupId>org.apache.felix</groupId>
122         <artifactId>maven-bundle-plugin</artifactId>
123         <extensions>true</extensions>
124         <configuration>
125           <instructions>
126             <Web-ContextPath>/moon</Web-ContextPath>
127             <Bundle-Activator>org.opendaylight.aaa.shiro.Activator</Bundle-Activator>
128             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
129           </instructions>
130         </configuration>
131       </plugin>
132       <plugin>
133         <groupId>org.codehaus.mojo</groupId>
134         <artifactId>build-helper-maven-plugin</artifactId>
135         <executions>
136           <execution>
137             <id>attach-artifacts</id>
138             <phase>package</phase>
139             <goals>
140               <goal>attach-artifact</goal>
141             </goals>
142             <configuration>
143               <artifacts>
144                 <artifact>
145                   <file>${project.build.directory}/classes/shiro.ini</file>
146                   <type>cfg</type>
147                   <classifier>configuration</classifier>
148                 </artifact>
149               </artifacts>
150             </configuration>
151           </execution>
152         </executions>
153       </plugin>
154     </plugins>
155   </build>
156 </project>