-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Version downgrade for shadow jar plugin #15308
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
AndrewJSchofield
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
mimaison
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
|
@stanislavkozlovski I let you backport to 3.7 |
|
@apoorvmittal10 Thanks for getting to the bottom of this! |
Reviewers: Mickael Maison <[email protected]>, Andrew Schofield <[email protected]>
|
cherry-picked to 3.7 |
Reviewers: Mickael Maison <[email protected]>, Andrew Schofield <[email protected]>
|
@apoorvmittal10 I am facing an error after this changes I pulled into local Can you help ? |
Hi Arpit, the plugin is configured correctly and the version is available. I would advise to check if there is anything custom configured in you setup which point to different repository. |
Reviewers: Mickael Maison <[email protected]>, Andrew Schofield <[email protected]>
Reviewers: Mickael Maison <[email protected]>, Andrew Schofield <[email protected]>
…16295)" (#19000) The PR: #16295 which changed the shadow plugin version has re-introduced the issue with publication of signed jars, fixed in: #15308. This PR reverts #16295 to unblock Kafka 4.0 release. And we should aim for fixing the issue permanently as being discussed here: #18018. Seems same issue was encountered during `Kafka-3.9` release and same commit was reverted in 3.9 as well: #17218. Reviewers: David Jacot <[email protected]>
Shadow jar plugin version
8.1.1causes issue when shadowed artifacts aresignedandpublished. The issue occurs becausearchiveBaseNameandarchiveClassifierare not honoured correctly by publication and tries to find the shadow jar which doesn't exist - see GradleUp/shadow#901This PR reverts the shadow plugin version upgrade added in the PR: #13625 and also reverts the workaround to publish signed shadowed jar in the PR: #15127
pomforkafka-clientswhich does include the runtime dependencies.kafka-clients.jarhas correct shaded classes@ijuma The query asked in the PR: #15127 still stands as Gradle Module Metadata is never generated with
shadow jar plugin.cc: @stanislavkozlovski @AndrewJSchofield @xvrl
Committer Checklist (excluded from commit message)