Maven Integration for Eclipse

install goal for multiproject does not discover and act upon submodules

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.0.4
  • Fix Version/s: 0.0.10
  • Component/s: None
  • Labels:
    None
  • Environment:
    XP sp1, eclipse 3.1.1, plugin from http://m2eclipse.codehaus.org/ v0.0.4, maven 2.0.2 on my desktop
  • Number of attachments :
    2

Description

first, sorry if this is seen as a double post (I also posted this to the maven user list). I didn't check this site until recently.

I've built an "M2" task with eclipse External Tools. This task runs install on a selected project.

when I run this install on a multiproject, none of the subprojects are discovered, they are not compiled and jars are not installed to my local repo. The only result is the pom from the parent project is installed to my local repo.

if I run this "M2" install task on a simple project, it is compiled and it's jar is installed.

if I run mvn install from a commandline from the eclipse workspace/multi-project, the subprojects are discovered and compiled and their jars are installed. so it doesn't appear to be a problem with the parent and child poms, at least for the installed maven 202.

so I'm turning to this group for help. I tried to subscribe to the user list, but my email was returned.

thanks in advance
Tom

  1. MNGECLIPSE-75.patch
    21/Feb/06 5:41 AM
    5 kB
    Jochen Wiedmann

Issue Links

Activity

Hide
Eugene Kuleshov added a comment -

Please provide test project to reproduce this issue

Show
Eugene Kuleshov added a comment - Please provide test project to reproduce this issue
Hide
Tom Perry added a comment -

I'm attaching my test project spring-acegi-poc thanks for your help
I apologize in advance if I'm doing something wrong, but as I mentioned, I can run the install goal on this
multiproject from the commandline in the eclipse workspace and the goal runs as expected.

Tom

Show
Tom Perry added a comment - I'm attaching my test project spring-acegi-poc thanks for your help I apologize in advance if I'm doing something wrong, but as I mentioned, I can run the install goal on this multiproject from the commandline in the eclipse workspace and the goal runs as expected. Tom
Hide
Eugene Kuleshov added a comment -

It seems an issues with the embedder component. I'll have to consult with Maven team.

Show
Eugene Kuleshov added a comment - It seems an issues with the embedder component. I'll have to consult with Maven team.
Hide
Jochen Wiedmann added a comment -
Show
Jochen Wiedmann added a comment - Patch, which depends on the MavenEmbedder2 from MNG-1181 http://jira.codehaus.org/secure/attachment/19112/MavenEmbedder2.java
Hide
Eugene Kuleshov added a comment -

Verifieed in trunk (0.0.10) version. Reactor is working for Maven launched from Eclipse.

Show
Eugene Kuleshov added a comment - Verifieed in trunk (0.0.10) version. Reactor is working for Maven launched from Eclipse.

People

Vote (3)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: