8186d967a69310382d1dab689516e8def78c1096
[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.3.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       <version>1.2.3</version>
35     </dependency>
36     <dependency>
37       <groupId>org.apache.shiro</groupId>
38       <artifactId>shiro-web</artifactId>
39       <version>1.2.3</version>
40     </dependency>
41     <dependency>
42       <groupId>org.slf4j</groupId>
43       <artifactId>slf4j-api</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>commons-beanutils</groupId>
47       <artifactId>commons-beanutils</artifactId>
48       <version>1.8.3</version>
49     </dependency>
50     <dependency>
51       <groupId>javax.servlet</groupId>
52       <artifactId>javax.servlet-api</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>com.google.guava</groupId>
56       <artifactId>guava</artifactId>
57     </dependency>
58
59     <!-- Testing Dependencies -->
60     <dependency>
61       <groupId>junit</groupId>
62       <artifactId>junit</artifactId>
63       <scope>test</scope>
64     </dependency>
65     <dependency>
66       <groupId>org.mockito</groupId>
67       <artifactId>mockito-all</artifactId>
68       <scope>test</scope>
69     </dependency>
70   </dependencies>
71   <build>
72     <pluginManagement>
73       <plugins>
74         <plugin>
75           <groupId>org.apache.felix</groupId>
76           <artifactId>maven-bundle-plugin</artifactId>
77           <version>${bundle.plugin.version}</version>
78           <extensions>true</extensions>
79           <configuration>
80             <instructions>
81               <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
82             </instructions>
83             <manifestLocation>${project.basedir}/META-INF</manifestLocation>
84           </configuration>
85         </plugin>
86       </plugins>
87     </pluginManagement>
88     <plugins>
89       <plugin>
90         <groupId>org.apache.felix</groupId>
91         <artifactId>maven-bundle-plugin</artifactId>
92         <extensions>true</extensions>
93         <configuration>
94           <instructions>
95             <Bundle-Activator>org.opendaylight.aaa.shiro.Activator</Bundle-Activator>
96           </instructions>
97         </configuration>
98       </plugin>
99       <plugin>
100         <groupId>org.apache.maven.plugins</groupId>
101         <artifactId>maven-jar-plugin</artifactId>
102       </plugin>
103       <plugin>
104         <groupId>org.codehaus.mojo</groupId>
105         <artifactId>build-helper-maven-plugin</artifactId>
106         <executions>
107           <execution>
108             <id>attach-artifacts</id>
109             <phase>package</phase>
110             <goals>
111               <goal>attach-artifact</goal>
112             </goals>
113             <configuration>
114               <artifacts>
115                 <artifact>
116                   <file>${project.build.directory}/classes/shiro.ini</file>
117                   <type>cfg</type>
118                   <classifier>configuration</classifier>
119                 </artifact>
120               </artifacts>
121             </configuration>
122           </execution>
123         </executions>
124       </plugin>
125     </plugins>
126   </build>
127 </project>