Skip to main content

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] Tue, 21 September 2010 01:45
Simon Pearce is currently offline Simon PearceFriend
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?

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 Mar 03 03:26:28 GMT 2021

Powered by FUDForum. Page generated in 0.02085 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top