Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

ISSUE-20034: [Bug] pulsar-client-all build failures due to shaded sources #5696

Open
1 of 2 tasks
sijie opened this issue Apr 6, 2023 · 0 comments
Open
1 of 2 tasks
Labels

Comments

@sijie
Copy link
Member

sijie commented Apr 6, 2023

Original Issue: apache#20034


Search before asking

  • I searched in the issues and found nothing similar.

Version

Mac OS: Ventura 13.2.1
Pulsar Version: Build source code as per commit ID: d091675

Minimal reproduce step

Build Source code using following:

mvn clean -pl pulsar-client-all install -DskipTests

What did you expect to see?

Successful build

What did you see instead?

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:00 min
[INFO] Finished at: 2023-04-06T12:56:51-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.4.1:shade (default) on project pulsar-client-all: Error creating shaded jar: error in opening zip file /Users/atelang/.m2/raptor2/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava-sources.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Anything else?

This is caused by the change: apache#19956

If I comment this change, then the build passes.

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@sijie sijie added the type/bug label Apr 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant