Maven 2.x Eclipse Plugin

mvn eclipse:eclipse for <packaging>pom</packaging> should create a .project file

Details

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

Description

mvn eclipse:eclipse for <packaging>pom</packaging> should create a .project file.

currently it does nothing. this is especially annoying if using parent poms with other poms in subdirectories, see also description on http://maven.apache.org/guides/mini/guide-ide-eclipse.html.

Issue Links

Activity

Hide
Max Bowsher added a comment -

Personally, I find the fact that it does not create a .project file to be an advantage. It means that I can easily import a multiproject tree into Eclipse just by pointing it at the root directory and letting it discover all the .project files. If there was a .project in the packaging=pom directories, it would not recurse into them.

Show
Max Bowsher added a comment - Personally, I find the fact that it does not create a .project file to be an advantage. It means that I can easily import a multiproject tree into Eclipse just by pointing it at the root directory and letting it discover all the .project files. If there was a .project in the packaging=pom directories, it would not recurse into them.
Hide
Vincent Massol added a comment -

I agree this feature is needed but the eclipse plugin should always generate Eclipse project files when the maven projects doesn't have children. This will avoid issues with Eclipse not supporting project hiearchies.

Show
Vincent Massol added a comment - I agree this feature is needed but the eclipse plugin should always generate Eclipse project files when the maven projects doesn't have children. This will avoid issues with Eclipse not supporting project hiearchies.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: