On Fri, Dec 10, 2010 at 7:22 AM, Mate Varga <[email protected]> wrote:
> However, I have all of the first level (direct) dependencies resolved.
> As far as my knowledge goes, it's enough to have the first level
> dependencies to compile a Java project,

Not necessarily... it depends on whether the project developers are
relying on transitive dependencies to bring in other stuff they need.

For example, I can declare a dependency on Struts and then use
BeanUtils classes in my code, because I know the Struts dependency
will give me BeanUtils transitively.

In any case, you can't just 'turn off' transitive dependency
resolution in Maven.

You mentioned you have an internal repo already, so if the maintainers
of the remote repos you're trying to pull from won't cooperate, put
the needed artifacts in your own repo and you'll be good to go.

-- 
Wendy

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

Reply via email to