lightstep / lightstep-tracer-java

The Lightstep distributed tracing library for JRE
https://lightstep.com
MIT License
44 stars 24 forks source link

Shading failed while deploying to Bintray #252

Closed carlosalberto closed 4 years ago

carlosalberto commented 4 years ago

Deploying is failing as there's an error creating the bundle jar: https://app.circleci.com/pipelines/github/lightstep/lightstep-tracer-java/38/workflows/3bbd9097-0f31-42ca-99c6-051a17140a13/jobs/830

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade (default) on project lightstep-tracer-jre-bundle: Error creating shaded jar: duplicate entry: META-INF/services/lightstep.io.grpc.LoadBalancerProvider -> [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
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :lightstep-tracer-jre-bundle
carlosalberto commented 4 years ago

Seems similar to the one we had for the OT LS Exporter ;)

carlosalberto commented 4 years ago

FYI: It can be reproduced running mvn package locally.

carlosalberto commented 4 years ago

This has been fixed in master, closing.