Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Maven Integration (M2E) » cannot find peer projects(Eclipse/Maven/peer projects)
cannot find peer projects [message #560054] Mon, 20 September 2010 21:45
Simon Pearce is currently offline Simon Pearce
Messages: 1
Registered: July 2009
Location: Sydney
Junior Member
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) com.katch:webx:pom:pom:0.0.1-SNAPSHOT
2) com.katch:util:jar:0.0.1-SNAPSHOT

----------
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?

thanks
Simon (in Sydney, where it it is almost spring)
Previous Topic:Syncing Eclipse and POM dependencies
Next Topic:Maven view in eclipse
Goto Forum:
  


Current Time: Wed Jul 30 13:27:50 EDT 2014

Powered by FUDForum. Page generated in 0.11859 seconds