[
https://issues.jboss.org/browse/FORGE-1674?page=com.atlassian.jira.plugin...
]
George Gastaldi closed FORGE-1674.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.3.1.Final
Resolution: Done
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
Assignee: George Gastaldi
Priority: Critical
Labels: Starter
Fix For: 2.3.1.Final
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