jreleaser / jreleaser

:rocket: Release projects quickly and easily with JReleaser
https://jreleaser.org
Apache License 2.0
1.12k stars 118 forks source link

Gradle GitHub release always failes because release already exists #1852

Closed mkutz closed 1 month ago

mkutz commented 1 month ago

Task List

Steps to Reproduce

  1. Create a multi-module Gradle project with JReleaser config in the root build.gradle.kts, publishing configured for each submodule. See here for a reference project.
  2. Perform the following commands
    1. ./gradlew jreleaserConfig -Pversion=0.3 --git-root-search (will succeed)
    2. ./gradlew publish -Pversion=0.3 (will succeed)
    3. ./gradlew jreleaserFullRelease -Pversion=0.3 --git-root-search --stacktrace (will fail)

Expected Behaviour

I'd expect the build not to throw an exception.

Actual Behaviour

As of now there is a release created by JReleaser and the artifacts are published as expected. However, the jreleaserFullRelease step throws an exception complaining, that the release already exists. It definitely didn't exists when the workflow started. I'd expect this not not happen.

Even though I configured

jreleaser {
  // …
  release {
    github {
      overwrite = true
      update { enabled = true }
    }
  }
}

the thrown exception states otherwise:

org.jreleaser.model.spi.release.ReleaseException: java.lang.IllegalStateException: GitHub release failed because release v0.3 already exists. overwrite = false; update = false

Environment Information

[INFO]  JReleaser 1.17.0
------------------------------------------------------------
jreleaser 1.17.0
------------------------------------------------------------
Build time:   2025-02-28 07:33:53Z
Revision:     30d1905d021c89f769520d13b8d143918abec3ff
JVM:          21.0.6 (Eclipse Adoptium 21.0.6+7-LTS)
------------------------------------------------------------
[INFO]    - basedir set to /home/runner/work/ApproveJ/ApproveJ
[INFO]    - outputdir set to /home/runner/work/ApproveJ/ApproveJ/build/jreleaser
[DEBUG]   - basedir set to /home/runner/work/ApproveJ/ApproveJ
[DEBUG]   - baseOutputDirectory set to /home/runner/work/ApproveJ/ApproveJ/build
[DEBUG]   - outputDirectory set to /home/runner/work/ApproveJ/ApproveJ/build/jreleaser
[DEBUG]   - checksumDirectory set to /home/runner/work/ApproveJ/ApproveJ/build/jreleaser/checksums
[DEBUG]   - catalogsDirectory set to /home/runner/work/ApproveJ/ApproveJ/build/jreleaser/catalogs
[DEBUG]   - signaturesDirectory set to /home/runner/work/ApproveJ/ApproveJ/build/jreleaser/signatures
[DEBUG]   - prepareDirectory set to /home/runner/work/ApproveJ/ApproveJ/build/jreleaser/prepare
[DEBUG]   - packageDirectory set to /home/runner/work/ApproveJ/ApproveJ/build/jreleaser/package
[DEBUG]   - downloadDirectory set to /home/runner/work/ApproveJ/ApproveJ/build/jreleaser/download
[DEBUG]   - assembleDirectory set to /home/runner/work/ApproveJ/ApproveJ/build/jreleaser/assemble
[DEBUG]   - artifactsDirectory set to /home/runner/work/ApproveJ/ApproveJ/build/jreleaser/artifacts
[DEBUG]   - deployDirectory set to /home/runner/work/ApproveJ/ApproveJ/build/jreleaser/deploy
[INFO]  git-root-search set to true
[INFO]  Loading variables from /home/runner/.jreleaser/config.properties
[WARN]  Variables source /home/runner/.jreleaser/config.properties does not exist
[DEBUG] The following variables are defined in the current environment:
[DEBUG]   JRELEASER_GITHUB_TOKEN
[DEBUG]   JRELEASER_GPG_PASSPHRASE
[DEBUG]   JRELEASER_GPG_PUBLIC_KEY
[DEBUG]   JRELEASER_GPG_SECRET_KEY
[DEBUG]   JRELEASER_MAVENCENTRAL_TOKEN
[DEBUG]   JRELEASER_MAVENCENTRAL_USERNAME
[INFO]  Validating configuration
[INFO]  Strict mode set to false
[DEBUG] adjusting distributions with assemblies
[DEBUG]   [validation] --== ASSEMBLE ==--
[DEBUG]   [validation] hooks
[DEBUG]   [validation] hooks.command
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] hooks.script
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] project
[DEBUG]   [validation] project.languages.java
[DEBUG]   [validation] download
[DEBUG]   [validation] catalog.swid
[DEBUG]   [validation] catalog.swid.swid-tag
[DEBUG]   [validation] assemble
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] signing
[DEBUG]   [validation] release
[DEBUG]   [validation] release.github
[DEBUG]   [validation] checksum
[DEBUG]   [validation] deploy
[DEBUG]   [validation] deploy.maven
[DEBUG]   [validation] deploy.maven.mavenCentral
[DEBUG]   [validation] upload
[DEBUG]   [validation] catalog
[DEBUG]   [validation] catalog.sbom
[DEBUG]   [validation] catalog.sbom.cyclonedx
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] catalog.sbom.syft
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] catalog.github
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] catalog.slsa
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce
[DEBUG]   [validation] - disabled
[DEBUG]   [postvalidation] project
[DEBUG]   [postvalidation] assemble
[DEBUG]   [postvalidation] assemble.deb
[DEBUG]   [postvalidation] assemble.jpackage
[DEBUG]   [resolution] assemble
[DEBUG]   [validation] --== FULL ==--
[DEBUG]   [validation] hooks
[DEBUG]   [validation] hooks.command
[DEBUG]   [validation] hooks.script
[DEBUG]   [validation] project
[DEBUG]   [validation] project.languages.java
[DEBUG]   [validation] download
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] catalog.swid
[DEBUG]   [validation] catalog.swid.swid-tag
[DEBUG]   [validation] assemble
[DEBUG]   [validation] signing
[DEBUG]   [validation] release
[DEBUG]   [validation] release.github
[DEBUG]   [validation] checksum
[DEBUG]   [validation] deploy
[DEBUG]   [validation] deploy.maven
[DEBUG]   [validation] deploy.maven.mavenCentral
[DEBUG]   [validation] deploy.maven.mavenCentral.sonatype
[DEBUG]   [validation] upload
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] packagers
[DEBUG]   [validation] files
[DEBUG]   [validation] catalog
[DEBUG]   [validation] catalog.sbom
[DEBUG]   [validation] catalog.sbom.cyclonedx
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] catalog.sbom.syft
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] catalog.github
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] catalog.slsa
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce
[DEBUG]   [validation] announce.article
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.bluesky
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.discussions
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.discord
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.discourse
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.gitter
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.googleChat
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.linkedin
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.http
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.smtp
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.mastodon
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.mattermost
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.openCollective
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.sdkman
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.slack
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.teams
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.telegram
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.twitter
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.webhooks
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] announce.zulip
[DEBUG]   [validation] - disabled
[DEBUG]   [validation] - disabled
[DEBUG]   [postvalidation] project
[DEBUG]   [postvalidation] assemble
[DEBUG]   [postvalidation] assemble.deb
[DEBUG]   [postvalidation] assemble.jpackage
[DEBUG]   [postvalidation] distributions
environment:

hooks:
    enabled: false
    active: NEVER
    command:
        enabled: false
        active: NEVER
    script:
        enabled: false
        active: NEVER

project:
    name: approvej
    version: 0.3.1
    versionPattern: SEMVER
    snapshot:
        enabled: false
        pattern: .*-SNAPSHOT
        label: early-access
        fullChangelog: false
    description: ApproveJ
    longDescription: ApproveJ
    stereotype: NONE
    links:
        license: https://github.com/mkutz/ApproveJ/blob/main/LICENSE
        bugTracker: https://{{repoHost}}/{{repoOwner}}/{{repoName}}/issues
        vcsBrowser: https://{{repoHost}}/{{repoOwner}}/{{repoName}}
    extraProperties:
        versionMajor: 0
        versionMinor: 3
        versionPatch: 1
        versionNumber: 0.3.1
        versionWithUnderscores: 0_3_1
        versionWithDashes: 0-3-1
        versionNumberWithUnderscores: 0_3_1
        versionNumberWithDashes: 0-3-1
        effectiveVersionWithUnderscores: 0_3_1
        effectiveVersionWithDashes: 0-3-1
    languages:
        java:
            enabled: true
            version: 21
            groupId: org.approvej
            artifactId: approvej
            jvmOptions:
            environmentVariables:
            multiProject: true

platform:

release:
    github:
        enabled: true
        host: github.com
        owner: mkutz
        name: ApproveJ
        username: mkutz
        token: ************
        artifacts: true
        files: true
        checksums: true
        catalogs: true
        signatures: true
        repoUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}
        repoCloneUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}.git
        commitUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}/commits
        srcUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}/blob/{{repoBranch}}
        downloadUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/download/{{tagName}}/{{artifactFile}}
        releaseNotesUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/tag/{{tagName}}
        latestReleaseUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}/releases/latest
        issueTrackerUrl: https://{{repoHost}}/{{repoOwner}}/{{repoName}}/issues
        tagName: v{{projectVersion}}
        releaseName: Release {{tagName}}
        branch: main
        branchPush: main
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        sign: false
        skipTag: false
        skipRelease: false
        overwrite: true
        update:
            enabled: true
            sections:
                ASSETS
        apiEndpoint: https://api.github.com
        connectTimeout: 20
        readTimeout: 60
        changelog:
            enabled: true
            append:
                enabled: false
            links: false
            skipMergeCommits: false
            formatted: NEVER
            hide:
            contributors:
        milestone:
            name: {{tagName}}
            close: true
        issues:
            enabled: false
            comment: 🎉 This issue has been resolved in `{{tagName}}` ([Release Notes]({{releaseNotesUrl}}))
            label:
                name: released
                color: #FF0000
                description: Issue has been released
        prerelease:
            enabled: false
        draft: false
        releaseNotes:
            enabled: false

checksum:
    name: checksums.txt
    individual: false
    algorithms:
        SHA_256
    artifacts: true
    files: true

signing:
    enabled: true
    active: ALWAYS
    armored: true
    verify: true
    mode: MEMORY
    artifacts: true
    files: true
    checksums: true
    catalogs: true
    passphrase: ************
    publicKey: ************
    secretKey: ************

announce:
    enabled: false
    active: NEVER
    article:
        enabled: false
        active: NEVER
        commitAuthor:
        repository:
            enabled: false
            name: article
            token: **unset**
    bluesky:
        enabled: false
        active: NEVER
        handle: **unset**
        password: **unset**
    discord:
        enabled: false
        active: NEVER
        webhook: **unset**
    discourse:
        enabled: false
        active: NEVER
        apiKey: **unset**
        username: **unset**
    discussions:
        enabled: false
        active: NEVER
    gitter:
        enabled: false
        active: NEVER
        webhook: **unset**
    googlechat:
        enabled: false
        active: NEVER
        webhook: **unset**
    linkedin:
        enabled: false
        active: NEVER
        owner: **unset**
        accessToken: **unset**
    smtp:
        enabled: false
        active: NEVER
        auth: false
        password: **unset**
    mastodon:
        enabled: false
        active: NEVER
        accessToken: **unset**
    mattermost:
        enabled: false
        active: NEVER
        webhook: **unset**
        structuredMessage: true
    opencollective:
        enabled: false
        active: NEVER
        token: **unset**
    sdkman:
        enabled: false
        consumerKey: **unset**
        consumerToken: **unset**
    slack:
        enabled: false
        active: NEVER
        webhook: **unset**
        token: **unset**
    teams:
        enabled: false
        active: NEVER
        webhook: **unset**
    telegram:
        enabled: false
        active: NEVER
        token: **unset**
        chatId: **unset**
    twitter:
        enabled: false
        active: NEVER
        consumerKey: **unset**
        consumerSecret: **unset**
        accessToken: **unset**
        accessTokenSecret: **unset**
    zulip:
        enabled: false
        active: NEVER
        apiKey: **unset**

