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 <!-- JSON JAXB Stuff -->
126 <groupId>org.eclipse.jetty</groupId>
127 <artifactId>jetty-servlets</artifactId>
128 <scope>provided</scope>
132 <groupId>net.sf.ehcache</groupId>
133 <artifactId>ehcache</artifactId>
136 <groupId>com.h2database</groupId>
137 <artifactId>h2</artifactId>
140 <groupId>org.immutables</groupId>
141 <artifactId>value</artifactId>
144 <groupId>com.google.guava</groupId>
145 <artifactId>guava</artifactId>
148 <groupId>org.apache.commons</groupId>
149 <artifactId>commons-text</artifactId>
152 <groupId>org.jolokia</groupId>
153 <artifactId>jolokia-osgi</artifactId>
154 <!-- TODO: remove once this version is propagated to odlparent -->
155 <version>1.5.0</version>
158 <groupId>org.opendaylight.aaa.web</groupId>
159 <artifactId>web-api</artifactId>
160 <version>${project.version}</version>
163 <!-- Testing Dependencies -->
165 <groupId>junit</groupId>
166 <artifactId>junit</artifactId>
170 <groupId>org.slf4j</groupId>
171 <artifactId>jul-to-slf4j</artifactId>
172 <version>1.7.21</version>
176 <groupId>com.sun.jersey</groupId>
177 <artifactId>jersey-servlet</artifactId>
180 <groupId>org.mockito</groupId>
181 <artifactId>mockito-core</artifactId>
185 <groupId>org.hamcrest</groupId>
186 <artifactId>hamcrest-library</artifactId>
190 <groupId>ch.qos.logback</groupId>
191 <artifactId>logback-core</artifactId>
195 <groupId>ch.qos.logback</groupId>
196 <artifactId>logback-classic</artifactId>
200 <groupId>com.sun.jersey.jersey-test-framework</groupId>
201 <artifactId>jersey-test-framework-grizzly2</artifactId>
205 <groupId>org.mortbay.jetty</groupId>
206 <artifactId>jetty-servlet-tester</artifactId>
207 <version>7.0.0.pre5</version>
211 <groupId>com.google.truth</groupId>
212 <artifactId>truth</artifactId>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-checkstyle-plugin</artifactId>
222 <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
226 <groupId>org.apache.felix</groupId>
227 <artifactId>maven-bundle-plugin</artifactId>
228 <extensions>true</extensions>
231 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
233 org.opendaylight.aaa,
234 org.opendaylight.aaa.shiro,
235 org.opendaylight.aaa.shiro.idm,
236 org.opendaylight.aaa.shiro.tokenauthrealm,
237 org.opendaylight.aaa.shiro.tokenauthrealm.auth,
238 org.opendaylight.aaa.shiro,
239 org.opendaylight.aaa.shiro.filters,
240 org.opendaylight.aaa.shiro.realm,
241 <!-- TODO: This is temporary until we can find a better spot for GsonProvider. -->
242 org.opendaylight.aaa.provider,
243 org.opendaylight.aaa.shiro.web.env,
244 org.opendaylight.aaa.datastore.h2.*,
248 com.sun.jersey.spi.container.servlet,
249 com.sun.jersey.api.client.config,
253 org.apache.oltu.oauth2.*,
255 javax.ws.rs,javax.ws.rs.core,
256 javax.xml.bind.annotation,
257 org.opendaylight.aaa.*,
258 org.opendaylight.aaa.api.*,
260 org.apache.commons.text,
262 org.apache.shiro.web.env,org.apache.shiro.authc,
263 org.eclipse.jetty.servlets;version="[8.1,10)",
266 org.osgi.util.tracker,
267 org.osgi.service.cm.*,
268 org.osgi.service.http.*,
269 org.apache.shiro.web.*,
273 org.jolokia.osgi.security,
274 org.osgi.service.blueprint.container,
275 org.ops4j.pax.web.service,
282 <groupId>org.codehaus.mojo</groupId>
283 <artifactId>build-helper-maven-plugin</artifactId>
286 <id>attach-artifacts</id>
287 <phase>package</phase>
289 <goal>attach-artifact</goal>
293 <!-- attach idmtool as an artifact -->
295 <file>${project.build.directory}/classes/idmtool.py</file>
297 <classifier>idmtool</classifier>
299 <!-- attach aaa-app-config.xml as an artifact -->
301 <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
303 <classifier>aaa-app-config</classifier>
306 <file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
308 <classifier>aaa-datastore-config</classifier>