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

Do not attempt to shade dependencies #458

Merged
merged 1 commit into from
May 3, 2024

Conversation

jtnord
Copy link
Member

@jtnord jtnord commented May 2, 2024

Was introduced in
49dc7bc but this is a waste of space.

as the shade runs after the hpi package all that happens is that the classess get copied into the root of the HPI.
classes are never loaded from here and there is a copy in WEB-INF\lib\gcp-client-xxx.jar that is used, and this has been working for a while.

whilst there may also be a gcp-client or classes in other places that this plugin has dependencies to I saw no gcp-client in google-oath-credentials which would be the only logical place. Additionally if it was not broken before this fix it would remain not broken after this fix.

Testing done

none.

Submitter checklist

Preview Give feedback

Was introduced in
jenkinsci@49dc7bc
but this is a waste of space.

as the shade runs after the hpi package all that happens is that the
classess get copied into the root of the HPI.
classes are never loaded from here and there is a copy in
WEB-INF\lib\gcp-client-xxx.jar that is used, and this has been working
for a while.

whilst there may also be a gcp-client in other places that this plugin
has dependencies to I saw no gcp-client in google-oath-credentials
wheich would be the only logical place.  Additionally if it where not
broken before this fix it would remain not broken after this fix.
@jtnord jtnord requested a review from a team May 2, 2024 15:59
@jtnord jtnord merged commit 284b25b into jenkinsci:develop May 3, 2024
14 checks passed
@jtnord jtnord deleted the remove-bogus-shade branch May 3, 2024 11:02
@basil basil changed the title do attempt to shade dependencies. Do not attempt to shade dependencies May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants