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.10.0-SNAPSHOT</version>
17 <relativePath>../../parent</relativePath>
20 <groupId>org.opendaylight.aaa</groupId>
21 <artifactId>aaa-shiro</artifactId>
22 <version>0.10.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 <scope>provided</scope>
38 <!-- OAuth2 dependencies for moon -->
40 <groupId>org.apache.oltu.oauth2</groupId>
41 <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
44 <groupId>org.apache.oltu.oauth2</groupId>
45 <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
48 <groupId>org.opendaylight.aaa</groupId>
49 <artifactId>aaa-cert</artifactId>
52 <groupId>org.apache.shiro</groupId>
53 <artifactId>shiro-web</artifactId>
55 <!-- Enforce newer commons-beanutils and commons-collections versions -->
57 <groupId>commons-beanutils</groupId>
58 <artifactId>commons-beanutils</artifactId>
59 <version>1.9.3</version>
62 <groupId>commons-collections</groupId>
63 <artifactId>commons-collections</artifactId>
64 <version>3.2.2</version>
68 <groupId>com.google.code.gson</groupId>
69 <artifactId>gson</artifactId>
73 <groupId>org.apache.felix</groupId>
74 <artifactId>org.apache.felix.dependencymanager</artifactId>
75 <scope>provided</scope>
80 <groupId>org.opendaylight.mdsal</groupId>
81 <artifactId>mdsal-binding-api</artifactId>
84 <groupId>org.opendaylight.aaa</groupId>
85 <artifactId>aaa-filterchain</artifactId>
88 <groupId>org.opendaylight.aaa</groupId>
89 <artifactId>aaa-password-service-api</artifactId>
92 <groupId>org.osgi</groupId>
93 <artifactId>org.osgi.compendium</artifactId>
96 <!-- JSON JAXB Stuff -->
98 <groupId>org.eclipse.jetty</groupId>
99 <artifactId>jetty-servlets</artifactId>
100 <scope>provided</scope>
104 <groupId>net.sf.ehcache</groupId>
105 <artifactId>ehcache</artifactId>
108 <groupId>com.h2database</groupId>
109 <artifactId>h2</artifactId>
112 <groupId>org.immutables</groupId>
113 <artifactId>value</artifactId>
116 <groupId>com.google.guava</groupId>
117 <artifactId>guava</artifactId>
120 <groupId>org.apache.commons</groupId>
121 <artifactId>commons-text</artifactId>
124 <groupId>org.jolokia</groupId>
125 <artifactId>jolokia-osgi</artifactId>
128 <groupId>org.opendaylight.aaa.web</groupId>
129 <artifactId>web-api</artifactId>
132 <groupId>org.opendaylight.aaa.web</groupId>
133 <artifactId>servlet-api</artifactId>
136 <!-- Testing Dependencies -->
138 <groupId>junit</groupId>
139 <artifactId>junit</artifactId>
143 <groupId>org.mockito</groupId>
144 <artifactId>mockito-core</artifactId>
148 <groupId>org.hamcrest</groupId>
149 <artifactId>hamcrest-library</artifactId>
153 <groupId>ch.qos.logback</groupId>
154 <artifactId>logback-core</artifactId>
158 <groupId>ch.qos.logback</groupId>
159 <artifactId>logback-classic</artifactId>
163 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
164 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
168 <groupId>org.mortbay.jetty</groupId>
169 <artifactId>jetty-servlet-tester</artifactId>
173 <groupId>com.google.truth</groupId>
174 <artifactId>truth</artifactId>
177 <groupId>org.opendaylight.aaa</groupId>
178 <artifactId>aaa-password-service-impl</artifactId>
186 <groupId>org.apache.felix</groupId>
187 <artifactId>maven-bundle-plugin</artifactId>
188 <extensions>true</extensions>
191 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
193 org.opendaylight.aaa,
194 org.opendaylight.aaa.shiro,
195 org.opendaylight.aaa.shiro.idm,
196 org.opendaylight.aaa.shiro.tokenauthrealm,
197 org.opendaylight.aaa.shiro.tokenauthrealm.auth,
198 org.opendaylight.aaa.shiro,
199 org.opendaylight.aaa.shiro.filters,
200 org.opendaylight.aaa.shiro.realm,
201 <!-- TODO: This is temporary until we can find a better spot for GsonProvider. -->
202 org.opendaylight.aaa.provider,
203 org.opendaylight.aaa.shiro.web.env,
204 org.opendaylight.aaa.datastore.h2.*,
214 <groupId>org.codehaus.mojo</groupId>
215 <artifactId>build-helper-maven-plugin</artifactId>
218 <id>attach-artifacts</id>
219 <phase>package</phase>
221 <goal>attach-artifact</goal>
225 <!-- attach idmtool as an artifact -->
227 <file>${project.build.directory}/classes/idmtool.py</file>
229 <classifier>idmtool</classifier>
231 <!-- attach aaa-app-config.xml as an artifact -->
233 <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
235 <classifier>aaa-app-config</classifier>
238 <file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
240 <classifier>aaa-datastore-config</classifier>