[hibernate-dev] mvn eclipse:eclipse

Chris Bredesen cbredesen at redhat.com
Thu Nov 6 16:49:53 EST 2008


All,

I'm not sure when this broke, but Maven 2.0.9 (perhaps others) will not 
create Eclipse projects using 'mvn eclipse:eclipse'.  Even though the 
various modules are indeed aggregated in a multi-module POM, the plugin 
insists on inter-referencing the modules as jars rather than project 
dependencies.  This is caused by this bug:

http://jira.codehaus.org/browse/MNG-3283

The workaround listed on the JIRA is solid.  To create Eclipse projects 
from a fresh checkout of trunk or 3.3, you can use this:

mvn -DdisableDistribution=true process-classes eclipse:eclipse

Hope this saves a little frustration for someone.

-Chris



More information about the hibernate-dev mailing list