-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Actually, Artifact.cloneArtifact(..) doesn't exist for 2.0.

HOWEVER, it's a pretty simple method. It would be pretty easy to
construct a new artifact at the beginning of the mojo's execution, and
set that as the project artifact for use in the forked execution...

- -j

Brett Porter wrote:
| I think John was suggesting doing something like:
|
| project.setArtifact( artifactFactory.cloneArtifact(
| project.getArtifact() ) )
|
| on the project at start?
|
| - Brett
|
| Vincent Massol wrote:
|
|>
|>> -----Original Message-----
|>> From: Brett Porter [mailto:[EMAIL PROTECTED]
|>> Sent: mardi 1 novembre 2005 21:04
|>> To: Maven Developers List
|>> Subject: Re: [m2] Is the <prerequisite> tag working?
|>>
|>> <prerequisites> (there is a filed bug in the doc generation)
|>>
|>> But I disagree with this approach. It sounds as if you can work around
|>> it in the clover plugin for the time being.
|>
|>
|>
|> Well if someone provides the patch to make clover work with 2.0 I'd be
|> more
|> than happy to commit it. However I have currently no idea what to do
|> to make
|> it work and I don't want to spend too long on something hackish...
|>
|> Thanks
|> -Vincent
|>
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFDaNjYK3h2CZwO/4URAsVPAJ9aIAhk8+LkKxob9MddGNYOlcpSeACghYpH
MmoKSsgD3+oFLIxkDwvzVH8=
=ob1q
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to