diff --git a/archiva-modules/archiva-web/archiva-security/pom.xml b/archiva-modules/archiva-web/archiva-security/pom.xml
index 7f6dd61d6..3f6e2b37c 100644
--- a/archiva-modules/archiva-web/archiva-security/pom.xml
+++ b/archiva-modules/archiva-web/archiva-security/pom.xml
@@ -61,34 +61,10 @@
org.apache.archiva.redback
redback-system
-
- org.apache.archiva.redback
- plexus-spring
-
-
- org.codehaus.plexus.registry
- plexus-registry-api
-
-
- org.codehaus.plexus.registry
- plexus-registry-commons
-
net.sf.ehcache
ehcache
-
- org.codehaus.plexus.cache
- plexus-cache-ehcache
-
-
- org.codehaus.plexus.cache
- plexus-cache-api
-
-
- org.codehaus.plexus
- plexus-component-api
-
@@ -106,16 +82,66 @@
redback-rbac-role-manager
- com.google.guava
- guava
+ org.apache.archiva
+ archiva-xml-tools
-
-
org.apache.archiva
- archiva-proxy
- test
+ metadata-model
+
+ org.apache.archiva
+ archiva-common
+
+
+ org.apache.archiva
+ archiva-policies
+
+
+ org.apache.archiva
+ archiva-repository-api
+
+
+ org.apache.archiva
+ archiva-scheduler-repository-api
+
+
+
+ org.apache.archiva.redback
+ redback-policy
+
+
+ org.apache.archiva.redback
+ redback-authentication-api
+
+
+ org.apache.archiva.redback
+ redback-authorization-api
+
+
+ org.apache.archiva.redback
+ redback-users-api
+
+
+ org.apache.archiva.components
+ archiva-components-spring-taskqueue
+
+
+
+ commons-io
+ commons-io
+
+
+ org.apache.commons
+ commons-lang3
+
+
+ org.springframework
+ spring-context
+
+
+
+
org.apache.archiva.maven
archiva-maven-proxy
@@ -141,11 +167,6 @@
redback-keys-jpa
test
-
- org.apache.archiva.redback
- redback-keys-cached
- test
-
javax.transaction
javax.transaction-api
@@ -165,14 +186,6 @@
net.sf.ehcache
ehcache
-
- org.codehaus.plexus.cache
- plexus-cache-ehcache
-
-
- org.codehaus.plexus.cache
- plexus-cache-api
-
@@ -190,35 +203,25 @@
redback-rbac-memory
test
-
- org.slf4j
- slf4j-simple
- test
-
org.apache.archiva
archiva-test-utils
${project.version}
test
-
- org.apache.derby
- derby
- test
-
org.springframework
spring-test
test
- org.apache.archiva.redback
- redback-common-test-resources
+ org.apache.archiva
+ archiva-repository-admin-default
test
- org.apache.archiva
- archiva-repository-admin-default
+ org.apache.archiva.redback
+ redback-common-test-resources
test
@@ -247,12 +250,6 @@
test
-
- org.ow2.asm
- asm
- test
-
-
net.sf.ehcache
ehcache
diff --git a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/AbstractSecurityTest.java b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/AbstractSecurityTest.java
index b58aae891..6487e9d23 100644
--- a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/AbstractSecurityTest.java
+++ b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/AbstractSecurityTest.java
@@ -19,7 +19,6 @@ package org.apache.archiva.security;
* under the License.
*/
-import com.google.common.collect.Lists;
import junit.framework.TestCase;
import net.sf.ehcache.CacheManager;
import org.apache.archiva.configuration.ArchivaConfiguration;
@@ -47,6 +46,8 @@ import javax.inject.Named;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
+import java.util.ArrayList;
+import java.util.Arrays;
/**
* AbstractSecurityTest
@@ -169,7 +170,7 @@ public abstract class AbstractSecurityTest
log.info( "ignore RbacObjectNotFoundException for id {} during restoreGuestInitialValues", userId );
return;
}
- userAssignment.setRoleNames( Lists.newArrayList( "Guest" ) );
+ userAssignment.setRoleNames( new ArrayList( Arrays.asList( "Guest" ) ) );
rbacManager.saveUserAssignment( userAssignment );
CacheManager.getInstance().clearAll();
}
diff --git a/status-dep.txt b/status-dep.txt
index 0603ef83d..4ea8c5367 100644
--- a/status-dep.txt
+++ b/status-dep.txt
@@ -64,6 +64,7 @@ archiva-modules
archiva-rest-services
archiva-web-common
archiva-rss
+ archiva-security