Maven 2.x Eclipse Plugin

subprojects not included when the root pom has packaging pom

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Duplicate
  • Affects Version/s: 2.1
  • Fix Version/s: 2.1
  • Component/s: None
  • Labels:
    None
  • Environment:
    all
  • Number of attachments :
    0

Description

I have the following structure :
root-directory :
pom.xml (root one which declares modules)

  • module model (pom.xml)
  • module services (pom.xml which depends on model)
  • module dao (pom.xml which depends on model)
  • ..
  • module responder (pom.xml which depends on model , dao and other modules)

When i use mvn eclipse:eclipse in the directory containing the root pom.
My services eclipse project doesn't contains a reference to the other eclipse project model but to the jar in my local repository. I can do it manually but automatic could be great.
Do I have a particular setting to do in my eclipse plugin or I misunderstood something ?
Thanks,

  • Olivier

Activity

Hide
Kenney Westerhof added a comment -

After extensive testing with Olivier we found out his issue was actually a known one,
being that target/classes needs to be present in depencies for eclipse:eclipse to create
a project reference.

We agreed to close this issue since it's actually not describing the error correctly
and it's a duplicate of MECLIPSE-3.

Show
Kenney Westerhof added a comment - After extensive testing with Olivier we found out his issue was actually a known one, being that target/classes needs to be present in depencies for eclipse:eclipse to create a project reference. We agreed to close this issue since it's actually not describing the error correctly and it's a duplicate of MECLIPSE-3.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: