Skip to content

Instantly share code, notes, and snippets.

@nadvolod
Created June 14, 2020 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nadvolod/557af360490223fdabe4b5ec56faf3f3 to your computer and use it in GitHub Desktop.
Save nadvolod/557af360490223fdabe4b5ec56faf3f3 to your computer and use it in GitHub Desktop.
How to fix maven compiler errors
<build>
<pluginManagement>
<plugins>
<!-- https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment