> -----Original Message-----
> From: Brett Porter [mailto:
brett@...]
> Sent: vendredi 31 mars 2006 00:26
> To: Maven Developers List
> Subject: Re: MavenProject.addArtifact()
>
> That code looks fine, it also works in Cobertura. Can you get more
> details about the dependency?
I got more information and apparently the missing dependency is brought
transitively. Is it possible that the getDependencyArtifacts() below does
not include transitive dependencies?
Thanks
-Vincent
> 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@...
___________________________________________________________________________
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@...