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