Colin Chalmers wrote:
Hi all,You _may_ be being hit by the fact that goals in maven are somewhat broken right now, to the extent that attainGoal as used all over the place knows nothing goals which have been achieved. So if somewhere along your build chain there are two attainGoals for java:compile, it would be called twice. I've submitted code for werkz and maven which resolves this, but it's not it yet...
I've got a wee problem with a preGoal which is being run twice. I'm using b7 and trying to check out src from VSS before compiling. If I run "maven site" the preGoal below is run twice. How can I do this more efficiently?
/c
<snip>
<preGoal name="java:compile">
<delete dir="${java.src.local}"/>
<vssget localPath="${java.src.local}"
recursive="true"
login="${config.vss.uid},${config.vss.pwd}"
serverPath="${vss.server.path}"
vsspath="${vss.project}"
writable="true">
</vssget>
</preGoal>
</snip>
As an aside, I would question uncoditionally doing a check out before every compile though, unless this project is never used interactively, e.g.only called as part of a nightly build or something like that. Even then, I would probably make it a separate goal which is called separately...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
