Adding Spring Milestone or Snapshot releases to Maven projects
search cancel

Adding Spring Milestone or Snapshot releases to Maven projects

book

Article ID: 337161

calendar_today

Updated On:

Products

VMware Spring Runtime

Issue/Introduction

This article provides information on how to add the Spring Milestone or Snapshot release of a SpringSource project to a Maven project.

Environment

Spring Framework 2.5
Spring Framework 3.1

Resolution

To add the Spring Milestone or Snapshot release to a Maven project:
  1. Open the POM file using a text editor.
  2. Locate the <repositories> block.
  3. Add these <repository> blocks within the <repositories> block:

    <repository>
    <id>spring-milestone</id>
    <name>Spring Portfolio Milestone Repository</name>
    <url>http://maven.springframework.org/milestone</url>
    </repository>

    <repository>
    <id>spring-snapshot</id>
    <name>Spring Portfolio Snapshot Repository</name>
    <url>http://maven.springframework.org/snapshot</url>
    </repository>

    You should now be able to reference the SpringSource Milestone and Snapshot releases in your Maven projects.