jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 1.x Javadoc Plugin
  • MPJAVADOC-5

enabling javadoc for maven.compile.src.set

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

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

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

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. File
    maven-javadoc-plugin-1.3.jelly-diff
    19/May/04 11:25 PM
    3 kB
    Denis McLaughlin
  2. Text File
    plugin.jelly.patch
    02/Oct/03 2:49 AM
    0.8 kB
    Nathan Coast

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Nathan Coast added a comment - 02/Oct/03 2:49 AM

javadoc-plugin plugin.jelly patch

Show
Nathan Coast added a comment - 02/Oct/03 2:49 AM javadoc-plugin plugin.jelly patch
Hide
Permalink
Christian Stein added a comment - 13/May/04 9:46 AM

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 - 13/May/04 9:46 AM 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
Permalink
Denis McLaughlin added a comment - 19/May/04 11:28 PM

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 - 19/May/04 11:28 PM 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
Permalink
Arnaud Heritier added a comment - 22/May/04 1:51 PM

Patch adapted and applied on CVS.

Show
Arnaud Heritier added a comment - 22/May/04 1:51 PM Patch adapted and applied on CVS.
Hide
Permalink
Brett Porter added a comment - 26/May/04 8:40 AM

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 - 26/May/04 8:40 AM 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
Vote (1)
Watch (0)

Dates

  • Created:
    02/Oct/03 2:47 AM
    Updated:
    26/May/04 8:40 AM
    Resolved:
    26/May/04 8:40 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.