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.controller</groupId>
82 <artifactId>sal-binding-api</artifactId>
85 <groupId>org.opendaylight.controller</groupId>
86 <artifactId>sal-common-util</artifactId>
89 <groupId>org.opendaylight.aaa</groupId>
90 <artifactId>aaa-filterchain</artifactId>
93 <groupId>org.opendaylight.aaa</groupId>
94 <artifactId>aaa-password-service-api</artifactId>
97 <groupId>org.osgi</groupId>
98 <artifactId>org.osgi.compendium</artifactId>
101 <!-- JSON JAXB Stuff -->
103 <groupId>org.eclipse.jetty</groupId>
104 <artifactId>jetty-servlets</artifactId>
105 <scope>provided</scope>
109 <groupId>net.sf.ehcache</groupId>
110 <artifactId>ehcache</artifactId>
113 <groupId>com.h2database</groupId>
114 <artifactId>h2</artifactId>
117 <groupId>org.immutables</groupId>
118 <artifactId>value</artifactId>
121 <groupId>com.google.guava</groupId>
122 <artifactId>guava</artifactId>
125 <groupId>org.apache.commons</groupId>
126 <artifactId>commons-text</artifactId>
129 <groupId>org.jolokia</groupId>
130 <artifactId>jolokia-osgi</artifactId>
133 <groupId>org.opendaylight.aaa.web</groupId>
134 <artifactId>web-api</artifactId>
137 <groupId>org.opendaylight.aaa.web</groupId>
138 <artifactId>servlet-api</artifactId>
141 <!-- Testing Dependencies -->
143 <groupId>junit</groupId>
144 <artifactId>junit</artifactId>
148 <groupId>org.mockito</groupId>
149 <artifactId>mockito-core</artifactId>
153 <groupId>org.hamcrest</groupId>
154 <artifactId>hamcrest-library</artifactId>
158 <groupId>ch.qos.logback</groupId>
159 <artifactId>logback-core</artifactId>
163 <groupId>ch.qos.logback</groupId>
164 <artifactId>logback-classic</artifactId>
168 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
169 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
170 <version>2.25.1</version>
174 <groupId>org.mortbay.jetty</groupId>
175 <artifactId>jetty-servlet-tester</artifactId>
179 <groupId>com.google.truth</groupId>
180 <artifactId>truth</artifactId>
183 <groupId>org.opendaylight.aaa</groupId>
184 <artifactId>aaa-password-service-impl</artifactId>
192 <groupId>org.apache.felix</groupId>
193 <artifactId>maven-bundle-plugin</artifactId>
194 <extensions>true</extensions>
197 <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
199 org.opendaylight.aaa,
200 org.opendaylight.aaa.shiro,
201 org.opendaylight.aaa.shiro.idm,
202 org.opendaylight.aaa.shiro.tokenauthrealm,
203 org.opendaylight.aaa.shiro.tokenauthrealm.auth,
204 org.opendaylight.aaa.shiro,
205 org.opendaylight.aaa.shiro.filters,
206 org.opendaylight.aaa.shiro.realm,
207 <!-- TODO: This is temporary until we can find a better spot for GsonProvider. -->
208 org.opendaylight.aaa.provider,
209 org.opendaylight.aaa.shiro.web.env,
210 org.opendaylight.aaa.datastore.h2.*,
220 <groupId>org.codehaus.mojo</groupId>
221 <artifactId>build-helper-maven-plugin</artifactId>
224 <id>attach-artifacts</id>
225 <phase>package</phase>
227 <goal>attach-artifact</goal>
231 <!-- attach idmtool as an artifact -->
233 <file>${project.build.directory}/classes/idmtool.py</file>
235 <classifier>idmtool</classifier>
237 <!-- attach aaa-app-config.xml as an artifact -->
239 <file>${project.build.directory}/classes/initial/aaa-app-config.xml</file>
241 <classifier>aaa-app-config</classifier>
244 <file>${project.build.directory}/classes/initial/aaa-datastore-config.xml</file>
246 <classifier>aaa-datastore-config</classifier>