Skip to content

AI-250: Maven Central publishing with Sonatype requirements#10

Merged
gclaro-idme merged 5 commits into
masterfrom
AI-250/maven-central-publishing-fixes
Apr 15, 2026
Merged

AI-250: Maven Central publishing with Sonatype requirements#10
gclaro-idme merged 5 commits into
masterfrom
AI-250/maven-central-publishing-fixes

Conversation

@omerazmon-idme
Copy link
Copy Markdown
Contributor

@omerazmon-idme omerazmon-idme commented Apr 15, 2026

Summary

  • Change Maven groupId from me.id.auth to com.idmelabs.auth to match registered Sonatype namespace (idmelabs.com)
  • Add GPG signing, Javadoc JAR, and Sources JAR to meet Sonatype Maven Central requirements
  • Add Sonatype OSSRH nexus publish plugin and Maven Central publishing step to release workflow
  • Add POM metadata (license, developer, SCM) required by Sonatype
  • Fix signing config to support passwordless GPG keys
  • Add proguard rules for demo app R8 minification
  • Add SSL insecure property for corporate proxy environments
  • Update all groupId and artifactId references in release workflow

Test plan

  • Local build passes (./gradlew build)
  • SDK tests pass (./gradlew :sdk:test)
  • Publish to mavenLocal produces all required artifacts (AAR, sources JAR, javadoc JAR, POM, .asc signatures)
  • POM metadata includes name, description, URL, license, developer, SCM
  • CI build workflow passes
  • Release workflow dry-run succeeds (manual trigger)

🤖 Generated with Claude Code

@omerazmon-idme omerazmon-idme requested review from a team as code owners April 15, 2026 17:46
@omerazmon-idme omerazmon-idme self-assigned this Apr 15, 2026
@service-idme-github
Copy link
Copy Markdown

service-idme-github commented Apr 15, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

antspriggs and others added 5 commits April 15, 2026 11:02
- Apply maven-publish plugin to :sdk with release publication (com.idme:idme-auth-sdk)
- Configure GitHubPackages repository using GITHUB_TOKEN
- Add GROUP and VERSION_NAME to gradle.properties
- Add publish.yml workflow triggered on GitHub Release or workflow_dispatch

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Aligns Maven coordinates with the repository name:
me.id.auth:android-auth-sample-code:<version>

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add Dokka plugin for Javadoc JAR generation (required by Sonatype)
- Add sources JAR task (required by Sonatype)
- Apply signing plugin with in-memory PGP key support for CI
- Complete POM metadata: url, licenses, developers, and SCM (required by Sonatype)
- Wire Dokka + nexus-publish plugin into root buildscript classpath
- Configure Sonatype OSSRH staging repository via nexus-publish plugin
- Add Sonatype publish step to release workflow using five new secrets:
  SONATYPE_USERNAME, SONATYPE_PASSWORD, SIGNING_KEY_ID, SIGNING_KEY, SIGNING_PASSWORD

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Change groupId from me.id.auth to com.idmelabs.auth to match
  registered Sonatype namespace (idmelabs.com)
- Fix GPG signing to support passwordless keys
- Add proguard rules for demo app R8 minification
- Add SSL insecure property for corporate proxy environments
- Update all groupId references in release workflow

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: omerazmon-idme <omer.azmon@id.me>
Signed-off-by: omerazmon-idme <omer.azmon@id.me>
@omerazmon-idme omerazmon-idme force-pushed the AI-250/maven-central-publishing-fixes branch from efb6447 to 3536f3b Compare April 15, 2026 18:04
@gclaro-idme gclaro-idme merged commit 28e6216 into master Apr 15, 2026
2 of 3 checks passed
@gclaro-idme gclaro-idme deleted the AI-250/maven-central-publishing-fixes branch April 15, 2026 19:09
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.

4 participants