Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Maven - resolve dependencies from Workspace project - what is this for ?  RSS feed

 
tangara goh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi experts,

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.

Hope someone can shed some light on this.

Tks

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37496
548
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tangara,
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!