Skip to content

Add Maven publishing (GitHub Packages) + Javadoc Pages - #2

Merged
felipeg48 merged 2 commits into
mainfrom
publish/maven-javadoc-release
Oct 21, 2026
Merged

felipeg48 merged 2 commits into
mainfrom
publish/maven-javadoc-release

Conversation

@felipeg48

Copy link
Copy Markdown
Contributor

Wires up the release/publish path for the Java library.

Maven → GitHub Packages

  • Centralizes maven-publish for all modules in the root subprojects block: each publishes as com.cockroachlabs:cockroachdb-java-library-<module> with Javadoc + sources jars.
  • Removes the duplicate per-module publish block from core (its URL still pointed at felipeg48).
  • publish.yml: on a published GitHub Release, runs ./gradlew publish with GITHUB_TOKEN.

Javadoc → GitHub Pages

Release tag will be v0.1.1 to match the Gradle/Maven artifact version (0.1.1).

- Centralize maven-publish for all modules in root subprojects block,
  publishing com.cockroachlabs:cockroachdb-java-library-<module> to
  GitHub Packages with Javadoc + sources jars.
- Remove the duplicate per-module publish config from core (now central,
  URL corrected felipeg48 -> cockroachlabs).
- publish.yml: on release -> ./gradlew publish to GitHub Packages.
- javadoc.yml: on push main / release -> aggregate Javadoc -> gh-pages
  (https://cockroachlabs.github.io/cockroachdb-java-library/).
@felipeg48
felipeg48 merged commit 2a13316 into main Oct 21, 2026
1 check passed
@felipeg48
felipeg48 deleted the publish/maven-javadoc-release branch October 21, 2026 18:39
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