No .project generated when packaging tag is set to pom in the pom.xml ---------------------------------------------------------------------
Key: MECLIPSE-470 URL: http://jira.codehaus.org/browse/MECLIPSE-470 Project: Maven 2.x Eclipse Plugin Issue Type: Bug Components: Core : Workspace settings Reporter: Benjamin Francisoud When Using mvn eclipse:eclipse on a project where the pom.xml is set to packaging="pom" : {code:xml} <project ...> <modelVersion>4.0.0</modelVersion> <groupId>my.package</groupId> <artifactId>ProjectName</artifactId> <packaging>pom</packaging> ... </project> {code} No .classpath is generated (that's ok) But there is no .project file neither: {noformat} [INFO] Preparing eclipse:eclipse [INFO] No goals needed for project - skipping [INFO] [eclipse:eclipse] [INFO] Not running eclipse plugin goal for pom project [INFO] Using as WTP server : null [INFO] Adding default classpath contaigner: org.eclipse.jdt.launching.JRE_CONTAINER {noformat} Nothing is generated :( It should generate a .project with a simple eclipse project (not a java project). So the .project should look like: {code:xml} <projectDescription> <name>ProjectName</name> <comment></comment> <projects> </projects> <buildSpec> </buildSpec> <natures> </natures> </projectDescription> {code} The project can be imported easily in eclipse. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira