<groupId>org.apache.maven.plugins</groupId> version for jdk 11 code example
Example: maven pom java 11
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<release>11</release>
</configuration>
</plugin>