Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-31036

maven jdk switch should also cover javadoc


    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • maven-plugin
    • 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:


      in the pom helps. But again requires manual adjustment in every build.

            Unassigned Unassigned
            andreasmandel Andreas Mandel
            0 Vote for this issue
            3 Start watching this issue