Spring Framework Maven Artifacts

Ben Hale

By popular demand, the Spring Framework Maven artifacts are now being uploaded to the Spring Snapshot Maven Repository. You can find details about all of the Spring Portfolio Maven repositories in my previous post but I'll reprint the details for the Spring snapshot repository here.

The Spring Snapshot Maven Repository is located at http://s3.amazonaws.com/maven.springframework.org/snapshot. Using this repository requires you to add an entry to the <repositories/> element in your POM. It should look like this:


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

The artifacts in this repository do not follow expected repository behaviors and will be removed regularly. At least the last 10 snapshot builds for a given artifact will be retained. If an artifact is removed from a distribution its snapshot builds will be removed immediately. On the release of a milestone or a final release, all snapshots for an artifact will be removed and a new snapshot for the next release created.

 

6 responses


  1. Hi Alex,

    could you please update the spring-2.5-sources.jar at http://repo1.maven.org/maven2/org/springframework/spring/2.5/.
    It currently contains just the source for spring aop.

    Thanks!

    Martin


  2. Once an artifact is uploaded to repo1, it can never be changed. The more granular artifacts are fine, so you could use those until the 2.5.1 release which is coming shortly. As well, you can just use the current snapshots that this post talks about.


  3. "somebody" found a way to change the spring-2.5-sources.jar at repo1. :-) Thanks for that!


  4. I've noticed spring richclient isn't there, will it be put there?

    What (if anything) is happening with that project?


  5. I was just wondering how you found your transition from your previous build system to using Maven. I have seens lots of discussion about use of ANT Ivy instead of Maven, and was wondering what your position was? I am currently implementing the building of all my companies products in Maven, but was challenged by a colleague as to why I am not using the ANT Ivy combination instead. I didn't really have an answer, which is partly the reason for me posting here. The articles I have read however were over a year old, so, my personal opinion is that Maven has come on a lot over that time. It has transitive dependencies now, which it did not have in earlier incarnations… etc, etc.

    Any thoughts would be greatly appreciated.


  6. Actually haven't moved our build systems over, we only create Maven artifacts. There are a couple of projects in the Spring Portfolio that use Maven, but not all of them do. Going forward the new portfolio projects are using a build system that is based on ANT and Ivy. Maven certainly has come on a bit, but there are still enough issues with it, that we feel a unified build system based on ANT and Ivy is more useful to us. However, each situation is different and I encourage you to evaluate based on your own projects.

Leave a Reply