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>3.0.2</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>
51 <groupId>${project.groupId}</groupId>
52 <artifactId>aaa-shiro-api</artifactId>
55 <!-- jersey client for moon authN -->
57 <groupId>com.sun.jersey</groupId>
58 <artifactId>jersey-client</artifactId>
59 <scope>provided</scope>
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.resourceserver</artifactId>
71 <groupId>org.opendaylight.aaa</groupId>
72 <artifactId>aaa-cert</artifactId>
75 <groupId>org.apache.shiro</groupId>
76 <artifactId>shiro-web</artifactId>
78 <!-- Enforce newer commons-beanutils and commons-collections versions -->
80 <groupId>commons-beanutils</groupId>
81 <artifactId>commons-beanutils</artifactId>
82 <version>1.9.3</version>
85 <groupId>commons-collections</groupId>
86 <artifactId>commons-collections</artifactId>
87 <version>3.2.2</version>
91 <groupId>com.google.code.gson</groupId>
92 <artifactId>gson</artifactId>
96 <groupId>org.apache.felix</groupId>
97 <artifactId>org.apache.felix.dependencymanager</artifactId>
98 <scope>provided</scope>
103 <groupId>org.opendaylight.controller</groupId>
104 <artifactId>sal-binding-api</artifactId>
107 <groupId>org.opendaylight.controller</groupId>
108 <artifactId>sal-common-util</artifactId>
111 <groupId>org.opendaylight.aaa</groupId>
112 <artifactId>aaa-filterchain</artifactId>
115 <groupId>com.sun.jersey</groupId>
116 <artifactId>jersey-server</artifactId>
119 <groupId>javax.servlet</groupId>
120 <artifactId>javax.servlet-api</artifactId>
123 <groupId>org.osgi</groupId>
124 <artifactId>org.osgi.compendium</artifactId>
127 <groupId>org.osgi</groupId>
128 <artifactId>org.osgi.core</artifactId>
131 <!-- JSON JAXB Stuff -->
133 <groupId>org.eclipse.jetty</groupId>
134 <artifactId>jetty-servlets</artifactId>
135 <scope>provided</scope>
139 <groupId>net.sf.ehcache</groupId>
140 <artifactId>ehcache</artifactId>
143 <groupId>com.h2database</groupId>
144 <artifactId>h2</artifactId>
147 <groupId>org.immutables</groupId>
148 <artifactId>value</artifactId>
151 <groupId>com.google.guava</groupId>
152 <artifactId>guava</artifactId>
155 <groupId>org.apache.commons</groupId>
156 <artifactId>commons-text</artifactId>
159 <groupId>org.jolokia</groupId>
160 <artifactId>jolokia-osgi</artifactId>
161 <!-- TODO: remove once this version is propagated to odlparent -->
162 <version>1.5.0</version>
165 <!-- Testing Dependencies -->
167 <groupId>junit</groupId>
168 <artifactId>junit</artifactId>
172 <groupId>org.slf4j</groupId>
173 <artifactId>jul-to-slf4j</artifactId>
174 <version>1.7.21</version>
178 <groupId>com.sun.jersey</groupId>
179 <artifactId>jersey-servlet</artifactId>
182 <groupId>org.mockito</groupId>
183 <artifactId>mockito-core</artifactId>
187 <groupId>org.hamcrest</groupId>
188 <artifactId>hamcrest-library</artifactId>
192 <groupId>ch.qos.logback</groupId>
193 <artifactId>logback-core</artifactId>
197 <groupId>ch.qos.logback</groupId>
198 <artifactId>logback-classic</artifactId>
202 <groupId>com.sun.jersey.jersey-test-framework</groupId>
203 <artifactId>jersey-test-framework-grizzly2</artifactId>
207 <groupId>org.mortbay.jetty</groupId>
208 <artifactId>jetty-servlet-tester</artifactId>
209 <version>7.0.0.pre5</version>
213 <groupId>com.google.truth</groupId>
214 <artifactId>truth</artifactId>
221 <groupId>org.apache.felix</groupId>
222 <artifactId>maven-bundle-plugin</artifactId>
223 <extensions>true</extensions>
226 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
228 org.opendaylight.aaa,
229 org.opendaylight.aaa.shiro,
230 org.opendaylight.aaa.shiro.idm,
231 org.opendaylight.aaa.shiro.tokenauthrealm,
232 org.opendaylight.aaa.shiro.tokenauthrealm.auth,
233 org.opendaylight.aaa.shiro,
234 org.opendaylight.aaa.shiro.filters,
235 org.opendaylight.aaa.shiro.realm,
236 <!-- TODO: This is temporary until we can find a better spot for GsonProvider. -->
237 org.opendaylight.aaa.provider,
238 org.opendaylight.aaa.shiro.web.env,
239 org.opendaylight.aaa.datastore.h2.*,
243 com.sun.jersey.spi.container.servlet,
246 org.apache.oltu.oauth2.*,
248 javax.ws.rs,javax.ws.rs.core,
249 javax.xml.bind.annotation,
250 org.opendaylight.aaa.*,
251 org.opendaylight.aaa.api.*,
252 org.opendaylight.aaa.filterchain.filters,
254 org.apache.commons.text,
256 org.apache.shiro.web.env,org.apache.shiro.authc,
257 org.eclipse.jetty.servlets;version="[8.1,10)",
260 org.osgi.util.tracker,
261 org.osgi.service.cm.*,
262 org.osgi.service.http.*,
263 org.apache.shiro.web.*,
267 org.jolokia.osgi.security,
268 org.osgi.service.blueprint.container,
274 !javax.transaction.xa,
275 !org.apache.lucene.analysis,
276 !org.apache.lucene.analysis.standard,
277 !org.apache.lucene.document,
278 !org.apache.lucene.index,
279 !org.apache.lucene.queryParser,
280 !org.apache.lucene.search,
281 !org.apache.lucene.store,
282 !org.apache.lucene.util,
283 !com.vividsolutions.jts.geom,
284 !com.vividsolutions.jts.io,
285 !org.osgi.service.jdbc,
289 <Embed-Dependency>h2;scope=compile|runtime;inline=true</Embed-Dependency>
290 <Web-ContextPath>/auth</Web-ContextPath>
291 <Bundle-Activator>org.opendaylight.aaa.AAAShiroActivator</Bundle-Activator>
296 <groupId>org.codehaus.mojo</groupId>
297 <artifactId>build-helper-maven-plugin</artifactId>
300 <id>attach-artifacts</id>
301 <phase>package</phase>
303 <goal>attach-artifact</goal>
307 <!-- attach idmtool as an artifact -->
309 <file>${project.build.directory}/classes/idmtool.py</file>
311 <classifier>idmtool</classifier>
313 <!-- attach aaa-app-config.xml as an artifact -->
315 <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
317 <classifier>aaa-app-config</classifier>
320 <file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
322 <classifier>aaa-datastore-config</classifier>