From 6c3d490c748bcc31382a25fe792ac16bbc489ebe Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 27 Oct 2014 17:22:35 +0000 Subject: [PATCH] Add note about springloaded configuration --- spring-boot-docs/src/main/asciidoc/howto.adoc | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index b18484694ed..fcef6f6d048 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -1562,6 +1562,31 @@ general mechanism to ensure that would be safe for a running application anyway, would only ever be a development time trick probably). +[[howto-reload-springloaded-maven]] +==== Configuring Spring Loaded for use with Maven +To use Spring Loaded with the Maven command line, just add it as a dependency in the +Spring Boot plugin declaration, e.g. + +.pom.xml +[source,xml,indent=0] +---- + + org.springframework.boot + spring-boot-maven-plugin + + + org.springframework + springloaded + 1.2.0.RELEASE + + + +---- + +This normally works pretty well with Eclipse and IntelliJ as long as +they have their build configuration aligned with the Maven defaults +(Eclipse m2e does this out of the box). + [[howto-reload-springloaded-gradle-and-intellij]] ==== Configuring Spring Loaded for use with Gradle and IntelliJ You need to jump through a few hoops if you want to use Spring Loaded in combination with