1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
4 Copyright © 2017 Brocade Communications Systems and others. All rights reserved.
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
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>
14 <groupId>org.opendaylight.controller</groupId>
15 <artifactId>config-parent</artifactId>
16 <version>0.7.0-SNAPSHOT</version>
20 <groupId>org.opendaylight.aaa</groupId>
21 <artifactId>aaa-shiro</artifactId>
22 <version>0.6.0-SNAPSHOT</version>
23 <name>ODL :: aaa :: ${project.artifactId}</name>
24 <packaging>bundle</packaging>
26 <dependencyManagement>
29 <groupId>${project.groupId}</groupId>
30 <artifactId>aaa-parent</artifactId>
31 <version>${project.version}</version>
36 <groupId>${project.groupId}</groupId>
37 <artifactId>aaa-artifacts</artifactId>
38 <version>${project.version}</version>
43 </dependencyManagement>
47 <groupId>${project.groupId}</groupId>
48 <artifactId>aaa-shiro-api</artifactId>
51 <!-- jersey client for moon authN -->
53 <groupId>com.sun.jersey</groupId>
54 <artifactId>jersey-client</artifactId>
55 <scope>provided</scope>
58 <groupId>org.json</groupId>
59 <artifactId>json</artifactId>
61 <!-- OAuth2 dependencies for moon -->
63 <groupId>org.apache.oltu.oauth2</groupId>
64 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
67 <groupId>org.apache.oltu.oauth2</groupId>
68 <artifactId>org.apache.oltu.oauth2.common</artifactId>
71 <groupId>org.apache.oltu.oauth2</groupId>
72 <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
75 <!-- KeystoneAuthRealm -->
77 <groupId>com.fasterxml.jackson.jaxrs</groupId>
78 <artifactId>jackson-jaxrs-json-provider</artifactId>
81 <groupId>org.opendaylight.aaa</groupId>
82 <artifactId>aaa-cert</artifactId>
86 <groupId>org.apache.shiro</groupId>
87 <artifactId>shiro-core</artifactId>
90 <groupId>org.apache.shiro</groupId>
91 <artifactId>shiro-web</artifactId>
94 <groupId>commons-beanutils</groupId>
95 <artifactId>commons-beanutils</artifactId>
96 <version>1.8.3</version>
98 <!-- commons-beanutils' dependency on commons-collections is supposed to be optional... -->
100 <groupId>commons-collections</groupId>
101 <artifactId>commons-collections</artifactId>
102 <version>3.2.2</version>
105 <groupId>javax.servlet</groupId>
106 <artifactId>javax.servlet-api</artifactId>
109 <groupId>com.google.guava</groupId>
110 <artifactId>guava</artifactId>
113 <groupId>org.osgi</groupId>
114 <artifactId>org.osgi.core</artifactId>
115 <scope>provided</scope>
118 <groupId>org.osgi</groupId>
119 <artifactId>org.osgi.compendium</artifactId>
120 <scope>provided</scope>
123 <groupId>org.apache.felix</groupId>
124 <artifactId>org.apache.felix.dependencymanager</artifactId>
125 <scope>provided</scope>
128 <!-- Testing Dependencies -->
130 <groupId>junit</groupId>
131 <artifactId>junit</artifactId>
135 <groupId>org.mockito</groupId>
136 <artifactId>mockito-core</artifactId>
140 <groupId>org.hamcrest</groupId>
141 <artifactId>hamcrest-library</artifactId>
145 <groupId>ch.qos.logback</groupId>
146 <artifactId>logback-core</artifactId>
150 <groupId>ch.qos.logback</groupId>
151 <artifactId>logback-classic</artifactId>
155 <groupId>com.sun.jersey.jersey-test-framework</groupId>
156 <artifactId>jersey-test-framework-grizzly2</artifactId>
160 <groupId>org.mortbay.jetty</groupId>
161 <artifactId>jetty-servlet-tester</artifactId>
162 <version>7.0.0.pre5</version>
170 <groupId>org.apache.felix</groupId>
171 <artifactId>maven-bundle-plugin</artifactId>
172 <extensions>true</extensions>
175 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
176 <Web-ContextPath>/</Web-ContextPath>
178 org.opendaylight.aaa.impl.shiro,
179 org.opendaylight.aaa.impl.shiro.tokenauthrealm,
180 org.opendaylight.aaa.impl.shiro.tokenauthrealm.auth,
181 org.opendaylight.aaa.shiro,
182 org.opendaylight.aaa.shiro.filters,
183 org.opendaylight.aaa.shiro.realm,
184 org.opendaylight.aaa.shiro.web.env
190 <groupId>org.codehaus.mojo</groupId>
191 <artifactId>build-helper-maven-plugin</artifactId>
194 <id>attach-artifacts</id>
195 <phase>package</phase>
197 <goal>attach-artifact</goal>
201 <!-- attach authn.cfg as an artifact -->
203 <file>${project.build.directory}/classes/authn.cfg</file>
205 <classifier>config</classifier>
207 <!-- attach aaa-app-config.xml as an artifact -->
209 <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
211 <classifier>aaa-app-config</classifier>
213 <!-- attach convert-shiro-ini-to-rest-payload.py as an artifact -->
215 <file>${project.build.directory}/classes/convert-shiro-ini-to-rest-payload.py</file>
217 <classifier>convert-shiro-ini</classifier>