You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you're probably well aware, Maven projects using spring-boot-starter-parent can override the java.version property to set the maven.compiler.source and maven.compiler.targer versions. These are defined in the parent pom.xml through their build.gradle file.
It would make sense (to me at least) to define this property when needed, and override the value for such Spring Boot projects when moving from Java 8 to 11. That way users have one less manual step to perform when migrating in bulk from 8 to 11.
I imagine the implementation would not need much Spring specifics:
you'll want to find spring-boot-starter-parent, anywhere up the hierarchy,
detect the presence of the property value, also up the hierarchy,
if the nearest value is below 11, define the property with the new value.