Engineering
Releases
News and Events
Spring Framework 4.0 RC2 available

Spring 4.0 RC2 has been released and is now available from the SpringSource repository.

This will be the final release candidate before GA, so please give it a try and let us know if you find any issues.

If you are Maven user you may be interested in the new "bill of materials" POM that we have published with this release. You can import the spring-framework-bom project in your dependency management section to ensure that you get consistent Spring Framework dependencies. This is particularly useful when you work with other projects that may have transitive dependencies to earlier versions of Spring.

To use the BOM, add the following to your <dependencyManagement> section:

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-framework-bom</artifactId>
            <version>4.0.0.RC2</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

You can then simply declare your usual Spring Framework dependencies without needing to specify a <version>:

<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-context</artifactId>
</dependency>

Spring 4.0 GA is scheduled for release on December 12th so this really is your last chance to provide feedback!

comments powered by Disqus