Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6
    • Labels:
      None
    • Number of attachments :
      2

      Description

      patch for the javadoc plugin to generate javadoc for the maven.compile.src.set in addition to the pom.build.sourceDirectory

      In some projects all of the java sources are generated rather than located in the pom.build.sourceDirectory - doesn't mean I don't want them javadoced.

      <ant:javadoc
      packagenames="$

      {pom.package}

      .*"
      destdir="$

      {maven.javadoc.destdir}

      "
      ............
      ............
      sourcepathref="maven.compile.src.set">

      I've tested by re-running maven site on the maven source without any problems.

      cheers
      Nathan

      1. maven-javadoc-plugin-1.3.jelly-diff
        3 kB
        Denis McLaughlin
      2. plugin.jelly.patch
        0.8 kB
        Nathan Coast

        Activity

        Hide
        Nathan Coast added a comment -

        javadoc-plugin plugin.jelly patch

        Show
        Nathan Coast added a comment - javadoc-plugin plugin.jelly patch
        Hide
        Christian Stein added a comment -

        The proposed patch duplicates names of *.java files in the
        lower-right corner "All Classes". This happens when adding
        (in maven.xml) an extra build-source path as pre-goal
        name="build:start".

        Waiting for Maven to support multiple source paths...

        Show
        Christian Stein added a comment - The proposed patch duplicates names of *.java files in the lower-right corner "All Classes". This happens when adding (in maven.xml) an extra build-source path as pre-goal name="build:start". Waiting for Maven to support multiple source paths...
        Hide
        Denis McLaughlin added a comment -

        The attached file, maven-javadoc-plugin-1.3.jelly-diff patches the 1.3 version of the Maven javadoc plugin. It replaces the single fileset generated from the pom.build.sourceDirectory variable with multiple filesets generated by a forEach loop across each directory in the maven.compile.src.set refid.

        Denis

        Show
        Denis McLaughlin added a comment - The attached file, maven-javadoc-plugin-1.3.jelly-diff patches the 1.3 version of the Maven javadoc plugin. It replaces the single fileset generated from the pom.build.sourceDirectory variable with multiple filesets generated by a forEach loop across each directory in the maven.compile.src.set refid. Denis
        Hide
        Arnaud Heritier added a comment -

        Patch adapted and applied on CVS.

        Show
        Arnaud Heritier added a comment - Patch adapted and applied on CVS.
        Hide
        Brett Porter added a comment -

        original patch caused doubling up of classes in navigation as main source tree was processed twice.
        Arnaud fixed most of this, and I finished up to get the references working. Done.

        Show
        Brett Porter added a comment - original patch caused doubling up of classes in navigation as main source tree was processed twice. Arnaud fixed most of this, and I finished up to get the references working. Done.

          People

          • Assignee:
            Brett Porter
            Reporter:
            Nathan Coast
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: