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 <!-- JSON JAXB Stuff -->
126 <groupId>com.fasterxml.jackson.core</groupId>
127 <artifactId>jackson-core</artifactId>
130 <groupId>com.fasterxml.jackson.core</groupId>
131 <artifactId>jackson-annotations</artifactId>
134 <groupId>com.fasterxml.jackson.core</groupId>
135 <artifactId>jackson-databind</artifactId>
138 <groupId>com.fasterxml.jackson.datatype</groupId>
139 <artifactId>jackson-datatype-json-org</artifactId>
142 <groupId>com.fasterxml.jackson.jaxrs</groupId>
143 <artifactId>jackson-jaxrs-base</artifactId>
146 <groupId>com.fasterxml.jackson.jaxrs</groupId>
147 <artifactId>jackson-jaxrs-json-provider</artifactId>
150 <groupId>com.fasterxml.jackson.module</groupId>
151 <artifactId>jackson-module-jaxb-annotations</artifactId>
154 <groupId>org.eclipse.jetty</groupId>
155 <artifactId>jetty-servlets</artifactId>
156 <scope>provided</scope>
159 <!-- Testing Dependencies -->
161 <groupId>net.sf.ehcache</groupId>
162 <artifactId>ehcache</artifactId>
165 <groupId>com.h2database</groupId>
166 <artifactId>h2</artifactId>
169 <groupId>org.immutables</groupId>
170 <artifactId>value</artifactId>
173 <groupId>com.google.guava</groupId>
174 <artifactId>guava</artifactId>
177 <groupId>org.apache.commons</groupId>
178 <artifactId>commons-lang3</artifactId>
181 <!-- Testing Dependencies -->
183 <groupId>junit</groupId>
184 <artifactId>junit</artifactId>
188 <groupId>org.slf4j</groupId>
189 <artifactId>jul-to-slf4j</artifactId>
190 <version>1.7.21</version>
194 <groupId>com.sun.jersey</groupId>
195 <artifactId>jersey-servlet</artifactId>
198 <groupId>org.mockito</groupId>
199 <artifactId>mockito-core</artifactId>
203 <groupId>org.hamcrest</groupId>
204 <artifactId>hamcrest-library</artifactId>
208 <groupId>ch.qos.logback</groupId>
209 <artifactId>logback-core</artifactId>
213 <groupId>ch.qos.logback</groupId>
214 <artifactId>logback-classic</artifactId>
218 <groupId>com.sun.jersey.jersey-test-framework</groupId>
219 <artifactId>jersey-test-framework-grizzly2</artifactId>
223 <groupId>org.mortbay.jetty</groupId>
224 <artifactId>jetty-servlet-tester</artifactId>
225 <version>7.0.0.pre5</version>
229 <groupId>com.google.truth</groupId>
230 <artifactId>truth</artifactId>
237 <groupId>org.apache.felix</groupId>
238 <artifactId>maven-bundle-plugin</artifactId>
239 <extensions>true</extensions>
242 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
244 org.opendaylight.aaa.impl.shiro,
245 org.opendaylight.aaa.impl.shiro.tokenauthrealm,
246 org.opendaylight.aaa.impl.shiro.tokenauthrealm.auth,
247 org.opendaylight.aaa.shiro,
248 org.opendaylight.aaa.shiro.filters,
249 org.opendaylight.aaa.shiro.realm,
250 org.opendaylight.aaa.shiro.web.env,
251 org.opendaylight.aaa.impl.datastore.h2.*,
255 com.sun.jersey.spi.container.servlet,
258 org.apache.oltu.oauth2.*,
259 javax.ws.rs,javax.ws.rs.core,
260 javax.xml.bind.annotation,
261 org.opendaylight.aaa.*,
262 org.opendaylight.aaa.api.*,
263 org.opendaylight.aaa.filterchain.filters,
266 org.apache.shiro.web.env,org.apache.shiro.authc,
267 org.eclipse.jetty.servlets;version="[8.1,10)",
270 org.osgi.util.tracker,
271 org.osgi.service.cm.*,
272 org.osgi.service.http.*,
273 org.apache.shiro.web.*,
282 !javax.transaction.xa,
283 !org.apache.lucene.analysis,
284 !org.apache.lucene.analysis.standard,
285 !org.apache.lucene.document,
286 !org.apache.lucene.index,
287 !org.apache.lucene.queryParser,
288 !org.apache.lucene.search,
289 !org.apache.lucene.store,
290 !org.apache.lucene.util,
291 !com.vividsolutions.jts.geom,
292 !com.vividsolutions.jts.io,
293 !org.osgi.service.jdbc,
297 <Embed-Dependency>h2;scope=compile|runtime;inline=true</Embed-Dependency>
298 <Web-ContextPath>/auth</Web-ContextPath>
303 <groupId>org.codehaus.mojo</groupId>
304 <artifactId>build-helper-maven-plugin</artifactId>
307 <id>attach-artifacts</id>
308 <phase>package</phase>
310 <goal>attach-artifact</goal>
314 <!-- attach idmtool as an artifact -->
316 <file>${project.build.directory}/classes/idmtool.py</file>
318 <classifier>idmtool</classifier>
320 <!-- attach aaa-app-config.xml as an artifact -->
322 <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
324 <classifier>aaa-app-config</classifier>
327 <file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
329 <classifier>aaa-datastore-config</classifier>
331 <!-- attach convert-shiro-ini-to-rest-payload.py as an artifact -->
333 <file>${project.build.directory}/classes/convert-shiro-ini-to-rest-payload.py</file>
335 <classifier>convert-shiro-ini</classifier>