packagers:
    appimage:
        enabled: false
        active: NEVER
        continueOnError: false
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        requiresTerminal: false
        repository:
            enabled: false
            owner: mkutz
            name: appimage
            tagName: v{{projectVersion}}
            branch: HEAD
            branchPush: HEAD
            username: mkutz
            token: ************
    asdf:
        enabled: false
        active: NEVER
        continueOnError: false
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        repository:
            enabled: false
            owner: mkutz
            name: asdf
            tagName: v{{projectVersion}}
            branch: HEAD
            branchPush: HEAD
            username: mkutz
            token: ************
    brew:
        enabled: false
        active: NEVER
        continueOnError: false
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        multiPlatform: false
        repository:
            enabled: false
            owner: mkutz
            name: homebrew-tap
            tagName: v{{projectVersion}}
            branch: HEAD
            branchPush: HEAD
            username: mkutz
            token: ************
        cask:
            enabled: false
    chocolatey:
        enabled: false
        active: NEVER
        continueOnError: false
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        apiKey: **unset**
        remoteBuild: false
        repository:
            enabled: false
            owner: mkutz
            name: chocolatey-bucket
            tagName: v{{projectVersion}}
            branch: HEAD
            branchPush: HEAD
            username: mkutz
            token: ************
    docker:
        enabled: false
        active: NEVER
        useLocalArtifact: true
        buildx:
            enabled: false
            createBuilder: true
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        repository:
            enabled: false
            owner: mkutz
            name: docker
            tagName: v{{projectVersion}}
            branch: HEAD
            branchPush: HEAD
            username: mkutz
            token: ************
            versionedSubfolders: false
        continueOnError: false
    flatpak:
        enabled: false
        active: NEVER
        continueOnError: false
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        repository:
            enabled: false
            owner: mkutz
            name: flatpak
            tagName: v{{projectVersion}}
            branch: HEAD
            branchPush: HEAD
            username: mkutz
            token: ************
    gofish:
        enabled: false
        active: NEVER
        continueOnError: false
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        repository:
            enabled: false
            owner: mkutz
            name: mkutz-fish-food
            tagName: v{{projectVersion}}
            branch: HEAD
            branchPush: HEAD
            username: mkutz
            token: ************
    jbang:
        enabled: false
        active: NEVER
        continueOnError: false
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        repository:
            enabled: false
            owner: mkutz
            name: jbang-catalog
            tagName: v{{projectVersion}}
            branch: HEAD
            branchPush: HEAD
            username: mkutz
            token: ************
    jib:
        enabled: false
        active: NEVER
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        repository:
            enabled: false
            owner: mkutz
            name: jib
            tagName: v{{projectVersion}}
            branch: HEAD
            branchPush: HEAD
            username: mkutz
            token: ************
            versionedSubfolders: false
        continueOnError: false
    macports:
        enabled: false
        active: NEVER
        continueOnError: false
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        repository:
            enabled: false
            owner: mkutz
            name: macports
            tagName: v{{projectVersion}}
            branch: HEAD
            branchPush: HEAD
            username: mkutz
            token: ************
    scoop:
        enabled: false
        active: NEVER
        continueOnError: false
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        repository:
            enabled: false
            owner: mkutz
            name: scoop-mkutz
            tagName: v{{projectVersion}}
            branch: HEAD
            branchPush: HEAD
            username: mkutz
            token: ************
    sdkman:
        enabled: false
        continueOnError: false
        connectTimeout: 20
        readTimeout: 60
        consumerKey: **unset**
        consumerToken: **unset**
    snap:
        enabled: false
        active: NEVER
        continueOnError: false
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        remoteBuild: false
        repository:
            enabled: false
            owner: mkutz
            name: snap
            tagName: v{{projectVersion}}
            branch: HEAD
            branchPush: HEAD
            username: mkutz
            token: ************
    spec:
        enabled: false
        active: NEVER
        continueOnError: false
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        repository:
            enabled: false
            owner: mkutz
            name: mkutz-spec
            tagName: v{{projectVersion}}
            branch: HEAD
            branchPush: HEAD
            username: mkutz
            token: ************
    winget:
        enabled: false
        active: NEVER
        continueOnError: false
        commitAuthor:
            name: jreleaserbot
            email: jreleaser@kordamp.org
        package:
        publisher:
        installer:
            type: WIX
            scope: MACHINE
            upgradeBehavior: INSTALL
            dependencies:
        repository:
            enabled: false
            owner: mkutz
            name: winget
            tagName: v{{projectVersion}}
            branch: HEAD
            branchPush: HEAD
            username: mkutz
            token: ************

download:
    enabled: false
    active: NEVER

assemble:
    enabled: false
    active: NEVER

deploy:
    enabled: true
    active: ALWAYS
    maven:
        enabled: true
        active: ALWAYS
        pomchecker:
            version: 1.14.0
            failOnWarning: true
            failOnError: true
            strict: true
        mavenCentral:
            sonatype:
                enabled: true
                active: ALWAYS
                connectTimeout: 20
                readTimeout: 60
                authorization: BASIC
                url: https://central.sonatype.com/api/v1/publisher
                username: ************
                password: ************
                sign: true
                checksums: true
                sourceJar: true
                javadocJar: true
                verifyPom: true
                applyMavenCentralRules: true
                snapshotSupported: false
                stagingRepositories:
                    modules/core/build/staging-deploy
                    modules/json-jackson/build/staging-deploy
                    bom/build/staging-deploy
                stage: FULL
                namespace: org.approvej
                verifyUrl: https://repo1.maven.org/maven2/{{path}}/{{filename}}
                retryDelay: 30
                maxRetries: 60

upload:
    enabled: false
    active: NEVER

catalog:
    enabled: false
    active: NEVER
    github:
        enabled: false
        active: NEVER
        artifacts: true
        files: true
        deployables: true
    sbom:
        enabled: false
        active: NEVER
        cyclonedx:
            enabled: false
            active: NEVER
            distributions: false
            files: false
            pack:
                enabled: false
        syft:
            enabled: false
            active: NEVER
            distributions: false
            files: false
            pack:
                enabled: false
    slsa:
        enabled: false
        active: NEVER
        artifacts: true
        files: true
        deployables: true
    swid:
        enabled: false
        active: NEVER
        name: swid-tag
        path: SWIDTAG
        tagId: 4db7597f-17e1-3140-951b-126f0b773e04
        tagVersion: 1
        lang: en-US
        corpus: false
        patch: false
        entities:
            entity 0:
                name: approvej
                regid: http://invalid.unavailable
                roles:
                    softwareCreator
                    tagCreator

[INFO]  Project version set to 0.3.1
[INFO]  Release is not snapshot
[INFO]  Timestamp is 2025-04-15T06:46:00.178429727Z
[INFO]  HEAD is at 0599f1d
[INFO]  Platform is linux-x86_64
[DEBUG] loading extension default-jreleaser-mustache:org.jreleaser.extensions.internal.mustache.DefaultMustacheExtension
[DEBUG] adding org.jreleaser.extensions.internal.mustache.DefaultMustacheExtensionPoint from default-jreleaser-mustache extension
[INFO]  dry-run set to false
[INFO]  Generating changelog
[DEBUG] resolving commits
[DEBUG] looking for tag that matches 'v0.3.1'
[DEBUG] looking for tags that match 'v.*', excluding 'v0.3.1'
[DEBUG] found tag v0.2.1
[DEBUG] sorting commits null
[INFO]  Storing changelog: build/jreleaser/release/CHANGELOG.md
[DEBUG] ## Changelog

0599f1d Save JReleaser trace.log, always update pages for now
5c252a1 Bump org.junit.platform:junit-platform-launcher from 1.12.1 to 1.12.2
92fba41 Improvements in the manual
cf34c3e Bump org.gradle.toolchains.foojay-resolver-convention
7797dc6 Bump com.diffplug.spotless from 7.0.2 to 7.0.3
56a757a Bump junitVersion from 5.12.1 to 5.12.2
fe20159 Document JsonStringPrettyPrinter
8b7cc9b Add missing include
7e57f5c Various improvements in json-jackson + docs
28222c5 Allow to set version in update-pages.yml
38bf1b0 Add BOM usage to the manual
92ed8d9 Allow overwriting releases
[INFO]  Calculating checksums for distributions and files
[INFO]    [checksum] No files configured for checksum. Skipping
[INFO]  Cataloging artifacts
[INFO]    Cataloging is not enabled. Skipping
[INFO]  Signing distributions and files
[INFO]    [sign] No files configured for signing. Skipping
[INFO]  Deploying Maven artifacts
[INFO]    [maven] Deploying all staged artifacts
[INFO]      [mavenCentral] Deploying to sonatype
[INFO]      [mavenCentral] Verifying prerequisites
[INFO]      [mavenCentral] Verifying POMs
[DEBUG]     [mavenCentral] Cannot run program "pomchecker": error=2, No such file or directory
[DEBUG]     [mavenCentral] located pomchecker-1.14.0.zip
[DEBUG]     [mavenCentral] downloading https://github.com/kordamp/pomchecker/releases/download/v1.14.0/pomchecker-1.14.0.zip
[DEBUG]     [mavenCentral] downloaded pomchecker-1.14.0.zip successfully
[DEBUG]     [mavenCentral] unpacked pomchecker-1.14.0.zip
[DEBUG]     [mavenCentral] cached /home/runner/.jreleaser/caches/pomchecker/1.14.0/pomchecker-1.14.0/bin/pomchecker
[DEBUG]     [mavenCentral] ------------------------------------------------------------
[DEBUG]     [mavenCentral] pomchecker 1.14.0
[DEBUG]     [mavenCentral] ------------------------------------------------------------
[DEBUG]     [mavenCentral] Build timestamp: 2024-10-23T08:22:02Z
[DEBUG]     [mavenCentral] Revision:        33edbd4b8e7f5c5b95d61852ca0b99d6e13dce10
[DEBUG]     [mavenCentral] JVM:             21.0.6 (Eclipse Adoptium 21.0.6+7-LTS)
[DEBUG]     [mavenCentral] ------------------------------------------------------------
[DEBUG]     [mavenCentral] Verifying /home/runner/work/ApproveJ/ApproveJ/modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1.pom
[DEBUG]     [mavenCentral] Verifying /home/runner/work/ApproveJ/ApproveJ/modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1.pom
[DEBUG]     [mavenCentral] Verifying /home/runner/work/ApproveJ/ApproveJ/bom/build/staging-deploy/org/approvej/bom/0.3.1/bom-0.3.1.pom
[INFO]      [mavenCentral] Signing key 7A00E8E605926381 expires at 2028-04-07T12:35:07
[INFO]      [mavenCentral] Checking if key 7A00E8E605926381 has been published
[DEBUG]     [mavenCentral]  + https://keys.openpgp.org
[DEBUG]     [mavenCentral]  + https://keys.openpgp.org
[DEBUG]     [mavenCentral]  x https://keys.openpgp.org
[INFO]      [mavenCentral] Key 7A00E8E605926381 was found as published
[DEBUG]     [sign] signature does not exist: modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1-sources.jar.asc
[INFO]      [sign] modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1-sources.jar
[DEBUG]     [verify] modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1-sources.jar.asc
[DEBUG]     [sign] signature does not exist: modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1.pom.asc
[INFO]      [sign] modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1.pom
[DEBUG]     [verify] modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1.pom.asc
[DEBUG]     [sign] signature does not exist: modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1.pom.asc
[INFO]      [sign] modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1.pom
[DEBUG]     [verify] modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1.pom.asc
[DEBUG]     [sign] signature does not exist: modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1-javadoc.jar.asc
[INFO]      [sign] modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1-javadoc.jar
[DEBUG]     [verify] modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1-javadoc.jar.asc
[DEBUG]     [sign] signature does not exist: modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1.jar.asc
[INFO]      [sign] modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1.jar
[DEBUG]     [verify] modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1.jar.asc
[DEBUG]     [sign] signature does not exist: bom/build/staging-deploy/org/approvej/bom/0.3.1/bom-0.3.1.pom.asc
[INFO]      [sign] bom/build/staging-deploy/org/approvej/bom/0.3.1/bom-0.3.1.pom
[DEBUG]     [verify] bom/build/staging-deploy/org/approvej/bom/0.3.1/bom-0.3.1.pom.asc
[DEBUG]     [sign] signature does not exist: modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1.module.asc
[INFO]      [sign] modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1.module
[DEBUG]     [verify] modules/json-jackson/build/staging-deploy/org/approvej/json-jackson/0.3.1/json-jackson-0.3.1.module.asc
[DEBUG]     [sign] signature does not exist: modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1.jar.asc
[INFO]      [sign] modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1.jar
[DEBUG]     [verify] modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1.jar.asc
[DEBUG]     [sign] signature does not exist: modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1.module.asc
[INFO]      [sign] modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1.module
[DEBUG]     [verify] modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1.module.asc
[DEBUG]     [sign] signature does not exist: bom/build/staging-deploy/org/approvej/bom/0.3.1/bom-0.3.1.module.asc
[INFO]      [sign] bom/build/staging-deploy/org/approvej/bom/0.3.1/bom-0.3.1.module
[DEBUG]     [verify] bom/build/staging-deploy/org/approvej/bom/0.3.1/bom-0.3.1.module.asc
[DEBUG]     [sign] signature does not exist: modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1-javadoc.jar.asc
[INFO]      [sign] modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1-javadoc.jar
[DEBUG]     [verify] modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1-javadoc.jar.asc
[DEBUG]     [sign] signature does not exist: modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1-sources.jar.asc
[INFO]      [sign] modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1-sources.jar
[DEBUG]     [verify] modules/core/build/staging-deploy/org/approvej/core/0.3.1/core-0.3.1-sources.jar.asc
[DEBUG]     [mavenCentral] calculating md5 checksum for json-jackson-0.3.1-sources.jar
[DEBUG]     [mavenCentral] calculating sha1 checksum for json-jackson-0.3.1-sources.jar
[DEBUG]     [mavenCentral] calculating sha256 checksum for json-jackson-0.3.1-sources.jar
[DEBUG]     [mavenCentral] calculating sha512 checksum for json-jackson-0.3.1-sources.jar
[DEBUG]     [mavenCentral] calculating md5 checksum for json-jackson-0.3.1.pom
[DEBUG]     [mavenCentral] calculating sha1 checksum for json-jackson-0.3.1.pom
[DEBUG]     [mavenCentral] calculating sha256 checksum for json-jackson-0.3.1.pom
[DEBUG]     [mavenCentral] calculating sha512 checksum for json-jackson-0.3.1.pom
[DEBUG]     [mavenCentral] calculating md5 checksum for core-0.3.1.pom
[DEBUG]     [mavenCentral] calculating sha1 checksum for core-0.3.1.pom
[DEBUG]     [mavenCentral] calculating md5 checksum for json-jackson-0.3.1-javadoc.jar
[DEBUG]     [mavenCentral] calculating sha1 checksum for json-jackson-0.3.1-javadoc.jar
[DEBUG]     [mavenCentral] calculating sha1 checksum for json-jackson-0.3.1.module
[DEBUG]     [mavenCentral] calculating md5 checksum for core-0.3.1.jar
[DEBUG]     [mavenCentral] calculating sha1 checksum for core-0.3.1.jar
[DEBUG]     [mavenCentral] calculating sha1 checksum for core-0.3.1.module
[DEBUG]     [mavenCentral] calculating md5 checksum for bom-0.3.1.module
[DEBUG]     [mavenCentral] calculating sha1 checksum for bom-0.3.1.module
[DEBUG]     [mavenCentral] calculating sha256 checksum for bom-0.3.1.module
[DEBUG]     [mavenCentral] calculating sha512 checksum for bom-0.3.1.module
[DEBUG]     [mavenCentral] calculating sha1 checksum for core-0.3.1-sources.jar
[DEBUG]     [mavenCentral] copying files from /home/runner/work/ApproveJ/ApproveJ/modules/core/build/staging-deploy to /tmp/maven-central15405570581278415715
[DEBUG]     [mavenCentral] copying files from /home/runner/work/ApproveJ/ApproveJ/modules/json-jackson/build/staging-deploy to /tmp/maven-central15405570581278415715
[DEBUG]     [mavenCentral] copying files from /home/runner/work/ApproveJ/ApproveJ/bom/build/staging-deploy to /tmp/maven-central15405570581278415715
[INFO]      [mavenCentral]  - org.approvej-approvej-0.3.1-bundle.zip
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[DEBUG]     [mavenCentral] opening connection
[DEBUG]     [mavenCentral] configuring connection
[DEBUG]     [mavenCentral] handling response
[INFO]      [mavenCentral] Uploading org.approvej-approvej-0.3.1-bundle.zip
[DEBUG]     [mavenCentral] waiting for deployment (ef3da2f7-0b90-457f-8900-7e9942ccc1aa) state to be one of [VALIDATED, FAILED]
[INFO]      [mavenCentral] Attempt 1 of 61
[DEBUG]     [mavenCentral] attempt 1/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@7dd61923]
[INFO]      [mavenCentral] Publishing deployment ef3da2f7-0b90-457f-8900-7e9942ccc1aa
[DEBUG]     [mavenCentral] waiting for deployment (ef3da2f7-0b90-457f-8900-7e9942ccc1aa) state to be one of [PUBLISHED, FAILED]
[INFO]      [mavenCentral] Attempt 1 of 61
[DEBUG]     [mavenCentral] attempt 1/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@402ba5bb]
[INFO]      [mavenCentral] Attempt 2 of 61
[DEBUG]     [mavenCentral] attempt 2/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@3c70ac84]
[INFO]      [mavenCentral] Attempt 3 of 61
[DEBUG]     [mavenCentral] attempt 3/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@5f8ae7f2]
[INFO]      [mavenCentral] Attempt 4 of 61
[DEBUG]     [mavenCentral] attempt 4/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@439a468b]
[INFO]      [mavenCentral] Attempt 5 of 61
[DEBUG]     [mavenCentral] attempt 5/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@40f2b23b]
[INFO]      [mavenCentral] Attempt 6 of 61
[DEBUG]     [mavenCentral] attempt 6/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@301e65b7]
[INFO]      [mavenCentral] Attempt 7 of 61
[DEBUG]     [mavenCentral] attempt 7/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@4cddbd5d]
[INFO]      [mavenCentral] Attempt 8 of 61
[DEBUG]     [mavenCentral] attempt 8/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@3e81533b]
[INFO]      [mavenCentral] Attempt 9 of 61
[DEBUG]     [mavenCentral] attempt 9/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@13fa2680]
[INFO]      [mavenCentral] Attempt 10 of 61
[DEBUG]     [mavenCentral] attempt 10/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@74fd18e4]
[INFO]      [mavenCentral] Attempt 11 of 61
[DEBUG]     [mavenCentral] attempt 11/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@3865dcfd]
[INFO]      [mavenCentral] Attempt 12 of 61
[DEBUG]     [mavenCentral] attempt 12/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@28b2da80]
[INFO]      [mavenCentral] Attempt 13 of 61
[DEBUG]     [mavenCentral] attempt 13/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@20797aa3]
[INFO]      [mavenCentral] Attempt 14 of 61
[DEBUG]     [mavenCentral] attempt 14/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@666b306d]
[INFO]      [mavenCentral] Attempt 15 of 61
[DEBUG]     [mavenCentral] attempt 15/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@517ef60c]
[INFO]      [mavenCentral] Attempt 16 of 61
[DEBUG]     [mavenCentral] attempt 16/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@40d98941]
[INFO]      [mavenCentral] Attempt 17 of 61
[DEBUG]     [mavenCentral] attempt 17/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@211d1d7e]
[INFO]      [mavenCentral] Attempt 18 of 61
[DEBUG]     [mavenCentral] attempt 18/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@723a599b]
[INFO]      [mavenCentral] Attempt 19 of 61
[DEBUG]     [mavenCentral] attempt 19/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@35703fec]
[INFO]      [mavenCentral] Attempt 20 of 61
[DEBUG]     [mavenCentral] attempt 20/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@572ea1d8]
[INFO]      [mavenCentral] Attempt 21 of 61
[DEBUG]     [mavenCentral] attempt 21/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@6f7597d2]
[INFO]      [mavenCentral] Attempt 22 of 61
[DEBUG]     [mavenCentral] attempt 22/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@6ce82a3c]
[INFO]      [mavenCentral] Attempt 23 of 61
[DEBUG]     [mavenCentral] attempt 23/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@3aed8995]
[INFO]      [mavenCentral] Attempt 24 of 61
[DEBUG]     [mavenCentral] attempt 24/61 failed with result: Optional[org.jreleaser.sdk.mavencentral.api.Deployment@4c340646]
[INFO]  Uploading distributions and files
[INFO]    [upload] Uploading is not enabled. Skipping
[INFO]  Releasing to https://github.com/mkutz/ApproveJ@main
[DEBUG] fetching all branches on mkutz/ApproveJ
[DEBUG] looking up release with tag v0.3.1 at repository mkutz/ApproveJ
[DEBUG] fetching release on mkutz/ApproveJ with tag v0.3.1
[DEBUG] release v0.3.1 does not exist
[DEBUG] creating release v0.3.1
[DEBUG] tagging local repository with v0.3.1 @ 0599f1d
[DEBUG] creating release on mkutz/ApproveJ with tag v0.3.1
[DEBUG] lookup open milestone 'v0.3.1' on mkutz/ApproveJ
[DEBUG] fetching all milestones on mkutz/ApproveJ with status open
[DEBUG] checking if release mkutz/ApproveJ@v0.3.1 was left as draft
[DEBUG] fetching release on mkutz/ApproveJ with id 212404235
[DEBUG] No active distributions for preparing. Skipping
[DEBUG] No active distributions for packaging. Skipping
[DEBUG] No active distributions for publishing. Skipping
[INFO]  Announcing release
[INFO]    [announce] Announcing is not enabled. Skipping
[INFO]  Writing output properties to build/jreleaser/output.properties
[INFO]  JReleaser succeeded after 15:21 m
aalmiray commented 1 month ago

Do you have a copy of the trace.log when 0.3 was released? The trace you posted shows that 0.3.1 was successfully released. The release section clearly shows that both overwrite and update were set to true.

Though it does not make sense to set both properties as overwrite drops and creates the release while update modifies a matching release. It should be enough to define overwrite.

mkutz commented 1 month ago

I do not, but the described behavior was the same for 0.3.1.

You can have a look at the build here. I agree that the release was kinda successful. It seems that it did all that it should, but the workflow fails anyway.

aalmiray commented 1 month ago

I see what the problem is. The jreleaserFullRelease task is invoked multiple times. The first time is from the root and thus it's successful. The second time is from the bom project.

This is an error on your configuration. The JReleaser plugin is not design to be applied multiple times on several projects belonging to a multi-project setup.

The usual configuration structure is to apply the plugin to the root, or a secondary project that's in charge of publication/release.

There's nothing to be fixed on the JReleaser codebase. However, adding a note to https://jreleaser.org/guide/latest/tools/jreleaser-gradle.html regarding how and where to apply the project may be worth while.

mkutz commented 1 month ago

Thanks so much for taking such a deep look, @aalmiray.

It was quite a journey to configure the whole thing in the project and to make it work with publishing. So those extra plugin declarations are just leftovers from desperate trying.

I removed the extra plugin declarations and now everything works just fine :)