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"
11 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12 <modelVersion>4.0.0</modelVersion>
15 <groupId>org.opendaylight.odlparent</groupId>
16 <artifactId>bundle-parent</artifactId>
17 <version>2.0.5</version>
21 <groupId>org.opendaylight.aaa</groupId>
22 <artifactId>aaa-shiro</artifactId>
23 <version>0.7.0-SNAPSHOT</version>
24 <name>ODL :: aaa :: ${project.artifactId}</name>
25 <packaging>bundle</packaging>
27 <dependencyManagement>
30 <groupId>${project.groupId}</groupId>
31 <artifactId>aaa-parent</artifactId>
32 <version>${project.version}</version>
37 <groupId>${project.groupId}</groupId>
38 <artifactId>aaa-artifacts</artifactId>
39 <version>${project.version}</version>
44 </dependencyManagement>
48 <groupId>${project.groupId}</groupId>
49 <artifactId>aaa-shiro-api</artifactId>
52 <!-- jersey client for moon authN -->
54 <groupId>com.sun.jersey</groupId>
55 <artifactId>jersey-client</artifactId>
56 <scope>provided</scope>
58 <!-- OAuth2 dependencies for moon -->
60 <groupId>org.apache.oltu.oauth2</groupId>
61 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
64 <groupId>org.apache.oltu.oauth2</groupId>
65 <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
68 <groupId>com.fasterxml.jackson.jaxrs</groupId>
69 <artifactId>jackson-jaxrs-json-provider</artifactId>
72 <groupId>org.opendaylight.aaa</groupId>
73 <artifactId>aaa-cert</artifactId>
76 <groupId>org.apache.shiro</groupId>
77 <artifactId>shiro-web</artifactId>
79 <!-- Enforce newer commons-beanutils and commons-collections versions -->
81 <groupId>commons-beanutils</groupId>
82 <artifactId>commons-beanutils</artifactId>
83 <version>1.9.3</version>
86 <groupId>commons-collections</groupId>
87 <artifactId>commons-collections</artifactId>
88 <version>3.2.2</version>
92 <groupId>org.apache.felix</groupId>
93 <artifactId>org.apache.felix.dependencymanager</artifactId>
94 <scope>provided</scope>
99 <groupId>org.opendaylight.controller</groupId>
100 <artifactId>sal-binding-api</artifactId>
103 <groupId>org.opendaylight.controller</groupId>
104 <artifactId>sal-common-util</artifactId>
107 <groupId>org.opendaylight.aaa</groupId>
108 <artifactId>aaa-filterchain</artifactId>
111 <groupId>com.sun.jersey</groupId>
112 <artifactId>jersey-server</artifactId>
115 <groupId>javax.servlet</groupId>
116 <artifactId>javax.servlet-api</artifactId>
119 <groupId>org.apache.felix</groupId>
120 <artifactId>org.apache.felix.dependencymanager</artifactId>
121 <scope>provided</scope>
124 <groupId>org.mockito</groupId>
125 <artifactId>mockito-core</artifactId>
129 <groupId>org.osgi</groupId>
130 <artifactId>org.osgi.core</artifactId>
133 <!-- JSON JAXB Stuff -->
135 <groupId>com.fasterxml.jackson.core</groupId>
136 <artifactId>jackson-core</artifactId>
139 <groupId>com.fasterxml.jackson.core</groupId>
140 <artifactId>jackson-annotations</artifactId>
143 <groupId>com.fasterxml.jackson.core</groupId>
144 <artifactId>jackson-databind</artifactId>
147 <groupId>com.fasterxml.jackson.datatype</groupId>
148 <artifactId>jackson-datatype-json-org</artifactId>
151 <groupId>com.fasterxml.jackson.jaxrs</groupId>
152 <artifactId>jackson-jaxrs-base</artifactId>
155 <groupId>com.fasterxml.jackson.jaxrs</groupId>
156 <artifactId>jackson-jaxrs-json-provider</artifactId>
159 <groupId>com.fasterxml.jackson.module</groupId>
160 <artifactId>jackson-module-jaxb-annotations</artifactId>
163 <groupId>org.eclipse.jetty</groupId>
164 <artifactId>jetty-servlets</artifactId>
165 <scope>provided</scope>
168 <!-- Testing Dependencies -->
170 <groupId>com.sun.jersey.jersey-test-framework</groupId>
171 <artifactId>jersey-test-framework-grizzly2</artifactId>
175 <groupId>junit</groupId>
176 <artifactId>junit</artifactId>
180 <groupId>org.slf4j</groupId>
181 <artifactId>jul-to-slf4j</artifactId>
182 <version>1.7.21</version>
186 <groupId>com.sun.jersey</groupId>
187 <artifactId>jersey-servlet</artifactId>
190 <groupId>org.mockito</groupId>
191 <artifactId>mockito-core</artifactId>
195 <groupId>org.hamcrest</groupId>
196 <artifactId>hamcrest-library</artifactId>
200 <groupId>ch.qos.logback</groupId>
201 <artifactId>logback-core</artifactId>
205 <groupId>ch.qos.logback</groupId>
206 <artifactId>logback-classic</artifactId>
210 <groupId>com.sun.jersey.jersey-test-framework</groupId>
211 <artifactId>jersey-test-framework-grizzly2</artifactId>
215 <groupId>org.mortbay.jetty</groupId>
216 <artifactId>jetty-servlet-tester</artifactId>
217 <version>7.0.0.pre5</version>
225 <groupId>org.apache.felix</groupId>
226 <artifactId>maven-bundle-plugin</artifactId>
227 <extensions>true</extensions>
230 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
232 org.opendaylight.aaa.impl.shiro,
233 org.opendaylight.aaa.impl.shiro.tokenauthrealm,
234 org.opendaylight.aaa.impl.shiro.tokenauthrealm.auth,
235 org.opendaylight.aaa.shiro,
236 org.opendaylight.aaa.shiro.filters,
237 org.opendaylight.aaa.shiro.realm,
238 org.opendaylight.aaa.shiro.web.env
242 com.sun.jersey.spi.container.servlet,
245 org.apache.oltu.oauth2.*,
246 javax.ws.rs,javax.ws.rs.core,
247 javax.xml.bind.annotation,
248 org.opendaylight.aaa.*,
249 org.opendaylight.aaa.api.*,
250 org.opendaylight.aaa.filterchain.filters,
253 org.apache.shiro.web.env,org.apache.shiro.authc,
254 org.eclipse.jetty.servlets;version="[8.1,10)",
257 org.osgi.util.tracker,
258 org.osgi.service.cm.*,
259 org.osgi.service.http.*,
260 org.apache.shiro.web.*,
264 <Web-ContextPath>/auth</Web-ContextPath>
269 <groupId>org.codehaus.mojo</groupId>
270 <artifactId>build-helper-maven-plugin</artifactId>
273 <id>attach-artifacts</id>
274 <phase>package</phase>
276 <goal>attach-artifact</goal>
280 <!-- attach idmtool as an artifact -->
282 <file>${project.build.directory}/classes/idmtool.py</file>
284 <classifier>idmtool</classifier>
286 <!-- attach aaa-app-config.xml as an artifact -->
288 <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
290 <classifier>aaa-app-config</classifier>
292 <!-- attach convert-shiro-ini-to-rest-payload.py as an artifact -->
294 <file>${project.build.directory}/classes/convert-shiro-ini-to-rest-payload.py</file>
296 <classifier>convert-shiro-ini</classifier>