Issue Details (XML | Word | Printable)

Key: MPMULTIPROJECT-53
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Jeff Jensen
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Multi-Project Plugin

Multiproject:site-deploy copying files twice

Created: 22/Jun/05 04:08 PM   Updated: 05/Dec/05 01:11 AM
Return to search
Component/s: None
Affects Version/s: 1.4.1
Fix Version/s: None

Time Tracking:
Not Specified

Environment: Maven 1.1 beta1, Win 2K


 Description  « Hide

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!



There are no comments yet on this issue.