mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish doc
See gh-5137
This commit is contained in:
parent
fc535fe27c
commit
8350238b8c
@ -814,23 +814,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