[forge-dev] EJB dependency in Forge 2

Ivan St. Ivanov ivan.st.ivanov at gmail.com
Sun Mar 16 14:00:34 EDT 2014


There you are: https://issues.jboss.org/browse/FORGE-1674

:)


On Sat, Mar 15, 2014 at 11:17 PM, George Gastaldi <ggastald at 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 at 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 at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/forge-dev
>
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20140316/013cc899/attachment.html 


More information about the forge-dev mailing list