Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-61

Adding custom source paths to javadoc

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-3
    • 2.1
    • None
    • None
    • FedoreCore 4 kernel 2.6.10-1.760_FC3smp #1

    Description

      I have a code generator that creates sources during the compile stage. These sources end up in a custom directory (${project.build.directory}/generated-sources/main/java). The problem is that javadoc skips these files when it generates the documentation. What I'm looking for is a way to manipulate javadoc's sourcefilenames argument.

      I have already tried adding <sourceRoot>${project.build.directory}/generated-sources/main/java</sourceRoot> to the code generation step, but it didn't affect javadoc.

      Attachments

        Activity

          People

            siveton Siveton Vincent
            erik.van.zijst@marketxs.com Erik van Zijst
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: