-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
maven-interation-plugin 2.12.1
jenkins 1.625.1
Solution of JENKINS-18403 implements a JDK switch for maven builds using a JDK1.6 or older. The javadocExecutable variable should also be set, to use the javadoc of the 'older' JDK. (https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#javadocExecutable)
Since the strict parser rules with the newer javadoc versions this likely leads to build errors. (http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html)
As a workaround, setting:
<properties> ... <javadocExecutable>${JAVA_HOME}/bin/javadoc</javadocExecutable> </properties>
in the pom helps. But again requires manual adjustment in every build.
- is related to
-
JENKINS-18403 Jenkins 1.518 causes Java 5 Maven builds to fail
- Resolved