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.aaa</groupId>
15 <artifactId>aaa-parent</artifactId>
16 <version>0.9.0-SNAPSHOT</version>
17 <relativePath>../../parent</relativePath>
20 <groupId>org.opendaylight.aaa</groupId>
21 <artifactId>aaa-shiro</artifactId>
22 <version>0.9.0-SNAPSHOT</version>
23 <name>ODL :: aaa :: ${project.artifactId}</name>
24 <packaging>bundle</packaging>
28 <groupId>${project.groupId}</groupId>
29 <artifactId>aaa-shiro-api</artifactId>
32 <!-- jersey client for moon authN -->
34 <groupId>org.glassfish.jersey.core</groupId>
35 <artifactId>jersey-client</artifactId>
36 <version>2.25.1</version>
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.mdsal</groupId>
82 <artifactId>mdsal-binding-api</artifactId>
85 <groupId>org.opendaylight.aaa</groupId>
86 <artifactId>aaa-filterchain</artifactId>
89 <groupId>org.opendaylight.aaa</groupId>
90 <artifactId>aaa-password-service-api</artifactId>
93 <groupId>org.osgi</groupId>
94 <artifactId>org.osgi.compendium</artifactId>
97 <!-- JSON JAXB Stuff -->
99 <groupId>org.eclipse.jetty</groupId>
100 <artifactId>jetty-servlets</artifactId>
101 <scope>provided</scope>
105 <groupId>net.sf.ehcache</groupId>
106 <artifactId>ehcache</artifactId>
109 <groupId>com.h2database</groupId>
110 <artifactId>h2</artifactId>
113 <groupId>org.immutables</groupId>
114 <artifactId>value</artifactId>
117 <groupId>com.google.guava</groupId>
118 <artifactId>guava</artifactId>
121 <groupId>org.apache.commons</groupId>
122 <artifactId>commons-text</artifactId>
125 <groupId>org.jolokia</groupId>
126 <artifactId>jolokia-osgi</artifactId>
129 <groupId>org.opendaylight.aaa.web</groupId>
130 <artifactId>web-api</artifactId>
133 <groupId>org.opendaylight.aaa.web</groupId>
134 <artifactId>servlet-api</artifactId>
137 <!-- Testing Dependencies -->
139 <groupId>junit</groupId>
140 <artifactId>junit</artifactId>
144 <groupId>org.mockito</groupId>
145 <artifactId>mockito-core</artifactId>
149 <groupId>org.hamcrest</groupId>
150 <artifactId>hamcrest-library</artifactId>
154 <groupId>ch.qos.logback</groupId>
155 <artifactId>logback-core</artifactId>
159 <groupId>ch.qos.logback</groupId>
160 <artifactId>logback-classic</artifactId>
164 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
165 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
166 <version>2.25.1</version>
170 <groupId>org.mortbay.jetty</groupId>
171 <artifactId>jetty-servlet-tester</artifactId>
175 <groupId>com.google.truth</groupId>
176 <artifactId>truth</artifactId>
179 <groupId>org.opendaylight.aaa</groupId>
180 <artifactId>aaa-password-service-impl</artifactId>
188 <groupId>org.apache.felix</groupId>
189 <artifactId>maven-bundle-plugin</artifactId>
190 <extensions>true</extensions>
193 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
195 org.opendaylight.aaa,
196 org.opendaylight.aaa.shiro,
197 org.opendaylight.aaa.shiro.idm,
198 org.opendaylight.aaa.shiro.tokenauthrealm,
199 org.opendaylight.aaa.shiro.tokenauthrealm.auth,
200 org.opendaylight.aaa.shiro,
201 org.opendaylight.aaa.shiro.filters,
202 org.opendaylight.aaa.shiro.realm,
203 <!-- TODO: This is temporary until we can find a better spot for GsonProvider. -->
204 org.opendaylight.aaa.provider,
205 org.opendaylight.aaa.shiro.web.env,
206 org.opendaylight.aaa.datastore.h2.*,
216 <groupId>org.codehaus.mojo</groupId>
217 <artifactId>build-helper-maven-plugin</artifactId>
220 <id>attach-artifacts</id>
221 <phase>package</phase>
223 <goal>attach-artifact</goal>
227 <!-- attach idmtool as an artifact -->
229 <file>${project.build.directory}/classes/idmtool.py</file>
231 <classifier>idmtool</classifier>
233 <!-- attach aaa-app-config.xml as an artifact -->
235 <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
237 <classifier>aaa-app-config</classifier>
240 <file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
242 <classifier>aaa-datastore-config</classifier>