adjust to use password-service
[aaa.git] / aaa-shiro / impl / pom.xml
index eaaf345dc9fb56ae0c4a6efba5775768ae6be44b..b076fb9de6fed8c0f1349ec5c46f7547f9f6bdf0 100644 (file)
@@ -12,37 +12,18 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.opendaylight.odlparent</groupId>
-        <artifactId>bundle-parent</artifactId>
-        <version>3.0.2</version>
-        <relativePath/>
+        <groupId>org.opendaylight.aaa</groupId>
+        <artifactId>aaa-parent</artifactId>
+        <version>0.8.0-SNAPSHOT</version>
+        <relativePath>../../parent</relativePath>
     </parent>
 
     <groupId>org.opendaylight.aaa</groupId>
     <artifactId>aaa-shiro</artifactId>
-    <version>0.7.0-SNAPSHOT</version>
+    <version>0.8.0-SNAPSHOT</version>
     <name>ODL :: aaa :: ${project.artifactId}</name>
     <packaging>bundle</packaging>
 
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>${project.groupId}</groupId>
-                <artifactId>aaa-parent</artifactId>
-                <version>${project.version}</version>
-                <type>pom</type>
-                <scope>import</scope>
-            </dependency>
-            <dependency>
-                <groupId>${project.groupId}</groupId>
-                <artifactId>aaa-artifacts</artifactId>
-                <version>${project.version}</version>
-                <type>pom</type>
-                <scope>import</scope>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
     <dependencies>
         <dependency>
             <groupId>${project.groupId}</groupId>
@@ -51,8 +32,9 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
 
         <!-- jersey client for moon authN -->
         <dependency>
-            <groupId>com.sun.jersey</groupId>
+            <groupId>org.glassfish.jersey.core</groupId>
             <artifactId>jersey-client</artifactId>
+            <version>2.25.1</version>
             <scope>provided</scope>
         </dependency>
         <!-- OAuth2 dependencies for moon -->
@@ -109,21 +91,13 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
             <artifactId>aaa-filterchain</artifactId>
         </dependency>
         <dependency>
-            <groupId>com.sun.jersey</groupId>
-            <artifactId>jersey-server</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>javax.servlet-api</artifactId>
+            <groupId>org.opendaylight.aaa</groupId>
+            <artifactId>aaa-password-service-api</artifactId>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
             <artifactId>org.osgi.compendium</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>org.osgi.core</artifactId>
-        </dependency>
 
         <!-- JSON JAXB Stuff -->
         <dependency>
@@ -150,14 +124,19 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         </dependency>
         <dependency>
             <groupId>org.apache.commons</groupId>
-            <artifactId>commons-lang3</artifactId>
+            <artifactId>commons-text</artifactId>
         </dependency>
-
         <dependency>
             <groupId>org.jolokia</groupId>
             <artifactId>jolokia-osgi</artifactId>
-            <!-- TODO: remove once this version is propagated to odlparent -->
-            <version>1.5.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.aaa.web</groupId>
+            <artifactId>web-api</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.aaa.web</groupId>
+            <artifactId>servlet-api</artifactId>
         </dependency>
 
         <!-- Testing Dependencies -->
@@ -166,16 +145,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
             <artifactId>junit</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>jul-to-slf4j</artifactId>
-            <version>1.7.21</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.sun.jersey</groupId>
-            <artifactId>jersey-servlet</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.mockito</groupId>
             <artifactId>mockito-core</artifactId>
@@ -197,20 +166,25 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
             <scope>test</scope>
         </dependency>
         <dependency>
-            <groupId>com.sun.jersey.jersey-test-framework</groupId>
-            <artifactId>jersey-test-framework-grizzly2</artifactId>
+            <groupId>org.glassfish.jersey.test-framework.providers</groupId>
+            <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
+            <version>2.25.1</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.mortbay.jetty</groupId>
             <artifactId>jetty-servlet-tester</artifactId>
-            <version>7.0.0.pre5</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>com.google.truth</groupId>
             <artifactId>truth</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.opendaylight.aaa</groupId>
+            <artifactId>aaa-password-service-impl</artifactId>
+            <scope>test</scope>
+        </dependency>
     </dependencies>
 
     <build>
@@ -237,55 +211,9 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
                             org.opendaylight.aaa.datastore.h2.*,
                         </Export-Package>
                         <Import-Package>
-                            com.google.*,
-                            com.sun.jersey.spi.container.servlet,
-                            javax.servlet.http,
-                            javax.servlet.*,
-                            org.apache.oltu.oauth2.*,
-                            javax.ws.rs.ext,
-                            javax.ws.rs,javax.ws.rs.core,
-                            javax.xml.bind.annotation,
-                            org.opendaylight.aaa.*,
-                            org.opendaylight.aaa.api.*,
-                            org.opendaylight.aaa.filterchain.filters,
-                            org.xml.sax,
-                            org.apache.felix.dm,
-                            org.apache.shiro.web.env,org.apache.shiro.authc,
-                            org.eclipse.jetty.servlets;version="[8.1,10)",
-                            org.opendaylight.*,
-                            org.osgi.framework,
-                            org.osgi.util.tracker,
-                            org.osgi.service.cm.*,
-                            org.osgi.service.http.*,
-                            org.apache.shiro.web.*,
-                            org.apache.shiro.*,
-                            org.slf4j.*,
-                            net.sf.ehcache.*,
-                            org.jolokia.osgi.security,
-                            org.osgi.service.blueprint.container,
-                            !javax.naming,
-                            !javax.naming.spi,
-                            !javax.servlet,
-                            !javax.servlet.http,
-                            !javax.tools,
-                            !javax.transaction.xa,
-                            !org.apache.lucene.analysis,
-                            !org.apache.lucene.analysis.standard,
-                            !org.apache.lucene.document,
-                            !org.apache.lucene.index,
-                            !org.apache.lucene.queryParser,
-                            !org.apache.lucene.search,
-                            !org.apache.lucene.store,
-                            !org.apache.lucene.util,
-                            !com.vividsolutions.jts.geom,
-                            !com.vividsolutions.jts.io,
-                            !org.osgi.service.jdbc,
-                            !javax.annotation,
-                            !javax.naming
+                           !javax.annotation,
+                           *
                         </Import-Package>
-                        <Embed-Dependency>h2;scope=compile|runtime;inline=true</Embed-Dependency>
-                        <Web-ContextPath>/auth</Web-ContextPath>
-                        <Bundle-Activator>org.opendaylight.aaa.AAAShiroActivator</Bundle-Activator>
                     </instructions>
                 </configuration>
             </plugin>