[hibernate-dev] 3.3 and maven-eclipse-plugin

Chris Bredesen cbredesen at redhat.com
Mon Aug 18 21:21:22 EDT 2008


All,

I just brought down a fresh copy of Branch_3_3, compiled and then ran 
mvn eclipse:eclipse.  The Eclipse projects were created mostly fine and 
they all imported into Ganymede.

However, there's an issue with each module's dependency on 
hibernate-core and hibernate-testing.  The maven-eclipse-plugin creates 
these as project dependencies instead of jar dependencies (probably 
because they are all in the same group ID?), and it creates them with 
the assumption that the project names are the same as the artifact ID. 
This is in fact not the case.

Each module is broken because its reference to core and testing are 
looking for hibernate-core and hibernate-testing respectively.  Of 
course this is a quick thing to fix but it means that the plugin doesn't 
work properly.

Does anyone know if this is a bug?  Is there some way to hint to Maven 
that the dependencies should use a different directory than what the 
artifact ID specifies?

Thanks,

Chris



More information about the hibernate-dev mailing list