Skip to content
Snippets Groups Projects
Commit dc78d647 authored by Ing. František DVOŘÁK's avatar Ing. František DVOŘÁK
Browse files

Partial workaround problems with javadoc plugin and Java 11

* force java home without the jre subdirectory
* handle different source version and java version
parent 828fac13
No related merge requests found
......@@ -226,6 +226,12 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<!-- Workaround for: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set. -->
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
<!-- Workaround for: The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module. -->
<source>${project.source.version}</source>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment