Results 1 to 3 of 3

Thread: sprring-test-mvc proper repository?

  1. #1
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default sprring-test-mvc proper repository?

    I'm want to try out spring-test-mvc and according to the project github web site this is the proper maven dependency URL and dependency set up:
    "You can get it from the Spring Maven Snapshot repository: http://maven.springframework.org/snapshot"
    Code:
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-test-mvc</artifactId>
      <version>1.0.0.BUILD-SNAPSHOT</version>
    </dependency
    I added the snapshot to my repositories in pom.xml as
    Code:
    <repository>
                <id>spring-maven-milestone</id>
                <name>Spring Maven Milestone Repository</name>
                <url>http://maven.springframework.org/milestone</url>
            </repository>
    And tried to get spring-test-mvc into my project, but nothing happens. Are there currently any alternative snapshot URLs? Or what else could be wrong with this set up?

  2. #2
    Join Date
    Feb 2006
    Posts
    8

    Default

    Snapshot repository location is:
    Code:
    		<!-- For testing against latest Spring snapshots -->
    		<repository>
    			<id>org.springframework.maven.snapshot</id>
    			<name>Spring Maven Snapshot Repository</name>
    			<url>http://maven.springframework.org/snapshot</url>
    			<releases>
    				<enabled>false</enabled>
    			</releases>
    			<snapshots>
    				<enabled>true</enabled>
    			</snapshots>
    		</repository>

  3. #3
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default

    Thanks for your suggestion, I used this in the end:
    Code:
    <repository>
       <id>spring-maven-snapshot</id>
       <snapshots><enabled>true</enabled></snapshots>
       <name>Springframework Maven SNAPSHOT Repository</name>
       <url>http://maven.springframework.org/snapshot</url>
    </repository>
    It seems to work.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •