Skip to content

Commit 62b618d

Browse files
committed
Temporarily disable therapi
It fails with OpenJDK 8, unfortunately; see comment in the patch.
1 parent 712c86e commit 62b618d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

pom.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,26 @@
337337
<plugin>
338338
<artifactId>maven-compiler-plugin</artifactId>
339339
<version>${maven-compiler-plugin.version}</version>
340+
<!--
341+
TEMP: Disable therapi until we solve why it fails on OpenJDK 8.
342+
The error is:
343+
344+
Compilation failure
345+
[ERROR] javac: invalid flag: -
346+
[ERROR] Usage: javac <options> <source files>
347+
[ERROR] use -help for a list of possible options
348+
349+
Or if you override javadoc.runtimeAccessPackages to anything else:
350+
351+
Compilation failure
352+
[ERROR] javac: invalid flag:
353+
[ERROR] Usage: javac <options> <source files>
354+
[ERROR] use -help for a list of possible options
355+
356+
Either way, it seems the -Ajavadoc.packages=... argument is not
357+
being passed to javac properly by the maven-compiler-plugin, even
358+
though the "mvn -X" looks correct and works standalone copy-pasted.
359+
340360
<configuration>
341361
<annotationProcessorPaths>
342362
<path>
@@ -350,6 +370,7 @@
350370
<arg>-Ajavadoc.packages=${javadoc.runtimeAccessPackages}</arg>
351371
</compilerArgs>
352372
</configuration>
373+
-->
353374
</plugin>
354375

355376
<plugin>

0 commit comments

Comments
 (0)