Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

Task publishMavenJavaPublicationToMavenLocal fails with com.github.johnrengelman.shadow v6.0.0 #49

Closed
balamurugana opened this issue Nov 6, 2020 · 1 comment

Comments

@balamurugana
Copy link

When using with shadow plugin com.github.johnrengelman.shadow v6.0.0 fails; however it works with v5.2.0

~  ./gradlew publishMavenJavaPublicationToMavenLocal
> Task :api:publishMavenJavaPublicationToMavenLocal FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':api:publishMavenJavaPublicationToMavenLocal'.
> Failed to publish publication 'mavenJava' to repository 'mavenLocal'
   > Invalid publication 'mavenJava': multiple artifacts with the identical extension and classifier ('jar', 'all').

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 8s
9 actionable tasks: 8 executed, 1 up-to-date

For information is available in the issue minio/minio-java#1095 and gradle script is available at https://github.com/minio/minio-java/blob/master/build.gradle

@marcphilipp
Copy link
Owner

This issue is unrelated to the nexus-publish-plugin, see minio/minio-java#1115.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants