Inherit maven-compiler-plugin configuration from openrs2-parent

This switches the release to 12, which fixes a javadoc issue when
building with -source 8 on JDK 12:

https://bugs.openjdk.java.net/browse/JDK-8212233
master
Graham 5 years ago
parent 7509f1d24d
commit be4945b8cb
  1. 8
      pom.xml

@ -80,14 +80,6 @@
<sourceDirectory>${project.basedir}/src</sourceDirectory> <sourceDirectory>${project.basedir}/src</sourceDirectory>
<testSourceDirectory>${project.basedir}/test</testSourceDirectory> <testSourceDirectory>${project.basedir}/test</testSourceDirectory>
<plugins> <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>

Loading…
Cancel
Save