Browse Source

Merge branch '1.5.x'

pull/3254/merge
Stephane Nicoll 9 years ago
parent
commit
d79546da74
  1. 2
      spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc
  2. 6
      spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
  3. 2
      spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/SpringBootPluginExtension.java
  4. 6
      spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RepackageMojo.java

2
spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc

@ -400,7 +400,7 @@ want the other Boot features but not this one) @@ -400,7 +400,7 @@ want the other Boot features but not this one)
|`excludeDevtools`
|Boolean flag to indicate if the devtools jar should be excluded from the repackaged
archives. Defaults to `false`.
archives. Defaults to `true`.
|===

6
spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc

@ -768,9 +768,9 @@ applied to other modules using your project. Gradle does not support `optional` @@ -768,9 +768,9 @@ applied to other modules using your project. Gradle does not support `optional`
dependencies out-of-the-box so you may want to have a look to the
{propdeps-plugin}[`propdeps-plugin`] in the meantime.
TIP: If you want to ensure that devtools is never included in a production build, you can
use the `excludeDevtools` build property to completely remove the JAR. The property is
supported with both the Maven and Gradle plugins.
TIP: repackaged archives do not contain devtools by default. If you want to use certain
remote devtools feature, you'll need to enable the `excludeDevtools` build property to
include it. The property is supported with both the Maven and Gradle plugins.

2
spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/SpringBootPluginExtension.java

@ -99,7 +99,7 @@ public class SpringBootPluginExtension { @@ -99,7 +99,7 @@ public class SpringBootPluginExtension {
/**
* Whether Spring Boot Devtools should be excluded from the fat jar.
*/
boolean excludeDevtools = false;
boolean excludeDevtools = true;
/**
* Location of an agent jar to attach to the VM when running the application with

6
spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RepackageMojo.java

@ -167,11 +167,11 @@ public class RepackageMojo extends AbstractDependencyFilterMojo { @@ -167,11 +167,11 @@ public class RepackageMojo extends AbstractDependencyFilterMojo {
private Properties embeddedLaunchScriptProperties;
/**
* Exclude Spring Boot devtools.
* Exclude Spring Boot devtools from the repackaged archive.
* @since 1.3
*/
@Parameter(defaultValue = "false")
private boolean excludeDevtools;
@Parameter(defaultValue = "true")
private boolean excludeDevtools = true;
/**
* Include system scoped dependencies.

Loading…
Cancel
Save