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>org.glassfish.jersey.core</groupId>
36 <artifactId>jersey-client</artifactId>
37 <version>2.25.1</version>
38 <scope>provided</scope>
40 <!-- OAuth2 dependencies for moon -->
42 <groupId>org.apache.oltu.oauth2</groupId>
43 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
46 <groupId>org.apache.oltu.oauth2</groupId>
47 <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
50 <groupId>org.opendaylight.aaa</groupId>
51 <artifactId>aaa-cert</artifactId>
54 <groupId>org.apache.shiro</groupId>
55 <artifactId>shiro-web</artifactId>
57 <!-- Enforce newer commons-beanutils and commons-collections versions -->
59 <groupId>commons-beanutils</groupId>
60 <artifactId>commons-beanutils</artifactId>
61 <version>1.9.3</version>
64 <groupId>commons-collections</groupId>
65 <artifactId>commons-collections</artifactId>
66 <version>3.2.2</version>
70 <groupId>com.google.code.gson</groupId>
71 <artifactId>gson</artifactId>
75 <groupId>org.apache.felix</groupId>
76 <artifactId>org.apache.felix.dependencymanager</artifactId>
77 <scope>provided</scope>
82 <groupId>org.opendaylight.controller</groupId>
83 <artifactId>sal-binding-api</artifactId>
86 <groupId>org.opendaylight.controller</groupId>
87 <artifactId>sal-common-util</artifactId>
90 <groupId>org.opendaylight.aaa</groupId>
91 <artifactId>aaa-filterchain</artifactId>
94 <groupId>org.opendaylight.aaa</groupId>
95 <artifactId>aaa-password-service-api</artifactId>
98 <groupId>org.osgi</groupId>
99 <artifactId>org.osgi.compendium</artifactId>
102 <!-- JSON JAXB Stuff -->
104 <groupId>org.eclipse.jetty</groupId>
105 <artifactId>jetty-servlets</artifactId>
106 <scope>provided</scope>
110 <groupId>net.sf.ehcache</groupId>
111 <artifactId>ehcache</artifactId>
114 <groupId>com.h2database</groupId>
115 <artifactId>h2</artifactId>
118 <groupId>org.immutables</groupId>
119 <artifactId>value</artifactId>
122 <groupId>com.google.guava</groupId>
123 <artifactId>guava</artifactId>
126 <groupId>org.apache.commons</groupId>
127 <artifactId>commons-text</artifactId>
130 <groupId>org.jolokia</groupId>
131 <artifactId>jolokia-osgi</artifactId>
134 <groupId>org.opendaylight.aaa.web</groupId>
135 <artifactId>web-api</artifactId>
138 <groupId>org.opendaylight.aaa.web</groupId>
139 <artifactId>servlet-api</artifactId>
142 <!-- Testing Dependencies -->
144 <groupId>junit</groupId>
145 <artifactId>junit</artifactId>
149 <groupId>org.mockito</groupId>
150 <artifactId>mockito-core</artifactId>
154 <groupId>org.hamcrest</groupId>
155 <artifactId>hamcrest-library</artifactId>
159 <groupId>ch.qos.logback</groupId>
160 <artifactId>logback-core</artifactId>
164 <groupId>ch.qos.logback</groupId>
165 <artifactId>logback-classic</artifactId>
169 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
170 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
171 <version>2.25.1</version>
175 <groupId>org.mortbay.jetty</groupId>
176 <artifactId>jetty-servlet-tester</artifactId>
180 <groupId>com.google.truth</groupId>
181 <artifactId>truth</artifactId>
184 <groupId>org.opendaylight.aaa</groupId>
185 <artifactId>aaa-password-service-impl</artifactId>
193 <groupId>org.apache.felix</groupId>
194 <artifactId>maven-bundle-plugin</artifactId>
195 <extensions>true</extensions>
198 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
200 org.opendaylight.aaa,
201 org.opendaylight.aaa.shiro,
202 org.opendaylight.aaa.shiro.idm,
203 org.opendaylight.aaa.shiro.tokenauthrealm,
204 org.opendaylight.aaa.shiro.tokenauthrealm.auth,
205 org.opendaylight.aaa.shiro,
206 org.opendaylight.aaa.shiro.filters,
207 org.opendaylight.aaa.shiro.realm,
208 <!-- TODO: This is temporary until we can find a better spot for GsonProvider. -->
209 org.opendaylight.aaa.provider,
210 org.opendaylight.aaa.shiro.web.env,
211 org.opendaylight.aaa.datastore.h2.*,
221 <groupId>org.codehaus.mojo</groupId>
222 <artifactId>build-helper-maven-plugin</artifactId>
225 <id>attach-artifacts</id>
226 <phase>package</phase>
228 <goal>attach-artifact</goal>
232 <!-- attach idmtool as an artifact -->
234 <file>${project.build.directory}/classes/idmtool.py</file>
236 <classifier>idmtool</classifier>
238 <!-- attach aaa-app-config.xml as an artifact -->
240 <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
242 <classifier>aaa-app-config</classifier>
245 <file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
247 <classifier>aaa-datastore-config</classifier>