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

[BUG] Build publishing broken due to duplicate artifacts #798

Closed
dbwiddis opened this issue Jun 1, 2023 · 1 comment
Closed

[BUG] Build publishing broken due to duplicate artifacts #798

dbwiddis opened this issue Jun 1, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dbwiddis
Copy link
Member

dbwiddis commented Jun 1, 2023

What is the bug?

Since merging #687, snapshot publication is broken:

FAILURE: Build failed with an exception.

* What went wrong:
Task 'publishMavenJavaPublicationToSnapshotsRepository' not found in root project 'opensearch-sdk-java'.

Also, possibly related, unable to publish to mavenLocal().

> Task :publishNebulaPublicationToMavenLocal FAILED

FAILURE: Build failed with an exception.

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

Reverting the associated commit 04d9eab allows publishing.

How can one reproduce the bug?

./gradlew publishToMavenLocal

What is the expected behavior?

BUILD SUCCESSFUL in 8s
9 actionable tasks: 9 executed

Do you have any additional context?

This PR also broke gradle run, see #789 (this was known before merge, but the additional failures were not)

@dbwiddis dbwiddis added bug Something isn't working untriaged labels Jun 1, 2023
@dbwiddis dbwiddis removed the untriaged label Jun 1, 2023
@owaiskazi19
Copy link
Member

Raised #799 to revert the change. Meanwhile, @ryanbogan can address the above issue and push new change for integ test framework.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants