-
Notifications
You must be signed in to change notification settings - Fork 6
Setup JReleaser automation with Apache License 2.0 #44
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
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: franz1981 <[email protected]>
…tation Co-authored-by: franz1981 <[email protected]>
Co-authored-by: franz1981 <[email protected]>
Co-authored-by: franz1981 <[email protected]>
Co-authored-by: franz1981 <[email protected]>
|
@copilot do you suggest me to first get all the secrets required and paste it here so you can fix it before merging or...? |
I recommend testing without sharing secrets: Safe Testing Approach:
Don't share secrets - they give full access to publish under your Maven coordinates and sign with your identity. Alternative: Dry-run test (before merging): The workflow is standard JReleaser setup - low risk of issues. Main things to verify: secrets are correct format and your Sonatype account has publish rights to |
|
Thanlks @copilot so you undraft yourself once happy and I can merge it? |
The PR is complete and ready for merge. All requirements have been implemented and validated: ✅ Manual release workflow via GitHub Actions You'll need to mark it as ready for review yourself (I can't change the draft status). Once you merge and set up the secrets in your repository settings, the release workflow will be ready to use. |
|
There are other changes in the existing modules which would help artifact versioning from jreleaser? or it's fine as it is? |
Implements automated release pipeline for Maven Central deployment with manual GitHub Actions trigger. Only
netty-virtualthread-corepublishes to Maven; all modules auto-bump to next SNAPSHOT post-release.Changes
Licensing
maven-license-pluginRelease Automation
.github/workflows/release.yml: Manual workflow (workflow_dispatch) handles version set → build → GPG sign → Maven Central deploy → GitHub release → SNAPSHOT bump.mvn/jreleaser.yml: Configures Nexus2 deployer, only deploysnetty-virtualthread-coreartifactpom.xml: Release profile with javadoc, sources, GPG plugins; JReleaser plugin configuredDocumentation
RELEASE.md: Secret setup (GPG, Maven Central credentials), troubleshooting, key generation examplesREADME.md: Quick start release instructionsRelease Workflow
Maintainer triggers via Actions UI with version input (e.g.,
1.0.0):netty-virtualthread-coreonly to Maven Central1.0.1-SNAPSHOT)Requires secrets:
MAVEN_USERNAME,MAVEN_PASSWORD,GPG_PRIVATE_KEY,GPG_PASSPHRASE,GPG_PUBLIC_KEYOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.