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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11 <modelVersion>4.0.0</modelVersion>
14 <groupId>org.opendaylight.odlparent</groupId>
15 <artifactId>bundle-parent</artifactId>
16 <version>2.0.5</version>
20 <groupId>org.opendaylight.aaa</groupId>
21 <artifactId>aaa-shiro</artifactId>
22 <version>0.7.0-SNAPSHOT</version>
23 <name>ODL :: aaa :: ${project.artifactId}</name>
24 <packaging>bundle</packaging>
26 <dependencyManagement>
29 <groupId>${project.groupId}</groupId>
30 <artifactId>aaa-parent</artifactId>
31 <version>${project.version}</version>
36 <groupId>${project.groupId}</groupId>
37 <artifactId>aaa-artifacts</artifactId>
38 <version>${project.version}</version>
43 </dependencyManagement>
47 <groupId>${project.groupId}</groupId>
48 <artifactId>aaa-shiro-api</artifactId>
51 <!-- jersey client for moon authN -->
53 <groupId>com.sun.jersey</groupId>
54 <artifactId>jersey-client</artifactId>
55 <scope>provided</scope>
57 <!-- OAuth2 dependencies for moon -->
59 <groupId>org.apache.oltu.oauth2</groupId>
60 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
63 <groupId>org.apache.oltu.oauth2</groupId>
64 <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
67 <groupId>com.fasterxml.jackson.jaxrs</groupId>
68 <artifactId>jackson-jaxrs-json-provider</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>org.apache.felix</groupId>
92 <artifactId>org.apache.felix.dependencymanager</artifactId>
93 <scope>provided</scope>
98 <groupId>org.opendaylight.controller</groupId>
99 <artifactId>sal-binding-api</artifactId>
102 <groupId>org.opendaylight.controller</groupId>
103 <artifactId>sal-common-util</artifactId>
106 <groupId>org.opendaylight.aaa</groupId>
107 <artifactId>aaa-filterchain</artifactId>
110 <groupId>com.sun.jersey</groupId>
111 <artifactId>jersey-server</artifactId>
114 <groupId>javax.servlet</groupId>
115 <artifactId>javax.servlet-api</artifactId>
118 <groupId>org.apache.felix</groupId>
119 <artifactId>org.apache.felix.dependencymanager</artifactId>
120 <scope>provided</scope>
123 <groupId>org.mockito</groupId>
124 <artifactId>mockito-core</artifactId>
128 <groupId>org.osgi</groupId>
129 <artifactId>org.osgi.core</artifactId>
132 <!-- JSON JAXB Stuff -->
134 <groupId>com.fasterxml.jackson.core</groupId>
135 <artifactId>jackson-core</artifactId>
138 <groupId>com.fasterxml.jackson.core</groupId>
139 <artifactId>jackson-annotations</artifactId>
142 <groupId>com.fasterxml.jackson.core</groupId>
143 <artifactId>jackson-databind</artifactId>
146 <groupId>com.fasterxml.jackson.datatype</groupId>
147 <artifactId>jackson-datatype-json-org</artifactId>
150 <groupId>com.fasterxml.jackson.jaxrs</groupId>
151 <artifactId>jackson-jaxrs-base</artifactId>
154 <groupId>com.fasterxml.jackson.jaxrs</groupId>
155 <artifactId>jackson-jaxrs-json-provider</artifactId>
158 <groupId>com.fasterxml.jackson.module</groupId>
159 <artifactId>jackson-module-jaxb-annotations</artifactId>
162 <groupId>org.eclipse.jetty</groupId>
163 <artifactId>jetty-servlets</artifactId>
164 <scope>provided</scope>
167 <!-- Testing Dependencies -->
169 <groupId>com.sun.jersey.jersey-test-framework</groupId>
170 <artifactId>jersey-test-framework-grizzly2</artifactId>
174 <groupId>junit</groupId>
175 <artifactId>junit</artifactId>
179 <groupId>org.slf4j</groupId>
180 <artifactId>jul-to-slf4j</artifactId>
181 <version>1.7.21</version>
185 <groupId>com.sun.jersey</groupId>
186 <artifactId>jersey-servlet</artifactId>
189 <groupId>org.mockito</groupId>
190 <artifactId>mockito-core</artifactId>
194 <groupId>org.hamcrest</groupId>
195 <artifactId>hamcrest-library</artifactId>
199 <groupId>ch.qos.logback</groupId>
200 <artifactId>logback-core</artifactId>
204 <groupId>ch.qos.logback</groupId>
205 <artifactId>logback-classic</artifactId>
209 <groupId>com.sun.jersey.jersey-test-framework</groupId>
210 <artifactId>jersey-test-framework-grizzly2</artifactId>
214 <groupId>org.mortbay.jetty</groupId>
215 <artifactId>jetty-servlet-tester</artifactId>
216 <version>7.0.0.pre5</version>
224 <groupId>org.apache.felix</groupId>
225 <artifactId>maven-bundle-plugin</artifactId>
226 <extensions>true</extensions>
229 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
231 org.opendaylight.aaa.impl.shiro,
232 org.opendaylight.aaa.impl.shiro.tokenauthrealm,
233 org.opendaylight.aaa.impl.shiro.tokenauthrealm.auth,
234 org.opendaylight.aaa.shiro,
235 org.opendaylight.aaa.shiro.filters,
236 org.opendaylight.aaa.shiro.realm,
237 org.opendaylight.aaa.shiro.web.env
241 com.sun.jersey.spi.container.servlet,
244 org.apache.oltu.oauth2.*,
245 javax.ws.rs,javax.ws.rs.core,
246 javax.xml.bind.annotation,
247 org.opendaylight.aaa.*,
248 org.opendaylight.aaa.api.*,
249 org.opendaylight.aaa.filterchain.filters,
252 org.apache.shiro.web.env,org.apache.shiro.authc,
253 org.eclipse.jetty.servlets;version="[8.1,10)",
256 org.osgi.util.tracker,
257 org.osgi.service.cm.*,
258 org.osgi.service.http.*,
259 org.apache.shiro.web.*,
263 <Web-ContextPath>/auth</Web-ContextPath>
268 <groupId>org.codehaus.mojo</groupId>
269 <artifactId>build-helper-maven-plugin</artifactId>
272 <id>attach-artifacts</id>
273 <phase>package</phase>
275 <goal>attach-artifact</goal>
279 <!-- attach idmtool as an artifact -->
281 <file>${project.build.directory}/classes/idmtool.py</file>
283 <classifier>idmtool</classifier>
285 <!-- attach authn.cfg as an artifact -->
287 <file>${project.build.directory}/classes/authn.cfg</file>
289 <classifier>config</classifier>
291 <!-- attach aaa-app-config.xml as an artifact -->
293 <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
295 <classifier>aaa-app-config</classifier>
297 <!-- attach convert-shiro-ini-to-rest-payload.py as an artifact -->
299 <file>${project.build.directory}/classes/convert-shiro-ini-to-rest-payload.py</file>
301 <classifier>convert-shiro-ini</classifier>