Discussion about this post

User's avatar
Neural Foundry's avatar

The version detection logic is pretty slick. I've seen teams struggle with the same issue when they try to standardize Java versions across projects but end up with tons of edge cases. The fallback pattern you used (maven.compiler.release -> java.version -> maven.compiler.source -> default) is basically a pragmatic way to handle real-world repos without forcing everyone to refactor.

Juan Thomas Angel Montilla's avatar

I will try this right now. Just too good

2 more comments...

No posts

Ready for more?