This is the 2019.2 version of the bug, unless the replacement version. Temporarily no once and for all
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
</plugins>
</build>
Each addition of this code in the pom.xml file can be automatically set.
<source>11</source>
<target>11</target>
How much you want to write the version number