Pivotal Knowledge Base

Follow

Download Released for Spring Framework 3.x with Dependencies

Environment

 Product  Version
 Spring Framework  3.x

Purpose

In the past, SpringSource has distributed a with-dependencies download that contains the Spring Framework and all of the optional dependencies for the framework. This download was available until the 3.0.2.RELEASE version. Unfortunately, the with-dependencies download has been discontinued due to the licensing issues regarding the distribution of the dependent libraries.

Resolution

Spring Framework has published their individual module JARs with Maven metadata both to the Maven Central and SpringSource repositories. Many of these modules are interdependent, and some of them also have external dependencies. As all these dependencies are well defined, we recommend that all users take advantage of the transitive dependency management capabilities of today's modern build systems (e.g. Maven, Gradle, Ant/Ivy).

If for whatever reason you are not using a build system with dependency management capabilities, you can download Spring Framework distribution files from the SpringSource community download page. These distributions contain all source and binary JAR files, as well as Javadoc and reference documentation, but do not contain external dependencies. However, if you build from source, you can create the spring-framework-*-dependencies.zip package by yourself:

$ git clone https://github.com/SpringSource/spring-framework.git  # clone git Spring's git repo
$ cd spring-framework
$ git tag -l # list all avalable tags
$ git checkout v3.1.1.RELEASE # choose desired tag, e.g. v3.1.1.RELEASE
$ export ANT_OPTS='-Djava.awt.headless=true -Dcompiler.args="-enableJavadoc -warn:none" -XX:MaxPermSize=256m -Xmx1024m'
$ ant -f build-spring-framework/build.xml # build spring from sources
$ ant -f build-spring-framework/build.xml package # create the distribution zip

When the build is complete, build-spring-framework/target/artifacts/spring-framework-3.1.1.RELEASE-dependencies.zip will be available, containing all Spring module JARs and all external dependencies, both optional and required.

Additional Information

For more information on downloading Spring artifacts and building from source, see:

Comments

Powered by Zendesk