Configure maven dependency resolution with in eclipse

356 Views Asked by At

I use maven-2 in external mode in eclipse 4 (juno) with m2e and m2e-wtp plugin. In all our projects we usually define all the libraries (to the version) with in the pom. So we use non-transitive dependency resolution for our build. But when I import our projects from git to eclipse, the MavenDependency that gets resolved uses transitive dependency resolution. This is resulting in some issues, like i get some libraries copied to my classpath which I did not intend for. Is there a way to configure the nature of dependency resolution in eclipse so that it uses non-transitive dependency resolution.

Thanks.

0

There are 0 best solutions below