Am 15.01.2012 18:13 schrieb "Stuart Sierra" <[email protected]>:
>
> Hello, list!
>
> I have a project A that has a dependency on library B. Library B has a
> dependency on library C with a version range like [2.1,3.0). I want to
> pin library C to a specific version in my project A. But I also want
> to declare, in the POM, that library C is not a *direct* dependency of
> my project A. Is there a way to do this?

Add C to A's dependencyManagement section with the version you desire.

HTH

Regards

Ansgar

>
> Thanks,
> -Stuart
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

Reply via email to