When building the whole multiproject site, build each subproject in its correct 
directory instead of moving everything at the end (which may be very slow)
----------------------------------------------------------------------------------------------------------------------------------------------------------

         Key: MPMULTIPROJECT-57
         URL: http://jira.codehaus.org/browse/MPMULTIPROJECT-57
     Project: maven-multiproject-plugin
        Type: Improvement
 Reporter: Ignacio G. Mac Dowell


Currently when building a multiproject site, each subproject's site is built in 
its own target directory and moved at the end of this process. It'd be nice to 
(at least) have the ability of generating each subsite in the apropiate 
directory. IMHO this should be the default. Think of moving thousands of xref, 
javadocs ... 

The solution is really simple. On goal multiproject:site-init set a property:

<j:set var="multiprojectBasedir" value="${maven.docs.dest}"  scope="parent"/>

then on goal xdoc:init

<j:if test="${multiprojectBasedir != null}">
        <j:set var="maven.docs.dest" 
value="${multiprojectBasedir}/${maven.multiproject.aggregateDir}${pom.artifactId}"
 />
</j:if>

then on goal multiproject:site stop moving all directories

If this sounds reasonable I'll send both patches.


-- 
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