[forge-issues] [JBoss JIRA] (FORGE-1674) Forge should add EJB 3.1 dependency

Ivan St. Ivanov (JIRA) issues at jboss.org
Sun Mar 16 14:00:11 EDT 2014


Ivan St. Ivanov created FORGE-1674:
--------------------------------------

             Summary: Forge should add EJB 3.1 dependency
                 Key: FORGE-1674
                 URL: https://issues.jboss.org/browse/FORGE-1674
             Project: Forge
          Issue Type: Bug
          Components: Java EE
    Affects Versions: 2.2.0.Final
            Reporter: Ivan St. Ivanov
            Priority: Critical
         Attachments: testcase.txt

When I install the EJB facet in a Java EE project and I choose version 3.1 of the EJB spec, Forge adds the following managed dependency:

javax.ejb:ejb-api:jar::3.0-alpha-1

This is EJB 3.0, however, so I cannot have things like Singleton EJBs in my project. Adding this dependency would fix the issue:

org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar::1.0.1.Final

I have attached a [failing] test case. Just add it to org.jboss.forge.addon.javaee.ejb.EJBFacetTest and you can simulate the issue. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list