« Return to Thread: MavenProject.addArtifact()

Re: MavenProject.addArtifact()

by brettporter :: Rate this Message:

Reply to Author | View in Thread

Vincent Massol wrote:

>
>> -----Original Message-----
>> From: Brett Porter [mailto:brett@...]
>> Sent: samedi 1 avril 2006 10:36
>> To: Maven Developers List
>> Subject: Re: MavenProject.addArtifact()
>>
>> That's correct. If you want the transitive dependencies, use
>> getArtifacts().
>
> Does it mean that when using setDependencyArtifacts() the deps are no longer
> transitively resolved after that?

No, they are transitively resolved, but if you are using
getDependencyArtifacts for anything, you only get the direct
dependencies (which will include anything added to the list that is
reset with setDependencyArtifacts).

- Brett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: MavenProject.addArtifact()