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