2

I am trying to get a jar for Spring-test mvc.

<dependency>
  <groupId>org.springframework</groupId>
  <artifactId>spring-test-mvc</artifactId>
  <version>1.0.0.M1</version>
  <scope>test</scope>
</dependency>

This dependency can´t be resolved. Where can I get the jar?

Thanks

pethel
  • 5,397
  • 12
  • 55
  • 86

2 Answers2

3

As stated in their Github repository, you have to define the following repository in your pom.xml / settings.xml:

http://repo.springsource.org/libs-milestone/

The dependency is here:

http://repo.springsource.org/libs-milestone/org/springframework/spring-test-mvc/1.0.0.M1/

Note that there is a 1.0.0.M2 release.

Romain Linsolas
  • 79,475
  • 49
  • 202
  • 273
0

Since 4.0.0.M1 it is included in spring-test (see https://jira.spring.io/browse/SEC-2015) See the sample usage at https://github.com/rwinch/spring-security-test-blog (https://jira.spring.io/browse/SEC-2592)

Grigory Kislin
  • 16,647
  • 10
  • 125
  • 197