uniform way of providing java-17 options to surefire

59 jobs for java-17-compliance in 19 minutes and 57 seconds (queued for 9 seconds)