I'm working on a proof of concept maven project using EJB3 entities and stateless session beans to demonstrate a flaw in Hibernate 3. However, I'm stuck on how to package the stateless session beans and the ear file.
Option 1: package the SLSBs as <packaging>jar</packaging>. maven-ear-plugin refuses to use the resulting artifact as an ejb module in application.xml. Option 2: package the SLSBs as <packaging>ejb</packaging>. Maven expects an ejb-jar.xml file, which is no longer required in the ejb3 proto-specification. If given an ejb-jar.xml it also generates a spurious ejb client JAR. Option 3: I'm missing something crucial. I'm aware there's a version of the EJB and EAR plugins that can cope with EJB3 in the works; however, that's not to my knowledge going to be released soon and since this is going to be a test case submitted to others I'd rather not rely on building a snapshot of the ear and/or ejb plugins myself. The complete project tree is available at <http://verdandi.lionsanctuary.net/svn/hibernate-bug/trunk/>. Owen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
