df7ddd9200554463239b7abc9d9c480a789b9a16
[aaa.git] / aaa-shiro / pom.xml
1 <!-- Copyright (c) 2015 Brocade Communications Systems, Inc. and others.
2   All rights reserved. This program and the accompanying materials are made
3   available under the terms of the Eclipse Public License v1.0 which accompanies
4   this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html -->
5 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
7   <modelVersion>4.0.0</modelVersion>
8   <parent>
9     <groupId>org.opendaylight.aaa</groupId>
10     <artifactId>aaa-parent</artifactId>
11     <version>0.4.0-SNAPSHOT</version>
12     <relativePath>../parent</relativePath>
13   </parent>
14
15   <artifactId>aaa-shiro</artifactId>
16   <packaging>bundle</packaging>
17
18   <dependencies>
19     <dependency>
20       <groupId>org.apache.felix</groupId>
21       <artifactId>org.apache.felix.dependencymanager</artifactId>
22     </dependency>
23     <dependency>
24       <groupId>org.opendaylight.aaa</groupId>
25       <artifactId>aaa-authn-sts</artifactId>
26     </dependency>
27     <dependency>
28       <groupId>org.opendaylight.aaa</groupId>
29       <artifactId>aaa-authn-basic</artifactId>
30     </dependency>
31     <dependency>
32       <groupId>org.apache.shiro</groupId>
33       <artifactId>shiro-core</artifactId>
34     </dependency>
35     <dependency>
36       <groupId>org.apache.shiro</groupId>
37       <artifactId>shiro-web</artifactId>
38     </dependency>
39     <dependency>
40       <groupId>org.slf4j</groupId>
41       <artifactId>slf4j-api</artifactId>
42     </dependency>
43     <dependency>
44       <groupId>commons-beanutils</groupId>
45       <artifactId>commons-beanutils</artifactId>
46       <version>1.8.3</version>
47     </dependency>
48     <dependency>
49       <groupId>javax.servlet</groupId>
50       <artifactId>javax.servlet-api</artifactId>
51     </dependency>
52     <dependency>
53       <groupId>com.google.guava</groupId>
54       <artifactId>guava</artifactId>
55     </dependency>
56
57     <!-- Testing Dependencies -->
58     <dependency>
59       <groupId>junit</groupId>
60       <artifactId>junit</artifactId>
61       <scope>test</scope>
62     </dependency>
63     <dependency>
64       <groupId>org.mockito</groupId>
65       <artifactId>mockito-all</artifactId>
66       <scope>test</scope>
67     </dependency>
68     <dependency>
69       <groupId>ch.qos.logback</groupId>
70       <artifactId>logback-core</artifactId>
71       <version>1.1.6</version>
72       <scope>test</scope>
73     </dependency>
74     <dependency>
75       <groupId>ch.qos.logback</groupId>
76       <artifactId>logback-classic</artifactId>
77       <version>1.1.6</version>
78       <scope>test</scope>
79     </dependency>
80   </dependencies>
81   <build>
82     <pluginManagement>
83       <plugins>
84         <plugin>
85           <groupId>org.apache.felix</groupId>
86           <artifactId>maven-bundle-plugin</artifactId>
87           <version>${bundle.plugin.version}</version>
88           <extensions>true</extensions>
89           <configuration>
90             <instructions>
91               <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
92             </instructions>
93             <manifestLocation>${project.basedir}/META-INF</manifestLocation>
94           </configuration>
95         </plugin>
96       </plugins>
97     </pluginManagement>
98     <plugins>
99       <plugin>
100         <groupId>org.apache.felix</groupId>
101         <artifactId>maven-bundle-plugin</artifactId>
102         <extensions>true</extensions>
103         <configuration>
104           <instructions>
105             <Bundle-Activator>org.opendaylight.aaa.shiro.Activator</Bundle-Activator>
106             <DynamicImport-Package>*</DynamicImport-Package>
107           </instructions>
108         </configuration>
109       </plugin>
110       <plugin>
111         <groupId>org.apache.maven.plugins</groupId>
112         <artifactId>maven-jar-plugin</artifactId>
113       </plugin>
114       <plugin>
115         <groupId>org.codehaus.mojo</groupId>
116         <artifactId>build-helper-maven-plugin</artifactId>
117         <executions>
118           <execution>
119             <id>attach-artifacts</id>
120             <phase>package</phase>
121             <goals>
122               <goal>attach-artifact</goal>
123             </goals>
124             <configuration>
125               <artifacts>
126                 <artifact>
127                   <file>${project.build.directory}/classes/shiro.ini</file>
128                   <type>cfg</type>
129                   <classifier>configuration</classifier>
130                 </artifact>
131               </artifacts>
132             </configuration>
133           </execution>
134         </executions>
135       </plugin>
136     </plugins>
137   </build>
138 </project>