Remove the ability to run an application in the Maven process
Closes gh-30501
This commit is contained in:
@@ -10,7 +10,8 @@ include::../maven/integration-tests/pom.xml[tags=integration-tests]
|
||||
|
||||
Such setup can now use the https://maven.apache.org/surefire/maven-failsafe-plugin[failsafe-plugin] to run your integration tests as you would expect.
|
||||
|
||||
NOTE: By default, the application is started in a separate process and JMX is used to communicate with the application.
|
||||
NOTE: The application is started in a separate process and JMX is used to communicate with the application.
|
||||
By default, the plugin uses port `9001`.
|
||||
If you need to configure the JMX port, see <<integration-tests.examples.jmx-port,the dedicated example>>.
|
||||
|
||||
You could also configure a more advanced setup to skip the integration tests when a specific property has been set, see <<integration-tests.examples.skip,the dedicated example>>.
|
||||
|
||||
@@ -15,9 +15,6 @@ There is also explicit support for <<run.examples.system-properties,system prope
|
||||
|
||||
As enabling a profile is quite common, there is dedicated `profiles` property that offers a shortcut for `-Dspring-boot.run.jvmArguments="-Dspring.profiles.active=dev"`, see <<run.examples.specify-active-profiles,Specify active profiles>>.
|
||||
|
||||
Although this is not recommended (and deprecated), it is possible to execute the application directly from the Maven JVM by disabling the `fork` property.
|
||||
Doing so means that the `jvmArguments`, `systemPropertyVariables`, `environmentVariables` and `agents` options are ignored.
|
||||
|
||||
Spring Boot `devtools` is a module to improve the development-time experience when working on Spring Boot applications.
|
||||
To enable it, just add the following dependency to your project:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user