|cannot find peer projects [message #560054]
||Tue, 21 September 2010 01:45
| Simon Pearce
Registered: July 2009
I am fairly new to Maven in Eclipse, so I apologise for my newbie-ness.|
I have made two Java projects in Eclipse using Maven M2E. They compile happily, I found the external dependencies (works really well).
Then I added a dependency from one project (webx) on the other (util).
I added import, etc (I believe Maven can help with this but I couldn't figure out how to add finding things locally - pity, cause it's kinda cool).
I added the Dependency into the POM - it found the correct dependency in the lookup - very impressive.
BUT I if I run Maven to create a package, it complains it cannot find the artifact of the other project - but it found it before, why not now?
Path to dependency:
1 required artifact is missing.
I have not fiddled with any defaults, I use Eclipse and M2E just as they came. I am frustrated as things were going very nicely until I added this dependency.
Looking at the "Maven Dependencies" in the webx project in Eclipse, it has a directory icon for the util project - which looks right to me.
Can you tell me what foolish thing I have done/not done?
Simon (in Sydney, where it it is almost spring)
Powered by FUDForum
. Page generated in 0.08293 seconds