aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java18
-rw-r--r--pom.xml2
2 files changed, 19 insertions, 1 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java
index 53e5433a6..4e25a18a1 100644
--- a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java
+++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java
@@ -21,6 +21,7 @@ package org.apache.archiva.repository.scanner;
import java.io.File;
import java.io.IOException;
+import java.lang.annotation.Annotation;
import java.util.Arrays;
import java.util.Collections;
import java.util.Date;
@@ -499,5 +500,22 @@ public class RepositoryContentConsumersTest
public Resource getResource(String location) {
throw new UnsupportedOperationException("Not supported yet.");
}
+
+ public <T> T getBean( Class<T> tClass )
+ throws BeansException
+ {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
+
+ public Map<String, Object> getBeansWithAnnotation( Class<? extends Annotation> aClass )
+ throws BeansException
+ {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
+
+ public <A extends Annotation> A findAnnotationOnBean( String s, Class<A> aClass )
+ {
+ throw new UnsupportedOperationException("Not supported yet.");
+ }
}
}
diff --git a/pom.xml b/pom.xml
index 8c018a9bb..1df932b13 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1214,7 +1214,7 @@
<jetty.version>6.1.19</jetty.version>
<slf4j.version>1.5.8</slf4j.version>
<binder.version>0.9</binder.version>
- <spring.version>2.5.6</spring.version>
+ <spring.version>3.0.5.RELEASE</spring.version>
<jackrabbit.version>2.2.5</jackrabbit.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>