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.aaa</groupId>
16 <artifactId>aaa-parent</artifactId>
17 <version>0.8.0-SNAPSHOT</version>
18 <relativePath>../../parent</relativePath>
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>
29 <groupId>${project.groupId}</groupId>
30 <artifactId>aaa-shiro-api</artifactId>
33 <!-- jersey client for moon authN -->
35 <groupId>com.sun.jersey</groupId>
36 <artifactId>jersey-client</artifactId>
37 <scope>provided</scope>
39 <!-- OAuth2 dependencies for moon -->
41 <groupId>org.apache.oltu.oauth2</groupId>
42 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
45 <groupId>org.apache.oltu.oauth2</groupId>
46 <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
49 <groupId>org.opendaylight.aaa</groupId>
50 <artifactId>aaa-cert</artifactId>
53 <groupId>org.apache.shiro</groupId>
54 <artifactId>shiro-web</artifactId>
56 <!-- Enforce newer commons-beanutils and commons-collections versions -->
58 <groupId>commons-beanutils</groupId>
59 <artifactId>commons-beanutils</artifactId>
60 <version>1.9.3</version>
63 <groupId>commons-collections</groupId>
64 <artifactId>commons-collections</artifactId>
65 <version>3.2.2</version>
69 <groupId>com.google.code.gson</groupId>
70 <artifactId>gson</artifactId>
74 <groupId>org.apache.felix</groupId>
75 <artifactId>org.apache.felix.dependencymanager</artifactId>
76 <scope>provided</scope>
81 <groupId>org.opendaylight.controller</groupId>
82 <artifactId>sal-binding-api</artifactId>
85 <groupId>org.opendaylight.controller</groupId>
86 <artifactId>sal-common-util</artifactId>
89 <groupId>org.opendaylight.aaa</groupId>
90 <artifactId>aaa-filterchain</artifactId>
93 <groupId>com.sun.jersey</groupId>
94 <artifactId>jersey-server</artifactId>
97 <groupId>javax.servlet</groupId>
98 <artifactId>javax.servlet-api</artifactId>
101 <groupId>org.osgi</groupId>
102 <artifactId>org.osgi.compendium</artifactId>
105 <!-- JSON JAXB Stuff -->
107 <groupId>org.eclipse.jetty</groupId>
108 <artifactId>jetty-servlets</artifactId>
109 <scope>provided</scope>
113 <groupId>net.sf.ehcache</groupId>
114 <artifactId>ehcache</artifactId>
117 <groupId>com.h2database</groupId>
118 <artifactId>h2</artifactId>
121 <groupId>org.immutables</groupId>
122 <artifactId>value</artifactId>
125 <groupId>com.google.guava</groupId>
126 <artifactId>guava</artifactId>
129 <groupId>org.apache.commons</groupId>
130 <artifactId>commons-text</artifactId>
133 <groupId>org.jolokia</groupId>
134 <artifactId>jolokia-osgi</artifactId>
135 <!-- TODO: remove once this version is propagated to odlparent -->
136 <version>1.5.0</version>
139 <groupId>org.opendaylight.aaa.web</groupId>
140 <artifactId>web-api</artifactId>
141 <version>${project.version}</version>
144 <!-- Testing Dependencies -->
146 <groupId>junit</groupId>
147 <artifactId>junit</artifactId>
151 <groupId>org.slf4j</groupId>
152 <artifactId>jul-to-slf4j</artifactId>
153 <version>1.7.21</version>
157 <groupId>com.sun.jersey</groupId>
158 <artifactId>jersey-servlet</artifactId>
161 <groupId>org.mockito</groupId>
162 <artifactId>mockito-core</artifactId>
166 <groupId>org.hamcrest</groupId>
167 <artifactId>hamcrest-library</artifactId>
171 <groupId>ch.qos.logback</groupId>
172 <artifactId>logback-core</artifactId>
176 <groupId>ch.qos.logback</groupId>
177 <artifactId>logback-classic</artifactId>
181 <groupId>com.sun.jersey.jersey-test-framework</groupId>
182 <artifactId>jersey-test-framework-grizzly2</artifactId>
186 <groupId>org.mortbay.jetty</groupId>
187 <artifactId>jetty-servlet-tester</artifactId>
188 <version>7.0.0.pre5</version>
192 <groupId>com.google.truth</groupId>
193 <artifactId>truth</artifactId>
200 <groupId>org.apache.felix</groupId>
201 <artifactId>maven-bundle-plugin</artifactId>
202 <extensions>true</extensions>
205 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
207 org.opendaylight.aaa,
208 org.opendaylight.aaa.shiro,
209 org.opendaylight.aaa.shiro.idm,
210 org.opendaylight.aaa.shiro.tokenauthrealm,
211 org.opendaylight.aaa.shiro.tokenauthrealm.auth,
212 org.opendaylight.aaa.shiro,
213 org.opendaylight.aaa.shiro.filters,
214 org.opendaylight.aaa.shiro.realm,
215 <!-- TODO: This is temporary until we can find a better spot for GsonProvider. -->
216 org.opendaylight.aaa.provider,
217 org.opendaylight.aaa.shiro.web.env,
218 org.opendaylight.aaa.datastore.h2.*,
222 com.sun.jersey.spi.container.servlet,
223 com.sun.jersey.api.client.config,
227 org.apache.oltu.oauth2.*,
229 javax.ws.rs,javax.ws.rs.core,
230 javax.xml.bind.annotation,
231 org.opendaylight.aaa.*,
232 org.opendaylight.aaa.api.*,
234 org.apache.commons.text,
236 org.apache.shiro.web.env,org.apache.shiro.authc,
237 org.eclipse.jetty.servlets;version="[8.1,10)",
240 org.osgi.util.tracker,
241 org.osgi.service.cm.*,
242 org.osgi.service.http.*,
243 org.apache.shiro.web.*,
247 org.jolokia.osgi.security,
248 org.osgi.service.blueprint.container,
249 org.ops4j.pax.web.service,
256 <groupId>org.codehaus.mojo</groupId>
257 <artifactId>build-helper-maven-plugin</artifactId>
260 <id>attach-artifacts</id>
261 <phase>package</phase>
263 <goal>attach-artifact</goal>
267 <!-- attach idmtool as an artifact -->
269 <file>${project.build.directory}/classes/idmtool.py</file>
271 <classifier>idmtool</classifier>
273 <!-- attach aaa-app-config.xml as an artifact -->
275 <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
277 <classifier>aaa-app-config</classifier>
280 <file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
282 <classifier>aaa-datastore-config</classifier>