views:

22

answers:

1

Currently if i have dependency project opened, then maven use it instead of specified jar from repo.

Is there Eclipse setting (or conf for pom), so maven will always use specified dependencies non-regarding if corresponding project opened or not in eclipse?

A: 

If you're using m2eclipse, right-click on your project and go to Properties > Maven and disable Resolve dependencies from Workspace projects.

Pascal Thivent
ok.. that answer suit.. but i expected some global setting
kusoksna