Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@martinbonnin
Copy link
Member

Follow up from #73 (comment). This makes the codebase a lot more consistent. Instead of using 2 paths for central vs snapshot, both of them now use the same logic:

  • The files are staged to a local repo using the regular publishing plugin.
  • This takes care of computing signatures, checksums and simple maven-metadata.xml
  • For releases, the maven-metadata.xml files are removed because they are computed server-side.
  • For snapshots, the maven-metadata.xml files are patched from their remote counterparts before everything is uploaded.

This removes the need for afterEvaluate {} and also fixes #33

@martinbonnin martinbonnin force-pushed the unify-snapshots branch 2 times, most recently from 3da2b06 to 0146a66 Compare June 23, 2025 14:05
@martinbonnin martinbonnin merged commit 7fbd0ce into main Jun 23, 2025
1 check passed
@martinbonnin martinbonnin deleted the unify-snapshots branch June 23, 2025 14:40
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.

Avoid zipping/unzipping the outgoing variants

2 participants