-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Bug] pulsar-client-all build failures due to shaded sources #20034
Comments
@tisonkun / @eolivelli Please can you clarify if you faced this issue? |
Hi @Apurva007! I can build the whole project on the current master f568c8f with:
For your specific issue, please check if For usage question, I suggest you open a discussion on the Q&A forum the next time. |
@tisonkun Thanks for the response. Thats interesting. The sources jar actually did not exist before the build. It was created after I ran the maven build and then failed. It is possible that a malformed file is being generated. I actually tried deleted the listenablefuture folder in .m2 and tried running the build again. That also failed. |
Cherry-picking the result to here for anyone who encounter similar issue:
|
Search before asking
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: #19956
If I comment this change, then the build passes.
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: