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.8.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.compendium</artifactId>
124 <groupId>org.osgi</groupId>
125 <artifactId>org.osgi.core</artifactId>
128 <!-- JSON JAXB Stuff -->
130 <groupId>org.eclipse.jetty</groupId>
131 <artifactId>jetty-servlets</artifactId>
132 <scope>provided</scope>
136 <groupId>net.sf.ehcache</groupId>
137 <artifactId>ehcache</artifactId>
140 <groupId>com.h2database</groupId>
141 <artifactId>h2</artifactId>
144 <groupId>org.immutables</groupId>
145 <artifactId>value</artifactId>
148 <groupId>com.google.guava</groupId>
149 <artifactId>guava</artifactId>
152 <groupId>org.apache.commons</groupId>
153 <artifactId>commons-text</artifactId>
156 <groupId>org.jolokia</groupId>
157 <artifactId>jolokia-osgi</artifactId>
158 <!-- TODO: remove once this version is propagated to odlparent -->
159 <version>1.5.0</version>
162 <groupId>org.opendaylight.aaa.web</groupId>
163 <artifactId>web-osgi-impl</artifactId>
164 <version>${project.version}</version>
167 <!-- Testing Dependencies -->
169 <groupId>junit</groupId>
170 <artifactId>junit</artifactId>
174 <groupId>org.slf4j</groupId>
175 <artifactId>jul-to-slf4j</artifactId>
176 <version>1.7.21</version>
180 <groupId>com.sun.jersey</groupId>
181 <artifactId>jersey-servlet</artifactId>
184 <groupId>org.mockito</groupId>
185 <artifactId>mockito-core</artifactId>
189 <groupId>org.hamcrest</groupId>
190 <artifactId>hamcrest-library</artifactId>
194 <groupId>ch.qos.logback</groupId>
195 <artifactId>logback-core</artifactId>
199 <groupId>ch.qos.logback</groupId>
200 <artifactId>logback-classic</artifactId>
204 <groupId>com.sun.jersey.jersey-test-framework</groupId>
205 <artifactId>jersey-test-framework-grizzly2</artifactId>
209 <groupId>org.mortbay.jetty</groupId>
210 <artifactId>jetty-servlet-tester</artifactId>
211 <version>7.0.0.pre5</version>
215 <groupId>com.google.truth</groupId>
216 <artifactId>truth</artifactId>
223 <groupId>org.apache.felix</groupId>
224 <artifactId>maven-bundle-plugin</artifactId>
225 <extensions>true</extensions>
228 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
230 org.opendaylight.aaa,
231 org.opendaylight.aaa.shiro,
232 org.opendaylight.aaa.shiro.idm,
233 org.opendaylight.aaa.shiro.tokenauthrealm,
234 org.opendaylight.aaa.shiro.tokenauthrealm.auth,
235 org.opendaylight.aaa.shiro,
236 org.opendaylight.aaa.shiro.filters,
237 org.opendaylight.aaa.shiro.realm,
238 <!-- TODO: This is temporary until we can find a better spot for GsonProvider. -->
239 org.opendaylight.aaa.provider,
240 org.opendaylight.aaa.shiro.web.env,
241 org.opendaylight.aaa.datastore.h2.*,
245 com.sun.jersey.spi.container.servlet,
248 org.apache.oltu.oauth2.*,
250 javax.ws.rs,javax.ws.rs.core,
251 javax.xml.bind.annotation,
252 org.opendaylight.aaa.*,
253 org.opendaylight.aaa.api.*,
255 org.apache.commons.text,
257 org.apache.shiro.web.env,org.apache.shiro.authc,
258 org.eclipse.jetty.servlets;version="[8.1,10)",
261 org.osgi.util.tracker,
262 org.osgi.service.cm.*,
263 org.osgi.service.http.*,
264 org.apache.shiro.web.*,
268 org.jolokia.osgi.security,
269 org.osgi.service.blueprint.container,
270 org.ops4j.pax.web.service,
273 <Bundle-Activator>org.opendaylight.aaa.AAAShiroActivator</Bundle-Activator>
278 <groupId>org.codehaus.mojo</groupId>
279 <artifactId>build-helper-maven-plugin</artifactId>
282 <id>attach-artifacts</id>
283 <phase>package</phase>
285 <goal>attach-artifact</goal>
289 <!-- attach idmtool as an artifact -->
291 <file>${project.build.directory}/classes/idmtool.py</file>
293 <classifier>idmtool</classifier>
295 <!-- attach aaa-app-config.xml as an artifact -->
297 <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
299 <classifier>aaa-app-config</classifier>
302 <file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
304 <classifier>aaa-datastore-config</classifier>