Skip to content
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

fix: Publish artifacts without additional classifiers #1011

Conversation

bertschneider
Copy link
Contributor

Fix an ArrayIndexOutOfBoundsException when publishing an artifact without additional classifiers.

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
        at com.github.bazelbuild.rules_jvm_external.maven.MavenPublisher.main(MavenPublisher.java:109)

Fixes #1010

Fix array out of bounds exception when publishing an artifact without additional
classifiers.
Copy link
Collaborator

@shs96c shs96c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Thank you :)

@shs96c shs96c merged commit 61e782a into bazel-contrib:master Jan 2, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publish artifact without additional classifiers results in exception
2 participants