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

Javadoc not shown in Maven 2.0+

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: All, OS: All

      I configured a Maven job and the build doesn't show the javadoc report.

      Checking the console output I can see the javadoc is being generated by maven,
      but there is no javadoc report available by Hudson.

      Here it is an example: http://fgaucho.dyndns.org:8080/hudson/job/arena-
      puj/203/console

      Is there any other configuration I should do in order to show the project
      javadoc? Following the Hudson docs, it should be available automatically if
      Maven uses the javadoc goal (what is the case here).

      I believed the problem is caused because the maven goal to generate javadocs
      changed:

      Before Maven 2.x: javadoc:generate (or just javadoc)
      After Maven 2.x: javadoc:javadoc

      Following the latest maven-javadoc-plugin, This goal 'javadoc:javadoc' should
      be used as a Maven report: http://maven.apache.org/plugins/maven-javadoc-
      plugin/javadoc-mojo.html

            kohsuke Kohsuke Kawaguchi
            felipegaucho felipegaucho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: