Maven 1.x Multi-Project Plugin

Multiproject:site-deploy copying files twice

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.4.1
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Maven 1.1 beta1, Win 2K
  • Number of attachments :
    0

Description

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!

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: