[MRM-1564] spring 3.1.0 upgrade

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213948 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-12-13 21:53:26 +00:00
parent 9c7358fd42
commit 67e313f681
3 changed files with 29 additions and 1 deletions

View File

@ -37,6 +37,7 @@ import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.MessageSourceResolvable;
import org.springframework.context.NoSuchMessageException;
import org.springframework.core.env.Environment;
import org.springframework.core.io.Resource;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@ -563,5 +564,10 @@ public class RepositoryContentConsumersTest
{
throw new UnsupportedOperationException( "Not supported yet." );
}
public Environment getEnvironment()
{
return null;
}
}
}

View File

@ -169,6 +169,17 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>

13
pom.xml
View File

@ -76,7 +76,7 @@
<redback.taskqueue.version>1.0</redback.taskqueue.version>
<slf4j.version>1.6.4</slf4j.version>
<binder.version>0.11</binder.version>
<spring.version>3.0.6.RELEASE</spring.version>
<spring.version>3.1.0.RELEASE</spring.version>
<jackrabbit.version>2.3.4</jackrabbit.version>
<javax.jcr.version>2.0</javax.jcr.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@ -1337,6 +1337,17 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
<version>${spring.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>