Maven - resolve dependencies from Workspace project - what is this for ?
posted 1 year ago
I am yet facing another confusion. Basically, I am nailing the problem of my JDNI connection issue and my log4j not working. I do not know if this Maven - resolve dependencies from Workspace project is the cause
So, I am hoping someone can tell me what this resolve depencies from workspace project is about ?
I have a check in this place. Should I disable it ?
Furthermore, when I open up the depedencies window, there are 2 panels showing - one with all my dependencies and one which is dependency management - in which allows me to add and remove dependencies.
I thought when I have the dependencies in my pom.xml it is automatically managed but now it seems not the case.
Most IDEs, such as Eclipse, allow you to have multiple projects in your workspace.
Suppose I have my-component and my-app in the same workspace. And suppose my-app has my-component specified as a dependency. That checkbox tells Eclipse to use the version of my-component in the workspace rather than the one in your local Maven repository. Which is usually what you want to happen.