Repository navigation
server: add Maven Central metadata and a release profile - #121
Merged
Merged
Conversation
added 7 commits
October 20, 2026 12:18
…and javadoc jars and signs them.
…gin used to set the release version.
…ase tarball for the server.
… dependencies the server stack brings.
…ICE handling Maven Central does not need.
…rent out of release deploys too.
littlegrasscao
marked this pull request as ready for review
October 20, 2026 22:18
zhu-tom
approved these changes
Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
url,scm, anddevelopers, plus<distribution>repo</distribution>on the license; both modules inherit them without Maven appending their artifact ids to the URLsopensharing-server-coreandopensharing-server: the release profile flattens each module's pom (flatten-maven-plugin,ossrhmode) so it carries the parent's metadata, dependency versions, and resolved dependency management instead of a<parent>reference, and skips installing and deployingopensharing-parentreleaseprofile (-Prelease) that attaches sources and javadoc jars to every jar module and GPG-signs every artifact atverify, with loopback pinentry; the passphrase comes fromMAVEN_GPG_PASSPHRASE, and-Dgpg.skipbuilds unsigned-execjarNOTICE, like Unity Catalog'slicenseCheckin CI:license-maven-pluginfailsverifyon a runtime dependency whose license is missing or outside Apache, BSD, MIT, EPL/EDL, MPL, and CC0; like Unity Catalog, it also accepts the LGPL Hibernate jars, MySQL Connector/J (GPL with the Universal FOSS Exception), andjakarta.transaction-apiandjavax.annotation-api(GPL with the classpath exception), which the server stack brings, so the stack passes once rebasedserver-vX.Y.Ztag (the spec keepsvX.Y.Z),mvn versions:set -DnewVersion=X.Y.Z,mvn -Prelease clean install, then collect, scan, and publish~/.m2/repository/io/opensharing/Testing
mvn clean install: 65 tests passed, and the license check passesmvn verifymvn -Prelease -Dgpg.skip clean installinstalls only the flattened pom and the main, sources, and javadoc jars foropensharing-server-coreandopensharing-server, which is what the Central publish scripts check for; noopensharing-parentor-execjar is installedmvn -Prelease -Dgpg.skip deployinto a local staging repository deploys only the two modulesopensharing-serverresolves it andopensharing-server-corewith noopensharing-parentin the local repositorymvn -Prelease clean installwrites a.ascfor every pom and jar, including the flattened poms, andgpg --verifyaccepts themmvn versions:set -DnewVersion=0.1.0updates the parent and both modules