Announcement Announcement Module
Collapse
No announcement yet.
sprring-test-mvc proper repository? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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>

    Comment


    • #3
      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.

      Comment

      Working...
      X