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>org.opendaylight.aaa</groupId>
69 <artifactId>aaa-cert</artifactId>
72 <groupId>org.apache.shiro</groupId>
73 <artifactId>shiro-web</artifactId>
75 <!-- Enforce newer commons-beanutils and commons-collections versions -->
77 <groupId>commons-beanutils</groupId>
78 <artifactId>commons-beanutils</artifactId>
79 <version>1.9.3</version>
82 <groupId>commons-collections</groupId>
83 <artifactId>commons-collections</artifactId>
84 <version>3.2.2</version>
88 <groupId>com.google.code.gson</groupId>
89 <artifactId>gson</artifactId>
93 <groupId>org.apache.felix</groupId>
94 <artifactId>org.apache.felix.dependencymanager</artifactId>
95 <scope>provided</scope>
100 <groupId>org.opendaylight.controller</groupId>
101 <artifactId>sal-binding-api</artifactId>
104 <groupId>org.opendaylight.controller</groupId>
105 <artifactId>sal-common-util</artifactId>
108 <groupId>org.opendaylight.aaa</groupId>
109 <artifactId>aaa-filterchain</artifactId>
112 <groupId>com.sun.jersey</groupId>
113 <artifactId>jersey-server</artifactId>
116 <groupId>javax.servlet</groupId>
117 <artifactId>javax.servlet-api</artifactId>
120 <groupId>org.osgi</groupId>
121 <artifactId>org.osgi.core</artifactId>
124 <groupId>com.google.code.gson</groupId>
125 <artifactId>gson</artifactId>
127 <!-- JSON JAXB Stuff -->
129 <groupId>com.fasterxml.jackson.core</groupId>
130 <artifactId>jackson-core</artifactId>
133 <groupId>com.fasterxml.jackson.core</groupId>
134 <artifactId>jackson-annotations</artifactId>
137 <groupId>com.fasterxml.jackson.core</groupId>
138 <artifactId>jackson-databind</artifactId>
141 <groupId>com.fasterxml.jackson.datatype</groupId>
142 <artifactId>jackson-datatype-json-org</artifactId>
145 <groupId>com.fasterxml.jackson.jaxrs</groupId>
146 <artifactId>jackson-jaxrs-base</artifactId>
149 <groupId>com.fasterxml.jackson.jaxrs</groupId>
150 <artifactId>jackson-jaxrs-json-provider</artifactId>
153 <groupId>com.fasterxml.jackson.module</groupId>
154 <artifactId>jackson-module-jaxb-annotations</artifactId>
157 <groupId>org.eclipse.jetty</groupId>
158 <artifactId>jetty-servlets</artifactId>
159 <scope>provided</scope>
162 <!-- Testing Dependencies -->
164 <groupId>net.sf.ehcache</groupId>
165 <artifactId>ehcache</artifactId>
168 <groupId>com.h2database</groupId>
169 <artifactId>h2</artifactId>
172 <groupId>org.immutables</groupId>
173 <artifactId>value</artifactId>
176 <groupId>com.google.guava</groupId>
177 <artifactId>guava</artifactId>
180 <groupId>org.apache.commons</groupId>
181 <artifactId>commons-lang3</artifactId>
184 <!-- Testing Dependencies -->
186 <groupId>junit</groupId>
187 <artifactId>junit</artifactId>
191 <groupId>org.slf4j</groupId>
192 <artifactId>jul-to-slf4j</artifactId>
193 <version>1.7.21</version>
197 <groupId>com.sun.jersey</groupId>
198 <artifactId>jersey-servlet</artifactId>
201 <groupId>org.mockito</groupId>
202 <artifactId>mockito-core</artifactId>
206 <groupId>org.hamcrest</groupId>
207 <artifactId>hamcrest-library</artifactId>
211 <groupId>ch.qos.logback</groupId>
212 <artifactId>logback-core</artifactId>
216 <groupId>ch.qos.logback</groupId>
217 <artifactId>logback-classic</artifactId>
221 <groupId>com.sun.jersey.jersey-test-framework</groupId>
222 <artifactId>jersey-test-framework-grizzly2</artifactId>
226 <groupId>org.mortbay.jetty</groupId>
227 <artifactId>jetty-servlet-tester</artifactId>
228 <version>7.0.0.pre5</version>
232 <groupId>com.google.truth</groupId>
233 <artifactId>truth</artifactId>
240 <groupId>org.apache.felix</groupId>
241 <artifactId>maven-bundle-plugin</artifactId>
242 <extensions>true</extensions>
245 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
247 org.opendaylight.aaa.impl.shiro,
248 org.opendaylight.aaa.impl.shiro.idm,
249 org.opendaylight.aaa.impl.shiro.tokenauthrealm,
250 org.opendaylight.aaa.impl.shiro.tokenauthrealm.auth,
251 org.opendaylight.aaa.shiro,
252 org.opendaylight.aaa.shiro.filters,
253 org.opendaylight.aaa.shiro.realm,
254 org.opendaylight.aaa.shiro.web.env,
255 org.opendaylight.aaa.impl.datastore.h2.*,
262 org.apache.oltu.oauth2.*,
263 javax.ws.rs,javax.ws.rs.core,
264 javax.xml.bind.annotation,
265 org.opendaylight.aaa.*,
266 org.opendaylight.aaa.api.*,
267 org.opendaylight.aaa.filterchain.filters,
270 org.apache.shiro.web.env,org.apache.shiro.authc,
271 org.eclipse.jetty.servlets;version="[8.1,10)",
274 org.osgi.util.tracker,
275 org.osgi.service.cm.*,
276 org.osgi.service.http.*,
277 org.apache.shiro.web.*,
286 !javax.transaction.xa,
287 !org.apache.lucene.analysis,
288 !org.apache.lucene.analysis.standard,
289 !org.apache.lucene.document,
290 !org.apache.lucene.index,
291 !org.apache.lucene.queryParser,
292 !org.apache.lucene.search,
293 !org.apache.lucene.store,
294 !org.apache.lucene.util,
295 !com.vividsolutions.jts.geom,
296 !com.vividsolutions.jts.io,
297 !org.osgi.service.jdbc,
301 <Embed-Dependency>h2;scope=compile|runtime;inline=true</Embed-Dependency>
302 <Web-ContextPath>/auth</Web-ContextPath>
307 <groupId>org.codehaus.mojo</groupId>
308 <artifactId>build-helper-maven-plugin</artifactId>
311 <id>attach-artifacts</id>
312 <phase>package</phase>
314 <goal>attach-artifact</goal>
318 <!-- attach idmtool as an artifact -->
320 <file>${project.build.directory}/classes/idmtool.py</file>
322 <classifier>idmtool</classifier>
324 <!-- attach aaa-app-config.xml as an artifact -->
326 <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
328 <classifier>aaa-app-config</classifier>
331 <file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
333 <classifier>aaa-datastore-config</classifier>