-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quarkus JTA has not needed Dependency to ejb-api #36882
Comments
/cc @mmusgrov (narayana) |
Thanks for reporting this @wwwaldemar. We are going to change jakarta.ejb:jakarta.ejb-api:jar:4.0.1 scope to test. I will soon link the PR. |
@marcosgopen We should do that but it will require a release of narayana so the immediate fix is to add an exclusion in
|
Thanks Mike! I opened the PR here. |
Even if Quarkus is not en EJB Container, it has ejb-api dependency in the classpath
Please remove it because we have e.g. two
@Startup
Annotations in classpath one from ejb and one from quarkus, which is error prone[INFO] │ │ ├─ org.jboss.narayana.jta:narayana-jta:jar:7.0.0.Final (compile)
[INFO] │ │ │ ├─ org.jboss:jboss-transaction-spi:jar:8.0.0.Final (compile)
[INFO] │ │ │ ├─ jakarta.resource:jakarta.resource-api:jar:2.1.0 (compile)
[INFO] │ │ │ ├─ org.jboss.invocation:jboss-invocation:jar:2.0.0.Final (compile)
[INFO] │ │ │ ├─ jakarta.ejb:jakarta.ejb-api:jar:4.0.1 (compile)
Expected behavior
no ejb-api in classpath
Actual behavior
ejb-api is in classpath
How to Reproduce?
mvn quarkus:dependency-tree
Output of
uname -a
orver
maven 3.9
Output of
java -version
Temurin-21.0.1+12
Quarkus version or git rev
3.5.0
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.3
Additional information
No response
The text was updated successfully, but these errors were encountered: