String (String pluginId) { if (pluginId.equals("org.apache.maven:maven-compiler-plugin")) { if (mavenVersionIsOrMoreThan("3.9.3")) { return "3.11.0"; } if (mavenVersionIsOrMoreThan("3.9.0")) { return "3.10.1"; } return "3.1"; } throw new IllegalArgumentException( "this plugin is not configured yet, consider https://youtrack.jetbrains.com/issue/IDEA-313733/create-matrix-of-plugin-levels-for-different-java-versions"); }