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
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
excludeDevtoolsandspring-boot.repackage.excludeDevtoolsdoes not include devtools inmvn packagewith 4.x.I include my simple pom test
pom.xml