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
|
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
|
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
|
classloader to operate properly. Gradle and Maven do that by default when they detect
|
||||||
plugin to fork the process as follows:
|
DevTools on the classpath.
|
||||||
|
|
||||||
[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>
|
|
||||||
----
|
|
||||||
|
|
||||||
====
|
====
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue