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.

Expand full comment
Juan Thomas Angel Montilla's avatar

I will try this right now. Just too good

Expand full comment
2 more comments...

No posts

Ready for more?