Skip to content

Commit 985998a

Browse files
author
TheSnoozer
committed
specify the java target and source to potentially work around https://bugs.openjdk.java.net/browse/JDK-8212233 and https://bugs.openjdk.java.net/browse/JDK-8217177 that makes the javadoc generation fail
1 parent 517cf9f commit 985998a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

core/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,21 @@
2121
<junit.version>4.13.1</junit.version>
2222
</properties>
2323

24+
<build>
25+
<plugins>
26+
<!-- Setting built-in java compiler properties -->
27+
<plugin>
28+
<groupId>org.apache.maven.plugins</groupId>
29+
<artifactId>maven-compiler-plugin</artifactId>
30+
<configuration>
31+
<source>${java.target}</source>
32+
<target>${java.target}</target>
33+
<compilerArgument>-Xlint:deprecation</compilerArgument>
34+
</configuration>
35+
</plugin>
36+
</plugins>
37+
</build>
38+
2439
<dependencies>
2540
<!-- JGit -->
2641
<dependency>

0 commit comments

Comments
 (0)