That code looks fine, it also works in Cobertura. Can you get more
details about the dependency?
- Brett
Vincent Massol wrote:
> Hi,
>
> Is it possible to have a Maven.addArtifact() method added?
>
> Someone reported a bug on the clover plugin saying that a dependency was
> missing on one project. Here's the code that we currently have:
>
> Set set = new HashSet( this.project.getDependencyArtifacts() );
> set.add( cloverArtifact );
> this.project.setDependencyArtifacts( set );
>
> I'd rather replace this with a addArtifact() call as the
> setDependencyArtrifacts() call above sounds dangerous (we could omit
> artifacts). It appears that this is probably the problem we have.
>
> Anyone has any idea what type of artifact we could be missing with the code
> above? The person's code builds fine with a normal build; it's just when
> clover plugin is run that it fails.
>
> Thanks
> -Vincent
>
>
>
>
>
>
> ___________________________________________________________________________
> Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
> Téléchargez sur
http://fr.messenger.yahoo.com>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
dev-unsubscribe@...
> For additional commands, e-mail:
dev-help@...
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
dev-unsubscribe@...
For additional commands, e-mail:
dev-help@...