Skip to content

Example using excludeDevtools property should document that optional dependencies should be enabled #48641

@ferrerogg

Description

@ferrerogg

With Boot 4.x I cannot longer include devtools during repackage phase of spring-boot-maven-plugin.

Check by creating a simple demo project with 4.0.1 selecting devtools and then for example swithing pom to use 3.5.7.
Both excludeDevtools and spring-boot.repackage.excludeDevtools does not include devtools in mvn package with 4.x.

I include my simple pom test

pom.xml

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions