[forge-users] Scaffold-generate do nothing

forge-users at lists.jboss.org forge-users at lists.jboss.org
Thu Apr 24 11:27:06 EDT 2014

This is related to an existing issue: [FORGE-773] entities for scaffold could be binary, not source - JBoss Issue Tracker (https://issues.jboss.org/browse/FORGE-773); we'll eventually get this fixed by allowing the scaffoldable JPA entities to reside in a different Maven module of the same project.

For now, you could use the same workaround I discussed in the other thread - generate the scaffold in the war project by placing the JPA entities in it. In fact, in the case of Java EE 6+ projects, the EAR style projects with an ejb jar and a war should be used only when you really need to (Java EE 5 and earlier had limitations on EJBs being required to be placed  in in EJB-JARs and not in WARs); it is perfectly fine to create EJBs in your WARs.

Posted by forums
Original post: https://community.jboss.org/message/870558#870558

More information about the forge-users mailing list