-
1. Re: [forge-dev] EJB dependency in Forge 2
gastaldi Mar 15, 2014 5:17 PM (in response to ivan_stefanov)This looks like a bug. Can you reproduce it in a test and open a JIRA?
Thanks!
Em 15/03/2014, às 18:11, "Ivan St. Ivanov" <ivan.st.ivanov@gmail.com> escreveu:
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
_______________________________________________
forge-dev mailing list
_______________________________________________
forge-dev mailing list
https://lists.jboss.org/mailman/listinfo/forge-dev
-
2. Re: [forge-dev] EJB dependency in Forge 2
ivan_stefanov Mar 16, 2014 2:00 PM (in response to gastaldi)There you are: https://issues.jboss.org/browse/FORGE-1674
On Sat, Mar 15, 2014 at 11:17 PM, George Gastaldi <ggastald@redhat.com>wrote:
This looks like a bug. Can you reproduce it in a test and open a JIRA?
Thanks!
Em 15/03/2014, às 18:11, "Ivan St. Ivanov" <ivan.st.ivanov@gmail.com>
escreveu:
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
_______________________________________________
forge-dev mailing list
_______________________________________________
forge-dev mailing list
-
att1.html.zip 994 bytes
-