Skip to content
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

Exclude jakarta.ejb-api #2595

Merged
merged 1 commit into from
Dec 10, 2020

Conversation

barchetta
Copy link
Member

@barchetta barchetta commented Dec 10, 2020

While reviewing the dependencies in the MP quickstart I noticed jakarta.ejb-api (and jakarta.transaction-api). Those are not needed for the quickstart and are being dragged in by jakarta.interceptor-api 1.2.5 that has a dependency on jakarta.ejb-api. That is a bug. See jakartaee/interceptors#31

So we exclude jakarta.ejb-api. Not sure why we didn't do this earlier.

@barchetta barchetta self-assigned this Dec 10, 2020
@barchetta barchetta added 2.x Issues for 2.x version branch dependencies Pull requests that update a dependency file labels Dec 10, 2020
@barchetta barchetta added this to the 2.2.0 milestone Dec 10, 2020
Copy link
Member

@ljnelson ljnelson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Will CDI pull this in too? If so you may need to add an exclusion there as well. (See jakartaee/cdi#449 for example.)

@barchetta
Copy link
Member Author

Looks good. Will CDI pull this in too? If so you may need to add an exclusion there as well. (See eclipse-ee4j/cdi#449 for example.)

CDI 2.0.2 looks OK: https://repo1.maven.org/maven2/jakarta/enterprise/jakarta.enterprise.cdi-api/2.0.2/jakarta.enterprise.cdi-api-2.0.2.pom

I also verified the quickstart looks clean after excluding just from interceptor-api. But I do see something in CDI 3.x so we will want to keep an eye out for this.

@barchetta barchetta merged commit 370b7ba into helidon-io:master Dec 10, 2020
@barchetta barchetta deleted the exclude-ejb-dependency branch December 17, 2020 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Issues for 2.x version branch dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants