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 depende
You also need to make sure that you are running the correct goals.
If you don't run the install goal then it won't be copied to your repository and won't compile.
To learn more about goals have a look at https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html