Maven 1.x Javadoc Plugin
  1. Maven 1.x Javadoc Plugin
  2. MPJAVADOC-55

Allow reinitialisation of sourcepath from maven.compile.source.set

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows XP, jdk 1.4.1-b21, maven 1.02
    • Number of attachments :
      0

      Description

      The first time the plugin is loaded, it passes the maven.compiler.src.set into an internal ant path.
      Further invocations of the plugin will not do this again.

      More complex builds could do several checkouts and incremental builds (core, then extensions...)
      with separate javadoc outputs.

      <ant:path
      id="src-modules"
      location="$

      {maven.scm.checkout.dir}

      /src-modules"
      />
      <maven:addPath
      id="maven.compile.src.set"
      refid="src-modules"
      />

      may be used to add new paths for the maven-java-plugin and it works:
      The new paths are taken into account even if java:compile is invoked
      several times during a single maven run.

      Javdoc fails to take the new paths.

      Couldn't you just wrap the initalisation to a goal and just call it as a prereq from
      generate? Or peek at the java plugin. That would be great.

      kind regards,

      Achim

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Achim Westermann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 2 hours
              2h
              Remaining:
              Remaining Estimate - 2 hours
              2h
              Logged:
              Time Spent - Not Specified
              Not Specified