Reputation: 708
I have 2 projects. Both are Maven based Java projects. Project2 has Project1 as a dependency in it's pom.xml file, however when I look inside the Maven Dependencies folder in eclipse, I notice that Project1 shows up as a folder and not a jar. Any idea why this is the case?
Upvotes: 6
Views: 4759
Reputation: 1099
Go To Maven Dependencies -> Properties -> Maven Project Settings -> disable Resolve dependencies from Workspace Projects
Upvotes: 6
Reputation: 35901
m2eclipse offers the feature of resolving dependencies in the workspace. This can be disabled in the Maven popup menu on the project.
Maven -> Disable Workspace Resolution
Upvotes: 15