m2eclipse workspace resolution

Posted by Bartosz Radaczynski on Stack Overflow See other posts from Stack Overflow or by Bartosz Radaczynski
Published on 2010-04-19T07:50:04Z Indexed on 2010/04/19 7:53 UTC
Read the original article Hit count: 633

Filed under:
|
|
|

Hi all,

I am using m2eclipse for managing maven projects in eclipse. It seems that in the previous release that I was using (0.9.8) the workspace resolution did not work at all, but right now it also does not work quite as I would expect. Namely, when the "resolve dependencied from workspace" setting for a project is not checked, the project turns red and cannot be build. The message says: artifact xxx x.y-SNAPSHOT cannot be found int local repository (or something to that extent). The trouble is that m2eclipse is putting information about workspace project into my local repo. Is there a way to change this behaviour?

P.S. The workaround for this is to close the xxx project, then m2eclipse resolved the dependency to whatever version I've had previously in the local repository (i.e. the non-snapshot version).

© Stack Overflow or respective owner

Related posts about maven

Related posts about m2eclipse