Skip to content

Fork process with spring-boot:run by default #16945

Closed
@snicoll

Description

@snicoll

The maven plugin currently has some logic to fork the maven process if necessary (e.g. if the path to an agent is set or if devtools is on the classpath).

This can have surprising side effects. Even though, this is not recommended, specifying "raw" system properties on the command line are transmitted to the Spring Boot application when the process is not forked. Currently, adding devtools would break that as this isn't the case when the process is forked.

Gradle always fork the process so those are two good reasons to align and always fork the process by default as well.

We'll flip the default of the fork property so that users have an escape hatch while migrating.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions