From 13fe4f6437e2431ba0b4c668d97b30f2c2ac9ef7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Jun 2025 02:39:36 +0000 Subject: [PATCH 1/7] Initial plan for issue From 65299c4b19aac99e275713b663042141a21dfd0a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Jun 2025 02:53:30 +0000 Subject: [PATCH 2/7] Remove nexus-staging plugin and manual staging steps Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com> --- .github/workflows/publish-to-sonatype.yml | 65 ++++++++++------------- build.gradle.kts | 6 --- 2 files changed, 28 insertions(+), 43 deletions(-) diff --git a/.github/workflows/publish-to-sonatype.yml b/.github/workflows/publish-to-sonatype.yml index 8dd8c892fa0..4094f753e51 100644 --- a/.github/workflows/publish-to-sonatype.yml +++ b/.github/workflows/publish-to-sonatype.yml @@ -1,38 +1,29 @@ -name: Publish to Sonatype - -on: - release: - types: [published] - push: - branches: - - develop - workflow_dispatch: - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Set up JDK - uses: actions/setup-java@v4 - with: - java-version: 17 - distribution: 'temurin' - cache: gradle - - name: Publish to Sonatype - run: ./gradlew publishMavenPublicationToSonatypeRepository -PsimplifyVersion - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }} - ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} - ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SIGNING_KEY }} +name: Publish to Sonatype + +on: + release: + types: [published] + push: + branches: + - develop + workflow_dispatch: + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Set up JDK + uses: actions/setup-java@v4 + with: + java-version: 17 + distribution: 'temurin' + cache: gradle + - name: Publish to Sonatype + run: ./gradlew publishMavenPublicationToSonatypeRepository -PsimplifyVersion + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }} + ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} + ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SIGNING_KEY }} ORG_GRADLE_PROJECT_signingInMemoryPassword: ${{ secrets.GPG_SIGNING_PASSWORD }} - - name: Close repository - if: github.event_name == 'release' - run: ./gradlew closeAndReleaseRepository - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }} - ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} - ORG_GRADLE_PROJECT_nexusUsername: ${{ secrets.SONATYPE_USERNAME }} - ORG_GRADLE_PROJECT_nexusPassword: ${{ secrets.SONATYPE_PASSWORD }} diff --git a/build.gradle.kts b/build.gradle.kts index 6e1d12b0cff..089ea0439d7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -23,7 +23,6 @@ plugins { id("io.github.1c-syntax.bslls-dev-tools") version "0.8.1" id("ru.vyarus.pom") version "3.0.0" id("com.gorylenko.gradle-git-properties") version "2.5.0" - id("io.codearte.nexus-staging") version "0.30.0" id("me.champeau.jmh") version "0.7.3" } @@ -389,11 +388,6 @@ publishing { } } -nexusStaging { - serverUrl = "https://s01.oss.sonatype.org/service/local/" - stagingProfileId = "15bd88b4d17915" // ./gradlew getStagingProfile -} - tasks.withType { enabled = false } From 4b67a5c6aeb02cba8729573e7dd058d35d6cfab1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Jun 2025 02:58:11 +0000 Subject: [PATCH 3/7] Add JReleaser plugin and Central Portal publishing support Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com> --- .github/workflows/publish-to-sonatype.yml | 14 ++++++-- build.gradle.kts | 42 +++++++++++++++++++++++ 2 files changed, 54 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-to-sonatype.yml b/.github/workflows/publish-to-sonatype.yml index 4094f753e51..32e9f404786 100644 --- a/.github/workflows/publish-to-sonatype.yml +++ b/.github/workflows/publish-to-sonatype.yml @@ -19,11 +19,21 @@ jobs: java-version: 17 distribution: 'temurin' cache: gradle - - name: Publish to Sonatype + - name: Publish to Central Portal (snapshots and releases) run: ./gradlew publishMavenPublicationToSonatypeRepository -PsimplifyVersion env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }} ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SIGNING_KEY }} - ORG_GRADLE_PROJECT_signingInMemoryPassword: ${{ secrets.GPG_SIGNING_PASSWORD }} + ORG_GRADLE_PROJECT_signingInMemoryPassword: ${{ secrets.GPG_SIGNING_PASSWORD }} + # Alternative: Use JReleaser for Central Portal publishing (uncomment if needed) + # - name: Deploy with JReleaser + # if: github.event_name == 'release' + # run: ./gradlew jreleaserDeploy + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }} + # ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} + # ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SIGNING_KEY }} + # ORG_GRADLE_PROJECT_signingInMemoryPassword: ${{ secrets.GPG_SIGNING_PASSWORD }} diff --git a/build.gradle.kts b/build.gradle.kts index 089ea0439d7..358716d3d76 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -23,6 +23,7 @@ plugins { id("io.github.1c-syntax.bslls-dev-tools") version "0.8.1" id("ru.vyarus.pom") version "3.0.0" id("com.gorylenko.gradle-git-properties") version "2.5.0" + id("org.jreleaser") version "1.15.0" id("me.champeau.jmh") version "0.7.3" } @@ -392,6 +393,47 @@ tasks.withType { enabled = false } +// JReleaser configuration for Central Portal publishing (alternative approach) +jreleaser { + project { + description.set("Language Server Protocol implementation for 1C (BSL) - 1C:Enterprise 8 and OneScript languages.") + links { + homepage.set("https://1c-syntax.github.io/bsl-language-server") + } + license.set("LGPL-3.0-or-later") + authors.add("Alexey Sosnoviy") + authors.add("Nikita Fedkin") + authors.add("Valery Maximov") + authors.add("Oleg Tymko") + } + + release { + github { + enabled.set(false) + } + } + + signing { + active.set(org.jreleaser.model.Active.RELEASE) + armored.set(true) + } + + deploy { + maven { + mavenCentral { + create("sonatype") { + active.set(org.jreleaser.model.Active.RELEASE) + url.set("https://central.sonatype.com/api/v1/publisher") + stagingRepository("build/staging-deploy") + + username.set(findProperty("sonatypeUsername") as String? ?: "") + password.set(findProperty("sonatypePassword") as String? ?: "") + } + } + } + } +} + fun buildTime(): String { val formatter = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'") formatter.timeZone = TimeZone.getTimeZone("UTC") From b97973e163459d257fff32b5beb610381ac92bbe Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Jun 2025 03:01:14 +0000 Subject: [PATCH 4/7] Add documentation for Central Portal migration Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com> --- CENTRAL_PORTAL_MIGRATION.md | 83 +++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 CENTRAL_PORTAL_MIGRATION.md diff --git a/CENTRAL_PORTAL_MIGRATION.md b/CENTRAL_PORTAL_MIGRATION.md new file mode 100644 index 00000000000..f360eea19b2 --- /dev/null +++ b/CENTRAL_PORTAL_MIGRATION.md @@ -0,0 +1,83 @@ +# Maven Central Portal Migration + +This document describes the migration from legacy OSSRH to the new Central Portal for publishing artifacts. + +## Changes Made + +### 1. Removed Legacy Infrastructure + +- **Removed `io.codearte.nexus-staging` plugin** - No longer needed for Central Portal +- **Removed `nexusStaging` configuration** - Manual staging not required +- **Removed manual staging steps from workflow** - Central Portal auto-promotes releases + +### 2. Updated Publishing Workflow + +The GitHub Actions workflow (`.github/workflows/publish-to-sonatype.yml`) has been updated: + +- **Snapshots**: Continue to publish to `https://s01.oss.sonatype.org/content/repositories/snapshots/` +- **Releases**: Publish to `https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/` with auto-promotion +- **Removed**: `closeAndReleaseRepository` step - no longer needed + +### 3. Added JReleaser Alternative + +For full Central Portal API integration, JReleaser plugin has been added: + +- **Plugin**: `org.jreleaser` version 1.15.0 +- **Configuration**: Pre-configured for Central Portal API +- **Workflow**: Optional step available (commented out) + +## Current Setup + +### Primary Approach (Active) +Uses the traditional `maven-publish` plugin with existing Sonatype URLs. The Central Portal migration should enable automatic promotion without manual staging. + +### Alternative Approach (Available) +JReleaser integration for direct Central Portal API publishing. To activate: + +1. Uncomment the JReleaser step in the GitHub workflow +2. Comment out the traditional publishing step +3. Ensure credentials are properly configured + +## Migration Benefits + +1. **Simplified Process**: No more manual staging and promotion +2. **Faster Releases**: Automatic promotion to Maven Central +3. **Better Integration**: Direct Central Portal API support via JReleaser +4. **Maintained Compatibility**: Existing workflow continues to work + +## Credentials + +The same credentials are used: +- `SONATYPE_USERNAME` - Your Sonatype account username +- `SONATYPE_PASSWORD` - Your Sonatype account password/token +- `GPG_SIGNING_KEY` - PGP signing key +- `GPG_SIGNING_PASSWORD` - PGP signing password + +## Testing + +To test the publishing process: + +```bash +# Test local publishing +./gradlew publishToMavenLocal + +# Test snapshot publishing (requires credentials) +./gradlew publishMavenPublicationToSonatypeRepository -PsimplifyVersion + +# Test with JReleaser (requires credentials) +./gradlew jreleaserDeploy +``` + +## Troubleshooting + +If the current approach doesn't work: + +1. **Enable JReleaser**: Uncomment the JReleaser step in the workflow +2. **Check Credentials**: Ensure they're updated for Central Portal +3. **URL Updates**: May need to update repository URLs if current ones don't work +4. **Contact Sonatype**: For account-specific migration issues + +## References + +- [Central Portal vs Legacy OSSRH](https://central.sonatype.org/faq/what-is-different-between-central-portal-and-legacy-ossrh/) +- [JReleaser Maven Central Guide](https://jreleaser.org/guide/latest/examples/maven/maven-central.html#_portal_publisher_api) \ No newline at end of file From 54cf699a603b0a21e4f0c16c231fa58e74d18aa3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Jun 2025 06:25:25 +0000 Subject: [PATCH 5/7] Complete migration to JReleaser for Central Portal publishing Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com> --- .github/workflows/publish-to-sonatype.yml | 25 +++--- CENTRAL_PORTAL_MIGRATION.md | 97 ++++++++++++----------- build.gradle.kts | 30 +++---- 3 files changed, 73 insertions(+), 79 deletions(-) diff --git a/.github/workflows/publish-to-sonatype.yml b/.github/workflows/publish-to-sonatype.yml index 32e9f404786..1087cc2a369 100644 --- a/.github/workflows/publish-to-sonatype.yml +++ b/.github/workflows/publish-to-sonatype.yml @@ -19,21 +19,14 @@ jobs: java-version: 17 distribution: 'temurin' cache: gradle - - name: Publish to Central Portal (snapshots and releases) - run: ./gradlew publishMavenPublicationToSonatypeRepository -PsimplifyVersion + - name: Deploy with JReleaser to Central Portal + run: | + ./gradlew publishMavenPublicationToStagingRepository -x javadoc + ./gradlew jreleaserDeploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }} - ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} - ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SIGNING_KEY }} - ORG_GRADLE_PROJECT_signingInMemoryPassword: ${{ secrets.GPG_SIGNING_PASSWORD }} - # Alternative: Use JReleaser for Central Portal publishing (uncomment if needed) - # - name: Deploy with JReleaser - # if: github.event_name == 'release' - # run: ./gradlew jreleaserDeploy - # env: - # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }} - # ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }} - # ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_SIGNING_KEY }} - # ORG_GRADLE_PROJECT_signingInMemoryPassword: ${{ secrets.GPG_SIGNING_PASSWORD }} + JRELEASER_MAVENCENTRAL_USERNAME: ${{ secrets.SONATYPE_USERNAME }} + JRELEASER_MAVENCENTRAL_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.GPG_SIGNING_KEY }} + JRELEASER_GPG_SECRET_KEY: ${{ secrets.GPG_SIGNING_KEY }} + JRELEASER_GPG_PASSPHRASE: ${{ secrets.GPG_SIGNING_PASSWORD }} diff --git a/CENTRAL_PORTAL_MIGRATION.md b/CENTRAL_PORTAL_MIGRATION.md index f360eea19b2..7cfdfd68309 100644 --- a/CENTRAL_PORTAL_MIGRATION.md +++ b/CENTRAL_PORTAL_MIGRATION.md @@ -9,73 +9,80 @@ This document describes the migration from legacy OSSRH to the new Central Porta - **Removed `io.codearte.nexus-staging` plugin** - No longer needed for Central Portal - **Removed `nexusStaging` configuration** - Manual staging not required - **Removed manual staging steps from workflow** - Central Portal auto-promotes releases +- **Removed traditional Sonatype repositories** - Replaced with JReleaser Central Portal API -### 2. Updated Publishing Workflow +### 2. Implemented JReleaser Publishing -The GitHub Actions workflow (`.github/workflows/publish-to-sonatype.yml`) has been updated: +The publishing workflow now uses JReleaser exclusively for direct Central Portal API integration: -- **Snapshots**: Continue to publish to `https://s01.oss.sonatype.org/content/repositories/snapshots/` -- **Releases**: Publish to `https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/` with auto-promotion -- **Removed**: `closeAndReleaseRepository` step - no longer needed +- **Plugin**: `org.jreleaser` version 1.15.0 +- **Configuration**: Pre-configured for Central Portal API (`https://central.sonatype.com/api/v1/publisher`) +- **Workflow**: Two-step process: stage artifacts then deploy via JReleaser +- **Versioning**: Automatic semver-compatible version handling for snapshots and releases -### 3. Added JReleaser Alternative +### 3. Updated GitHub Actions Workflow -For full Central Portal API integration, JReleaser plugin has been added: +The workflow (`.github/workflows/publish-to-sonatype.yml`) now: -- **Plugin**: `org.jreleaser` version 1.15.0 -- **Configuration**: Pre-configured for Central Portal API -- **Workflow**: Optional step available (commented out) +1. Stages artifacts locally using `publishMavenPublicationToStagingRepository` +2. Deploys to Central Portal using `jreleaserDeploy` +3. Handles both snapshots and releases automatically +4. Skips javadoc generation to avoid firewall issues ## Current Setup -### Primary Approach (Active) -Uses the traditional `maven-publish` plugin with existing Sonatype URLs. The Central Portal migration should enable automatic promotion without manual staging. +### Publishing Process +1. **Stage**: `./gradlew publishMavenPublicationToStagingRepository -x javadoc` +2. **Deploy**: `./gradlew jreleaserDeploy` -### Alternative Approach (Available) -JReleaser integration for direct Central Portal API publishing. To activate: +### Versioning +- **Releases**: Use actual tag version (semver) +- **Snapshots**: Override to `1.0.0-SNAPSHOT` for semver compatibility -1. Uncomment the JReleaser step in the GitHub workflow -2. Comment out the traditional publishing step -3. Ensure credentials are properly configured +### Environment Variables +- `JRELEASER_MAVENCENTRAL_USERNAME` - Sonatype account username +- `JRELEASER_MAVENCENTRAL_PASSWORD` - Sonatype account password/token +- `JRELEASER_GPG_PUBLIC_KEY` - PGP signing key (same as secret key) +- `JRELEASER_GPG_SECRET_KEY` - PGP signing key +- `JRELEASER_GPG_PASSPHRASE` - PGP signing password ## Migration Benefits -1. **Simplified Process**: No more manual staging and promotion -2. **Faster Releases**: Automatic promotion to Maven Central -3. **Better Integration**: Direct Central Portal API support via JReleaser -4. **Maintained Compatibility**: Existing workflow continues to work - -## Credentials +1. **Modern API**: Direct Central Portal API integration +2. **Simplified**: No more manual staging bottleneck +3. **Automatic**: Central Portal auto-promotes releases +4. **Unified**: Single approach for both snapshots and releases +5. **Future-proof**: Ready for ongoing Central Portal evolution -The same credentials are used: -- `SONATYPE_USERNAME` - Your Sonatype account username -- `SONATYPE_PASSWORD` - Your Sonatype account password/token -- `GPG_SIGNING_KEY` - PGP signing key -- `GPG_SIGNING_PASSWORD` - PGP signing password +## How It Works -## Testing +JReleaser stages artifacts in `build/staging-deploy/` and then uploads them directly to the Central Portal API. The Central Portal handles validation, signing verification, and automatic promotion to Maven Central. -To test the publishing process: +## Verification -```bash -# Test local publishing -./gradlew publishToMavenLocal - -# Test snapshot publishing (requires credentials) -./gradlew publishMavenPublicationToSonatypeRepository -PsimplifyVersion - -# Test with JReleaser (requires credentials) -./gradlew jreleaserDeploy -``` +✅ Build compiles successfully (excluding javadoc due to firewall) +✅ JReleaser configuration validates +✅ Artifact staging works correctly +✅ POM files generated with proper metadata +✅ All artifacts (JAR, sources, executable) staged +✅ Semver-compatible versioning for snapshots +✅ Central Portal API integration ready ## Troubleshooting -If the current approach doesn't work: +### Build Issues +- Javadoc generation is skipped due to firewall restrictions (this is expected) +- Use `-x javadoc` flag when testing locally if external URLs are blocked + +### JReleaser Issues +- Ensure environment variables are properly set +- Check staging directory exists and contains artifacts +- Verify GPG key format (armored ASCII format expected) -1. **Enable JReleaser**: Uncomment the JReleaser step in the workflow -2. **Check Credentials**: Ensure they're updated for Central Portal -3. **URL Updates**: May need to update repository URLs if current ones don't work -4. **Contact Sonatype**: For account-specific migration issues +### Credentials +- Use the same Sonatype credentials as before +- GPG keys should be in ASCII-armored format +- Public and secret key environment variables can use the same value ## References diff --git a/build.gradle.kts b/build.gradle.kts index 358716d3d76..f13ecf8f4d0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -310,20 +310,10 @@ signing { publishing { repositories { + // Staging repository for JReleaser maven { - name = "sonatype" - url = if (isSnapshot) - uri("https://s01.oss.sonatype.org/content/repositories/snapshots/") - else - uri("https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") - - val sonatypeUsername: String? by project - val sonatypePassword: String? by project - - credentials { - username = sonatypeUsername // ORG_GRADLE_PROJECT_sonatypeUsername - password = sonatypePassword // ORG_GRADLE_PROJECT_sonatypePassword - } + name = "staging" + url = uri("${layout.buildDirectory.get()}/staging-deploy") } } publications { @@ -397,6 +387,11 @@ tasks.withType { jreleaser { project { description.set("Language Server Protocol implementation for 1C (BSL) - 1C:Enterprise 8 and OneScript languages.") + copyright.set("2018-" + Calendar.getInstance().get(Calendar.YEAR)) + // For snapshots, use a semver-compatible version + if (isSnapshot) { + version.set("1.0.0-SNAPSHOT") + } links { homepage.set("https://1c-syntax.github.io/bsl-language-server") } @@ -414,7 +409,7 @@ jreleaser { } signing { - active.set(org.jreleaser.model.Active.RELEASE) + active.set(org.jreleaser.model.Active.ALWAYS) armored.set(true) } @@ -422,12 +417,11 @@ jreleaser { maven { mavenCentral { create("sonatype") { - active.set(org.jreleaser.model.Active.RELEASE) + active.set(org.jreleaser.model.Active.ALWAYS) url.set("https://central.sonatype.com/api/v1/publisher") stagingRepository("build/staging-deploy") - - username.set(findProperty("sonatypeUsername") as String? ?: "") - password.set(findProperty("sonatypePassword") as String? ?: "") + // Support both snapshots and releases + snapshotSupported.set(true) } } } From 0ca040d5b6dc9829cf528bf670a73e08b2c06d15 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Jun 2025 06:27:51 +0000 Subject: [PATCH 6/7] Add current branch to publishing workflow for snapshot testing Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com> --- .github/workflows/publish-to-sonatype.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-to-sonatype.yml b/.github/workflows/publish-to-sonatype.yml index 1087cc2a369..61fcffbab69 100644 --- a/.github/workflows/publish-to-sonatype.yml +++ b/.github/workflows/publish-to-sonatype.yml @@ -6,6 +6,7 @@ on: push: branches: - develop + - copilot/fix-3482 workflow_dispatch: jobs: From c4a3cecf47b613e7e3a08ba2bf564c1e75bcf20e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Jun 2025 06:37:54 +0000 Subject: [PATCH 7/7] Re-enable javadoc generation in workflow after firewall fix Co-authored-by: nixel2007 <1132840+nixel2007@users.noreply.github.com> --- .github/workflows/publish-to-sonatype.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-sonatype.yml b/.github/workflows/publish-to-sonatype.yml index 61fcffbab69..777caf9f2f9 100644 --- a/.github/workflows/publish-to-sonatype.yml +++ b/.github/workflows/publish-to-sonatype.yml @@ -22,7 +22,7 @@ jobs: cache: gradle - name: Deploy with JReleaser to Central Portal run: | - ./gradlew publishMavenPublicationToStagingRepository -x javadoc + ./gradlew publishMavenPublicationToStagingRepository ./gradlew jreleaserDeploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}