-
Notifications
You must be signed in to change notification settings - Fork 21
Shade jersey dependencies into hpi #6
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
Conversation
|
Hi! Any timeline on this being merged and released? |
|
@didacrarbones Hi! |
|
Alright, thanks. I just saw all the checks green and I thought there was something else holding it up. |
|
I don't see a dependency on Jersey. Potentially it would be easier to exclude it from the dependency that is pulling it in transitively, are we sure we even use that dependency even transitively? Nvm Gitlab4j uses it: https://github.com/gitlab4j/gitlab4j-api/search?q=jersey 😅 Suggestion is to create a jersey api plugin and than exclude it from gitlab4j and than depend on this jersey api plugin to make Jenkins loading it correctly. if it is a class cast issue it could also be easier to avoid using gitlab4j classes directly in anything that needs to be serialized. |
|
@jetersen Yes, i tried to use jersey2-api-plugin, I read this and tried to use pluginFirstClassLoader. |
which? seems like jersey2-api-plugin is using the jersey bom. Perhaps you can declare a dependency on the missing jersey dep without version because bom has the correct version? |
|
I tried pluginFirstClassLoader, I tried shading jersey (needs to be done in I actually found that the problem when using I have open PR #7 which is also in Draft as we need modifications in both |
|
@dcendents Thank you. |
Hi, all!
I need some help with this bug.