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

         Key: MPJAVADOC-55
         URL: http://jira.codehaus.org/browse/MPJAVADOC-55
     Project: maven-javadoc-plugin
        Type: Improvement
    Versions: 1.7    
 Environment: Windows XP, jdk 1.4.1-b21, maven 1.02
    Reporter: Achim Westermann
 Assigned to: Arnaud HERITIER 


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to