Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreThe second release candidate for Spring Boot 1.0.0 has now been released and published to the Spring Maven Repository.
UPDATE: We have released 1.0.0.RC3 earlier than expected to address an unfortunate regression with RC2. Please use RC3 in preference to RC2.
This release incorporates over 40 improvements and fixes. If you are upgrading from RC1, you may need to change some of your import
declarations as we have restructured a few packages with this release.
As well as bug fixes, there are a couple of new noteworthy features:
Users of the spring
CLI application can now generate executable JARs directly from .groovy
scripts. Simply run spring jar
to create a self-contained runnable archive:
$ spring jar webapp.jar web.groovy
$ java -jar webapp.jar
You can also use the same command from the embedded shell:
$ spring shell
Spring Boot (v1.0.0.RC2)
Hit TAB to complete. Type 'help' and hit RETURN for help, and 'exit' to quit.
$ jar webapp.jar web.groovy
$ !java -jar webapp.jar
The Spring Boot gradle plugin has been updated so that you can now omit the version numbers of known dependencies. For example:
buildscript {
repositories {
maven { url "http://repo.springsource.org/libs-milestone" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.0.0.RC2")
}
}
apply plugin: 'java'
apply plugin: 'spring-boot'
repositories {
mavenCentral()
maven { url "http://repo.springsource.org/libs-snapshot" }
}
dependencies {
// version numbers need not be specified for know dependencies
compile("org.springframework.boot:spring-boot-starter")
testCompile("org.springframework.boot:spring-boot-starter-test")
}
Take a look at the spring-boot-dependencies
pom.xml file for a complete list of known dependencies.
Thanks to everyone that has already provided feedback and offered pull-requests for the project. Your early support has been invaluable. Please do continue to raise issues for both bugs and suggestions.