Skip to content

Release 2 maven#3

Merged
sshaaf merged 8 commits intomainfrom
release-2-maven
Aug 22, 2025
Merged

Release 2 maven#3
sshaaf merged 8 commits intomainfrom
release-2-maven

Conversation

@sshaaf
Copy link
Copy Markdown
Owner

@sshaaf sshaaf commented Aug 22, 2025

No description provided.

sshaaf added 8 commits August 22, 2025 23:15
- Update distributionManagement to use Central Portal upload endpoint
- Change server-id from ossrh to central in workflow
- Remove nexus-staging-maven-plugin (not needed for Central Portal)
- Credentials now work with Central Portal API
- Add explicit maven-deploy-plugin configuration in release profile
- Prevent automatic nexus-staging plugin injection
- Enable direct deployment to Central Portal upload endpoint
- Change server-id back to 'ossrh' to match nexus-staging plugin expectation
- Keep Central Portal upload URL for actual deployment
- This resolves 'Server credentials with ID ossrh not found' error
- Replace nexus-staging deploy with maven install + bundle upload
- Create JAR bundle with all artifacts (jar, pom, signatures)
- Upload bundle directly to Central Portal API endpoint
- Avoids nexus-staging plugin auto-injection issues
- Add MAVEN_GPG_PASSPHRASE env to build step
- Resolves 'gpg: signing failed: Bad passphrase' error
- Specify exact files instead of using wildcards
- Prevents META-INF and other unwanted files from being included
- Resolves 'Bundle has content that does NOT have a .pom file' error
- Replace 'jar -cvf' with 'zip' to avoid META-INF metadata
- Resolves 'Bundle has content that does NOT have a .pom file: META-INF' error
- Creates clean bundle with only the 8 required Maven Central files
- Add proper Maven directory structure: dev/shaaf/jgraphlet/jgraphlet/VERSION/
- Generate required MD5 and SHA1 checksums for all artifacts
- Use zip -r to preserve directory structure
- Resolves Central Portal validation errors for missing checksums and invalid paths
@sshaaf sshaaf merged commit b175408 into main Aug 22, 2025
1 of 6 checks passed
@sshaaf sshaaf deleted the release-2-maven branch August 26, 2025 20:01
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