Using Maven 2 EJB standard project layout in Eclipse
Posted on 2008-10-24
Is it possible to use the Maven 2 standard EJB project layout in Eclipse?
The standard project layout for EJB projects in Maven 2 is as follows:
src/main/java - for EJB / java files
src/main/resources - for META-INF, ejb-jar.xml, etc.
When I generate an EJB project in Eclipse I get a folder named ejbModule. This folder contains both ejb-java files and the META-INF folder. When I rename the folders to use the maven 2 standard, the "prepare for deployment function" stops working.