You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/11/25 21:23:24 UTC

[jira] (MPMULTIPROJECT-53) Multiproject:site-deploy copying files twice

     [ https://jira.codehaus.org/browse/MPMULTIPROJECT-53?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MPMULTIPROJECT-53.
----------------------------------------

    Resolution: Won't Fix

Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

> Multiproject:site-deploy copying files twice
> --------------------------------------------
>
>                 Key: MPMULTIPROJECT-53
>                 URL: https://jira.codehaus.org/browse/MPMULTIPROJECT-53
>             Project: Maven 1.x Multi-Project Plugin
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>         Environment: Maven 1.1 beta1, Win 2K
>            Reporter: Jeff Jensen
>
> After the Checkstyle run, seemingly as part of "building reactor projects", it copies some files for each subproject, which is unexpected to me.  While this can seem trivial, the file copy time is half the build time:
> --------------------------------------------------------------------
> [snip]
>     [echo] Generating the Checkstyle...
> checkstyle:init:
> checkstyle:report:
> checkstyle:run:
>     [echo] Using file:C:/devroot/healthmatch/Development/healthmatchmaven/../healthmatchbatch
> /src/conf/checkstyle/checkstyle.xml for checkstyle ...
>     [echo] Now building reactor projects: [HealthMatch, HealthMatch Batch]
>     [copy] Copying 11550 files to C:\devroot\healthmatch\builds\healthmatchmultiproject\docs\multiproject\heal
> thmatch
>     [copy] Copying 225 files to C:\devroot\healthmatch\builds\healthmatchmultiproject\docs\multiproject\heal
> thmatchbatch
> multiproject:projects-init:
> multiproject:site-init:
> [snip]
> --------------------------------------------------------------------
> Then, when everything is all done, the site:fsdeploy does the copy, as expected (and deleting all the previously copied files first!):
> --------------------------------------------------------------------
> [snip]
> site:init:
> site:local-deploy-init:
>     [echo]
>       site clean = true
>       siteDirectory = c:/devroot/healthmatch/sites/healthmatchmultiproject
> site:fsdeploy:
>     [echo] Cleaning destination first
>     [delete] Deleting directory C:\devroot\healthmatch\sites\healthmatchmultiproject
>     [mkdir] Created dir: C:\devroot\healthmatch\sites\healthmatchmultiproject
>     [copy] Copying 15835 files to C:\devroot\healthmatch\sites\healthmatchmultiproject
> BUILD SUCCESSFUL
> [snip]
> --------------------------------------------------------------------
> In this build process, the file copy time takes a very long time with almost 16,000 files!



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)