Set a Property Based on Java Version for Maven Build
We switched from java 1.8 to openjdk 16. And we were faced with builds running on jdk1.8 and jdk16 simultaneously for a short period. And the test didn’t run. So we had to pass arguments to surefire based on jdk the build was running. So we did it with a property whose value gets set … Read more