You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Achim Westermann (JIRA)" <ji...@codehaus.org> on 2005/04/21 11:57:30 UTC

[jira] Created: (MPJAVADOC-55) Allow reinitialisation of sourcepath from maven.compile.source.set

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPJAVADOC-55) Allow reinitialisation of sourcepath from maven.compile.source.set

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPJAVADOC-55?page=all ]

Arnaud Heritier updated MPJAVADOC-55:
-------------------------------------

    Assign To:     (was: Arnaud Heritier)

> 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

>
> Original Estimate: 2 hours
>         Remaining: 2 hours
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org