In Eclipse m2e, how to reference workspace project?
How can I reference another workspace project using Eclipse m2e ? Do I have to add a project dependency in the project setting? But in that case the dependency is not shown in the pom. If I set them in the pom, it will not reference the project in workspace but reference the jar in the local repository. Quite annoying, anyone can help? nwinkler The correct way to do this is the following: Use the dependencies section in the POM file exclusively, don't fiddle with the Eclipse project references. Right-click the project, then select Maven > Update Project Configuration to reset the project to