In theory, enabling Workspace resolution should make Eclipse to use the current project rather to go to the repository.
But it may fail, for different reasons. In my case, two projects A and A-test. Both of them have
- many subprojects/modules
- a main pom.xml that mentions such modules
I imported all of them in the same workspace.
Now, when running project in A-test, the only way to see the effect of a change in A is do a mvn install
, so the jar is updated in local repository.
Enabling workspace resolution wasn't helping. Although, it sort of works when Debugging from Eclipse. A real mess.
So, how can I make sure projects in A-test are looking at Eclipse's A?