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

Remove maven snapshot repository #289

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

unidevel
Copy link
Contributor

@unidevel unidevel commented Feb 20, 2025

Fix http error 400, ref => https://central.sonatype.org/faq/400-error/#question

> Task :tempto-core:publishMavenPublicationToMaven2Repository FAILED
[Incubating] Problems report is available at: file:///home/runner/work/tempto/tempto/build/reports/problems/problems-report.html

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.11.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
6 actionable tasks: 4 executed, 2 up-to-date
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':tempto-core:publishMavenPublicationToMaven2Repository'.
> Failed to publish publication 'maven' to repository 'maven2'
   > Could not PUT 'https://oss.sonatype.org/content/repositories/snapshots/io/prestodb/tempto/tempto-core/1.54/tempto-core-1.54.jar'. Received status code 400 from server: Bad Request

@unidevel unidevel requested a review from aaneja February 20, 2025 19:57
@unidevel unidevel marked this pull request as ready for review February 20, 2025 20:01
Copy link
Member

@wanglinsong wanglinsong left a comment

Choose a reason for hiding this comment

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

Did you skip removing the -SNAPSHOT?

@unidevel
Copy link
Contributor Author

unidevel commented Feb 20, 2025

Did you skip removing the -SNAPSHOT?

@wanglinsong I removed -SNAPSHOT in this step

release_version=$(grep "^ext.tempto_version" build.gradle | cut -d"'" -f2 | sed 's/-SNAPSHOT//')

And committed it in this step

git commit -m "Update CHANGELOG.md and build.gradle for version ${{ env.release_version }}"

@wanglinsong wanglinsong merged commit b6fccad into prestodb:master Feb 20, 2025
2 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.

2 participants