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.
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.
Max Bowsher added a comment - 16/Mar/07 01:48 PM 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.
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.
Vincent Massol added a comment - 07/Jun/07 11:57 AM 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.
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.