[forge-dev] EJB dependency in Forge 2

Ivan St. Ivanov ivan.st.ivanov at gmail.com
Sat Mar 15 17:11:13 EDT 2014


Hi folks,

I noticed the following thing in Forge 2. When you setup EJB and you choose
version 3.1 of the spec, you get the following dependency:
javax.ejb:ejb-api:3.0-alpha-1. So even though I explicitly say that I want
EJB 3.1, I get 3.0. As a result I am not able to have things like Singleton
beans for example (that is how I caught the issue).

Isn't it better to stick to the other Java EE dependencies and use
the org.jboss.spec.javax artifact? I saw that it is there in
the EJBFacetImpl_3_1 class, but it is not added eventually to the pom.

Cheers,
Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140315/96e1077f/attachment.html 


More information about the forge-dev mailing list