Pivotal Knowledge Base

Follow

Adding Spring Milestone or Snapshot Releases to Ivy Projects

Environment

 Product  Version
 Spring  All
 OS  All Supported OS

Purpose

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

Resolution

To add the Spring Milestone or Snapshot release to an Ivy project:

  1. Open the ivysettings.xml file using a text editor.
  2. Locate the <resolvers/> block.
  3. Add this resolver chain within the block:

<ivysettings>

  <settings defaultResolver="spring-repositories" />

    <resolvers>

      <chain name="spring-repositories">

         <ibiblio name="repo" m2compatible="true" root="http://repo.spring.io/repo" />

      </chain>

   </resolvers>

</ivysettings>

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

Note: For a sample configuration, see the config_sample.zip file attached below:

Comments

Powered by Zendesk