Skip to content

Reject SNAPSHOT dependencies before Maven Central publish - #130

Merged
sake92 merged 1 commit into
mainfrom
fix/reject-snapshot-dependencies
Nov 14, 2026
Merged

sake92 merged 1 commit into
mainfrom
fix/reject-snapshot-dependencies

Conversation

@sake92

@sake92 sake92 commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Validate the generated POM during Sonatype Central publishing.
  • Reject stable publications that contain -SNAPSHOT dependencies before credentials, signing, or upload.
  • Cover external and published module dependencies with focused unit and integration tests.

Scala Native platform dependencies are generated from scalaNativeVersion, so a setting such as 0.5.13-SNAPSHOT is also rejected for a stable Central publication.

Validation

  • deder exec --log-level warning --no-color -t test -m server-test ba.sake.deder.publish.PublishValidatorSuite
  • ./scripts/run-it-tests.sh ba.sake.deder.PublishIntegrationSuite
  • git diff --check

@coderabbitai

coderabbitai Bot commented Nov 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bbe8d22f-86cc-4a7f-8caf-22c19a9163c6

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@sake92
sake92 merged commit 0809d62 into main Nov 14, 2026
7 of 8 checks passed
@sake92
sake92 deleted the fix/reject-snapshot-dependencies branch November 14, 2026 17:12
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.

1 participant