mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '1.4.x' into 1.5.x
This commit is contained in:
commit
f3ac98aa82
@ -815,23 +815,8 @@ Project`) will have the same effect.
|
||||
====
|
||||
You can also start your application via the supported build plugins (i.e. Maven and
|
||||
Gradle) as long as forking is enabled since DevTools need an isolated application
|
||||
classloader to operate properly. Gradle does this by default and you can force the Maven
|
||||
plugin to fork the process as follows:
|
||||
|
||||
[source,xml,indent=0,subs="verbatim,quotes,attributes"]
|
||||
----
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<fork>true</fork>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
----
|
||||
classloader to operate properly. Gradle and Maven do that by default when they detect
|
||||
DevTools on the classpath.
|
||||
|
||||
====
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user