Skip to content

Fix sonatype publication #187

@devcrocod

Description

@devcrocod

Artifacts are not being signed:

hooks:
    enabled: false
    active: NEVER
    command:
        enabled: false
        active: NEVER
    script:
        enabled: false
        active: NEVER
 
project:
    name: kotlin-sdk
    version: 0.6.0
    versionPattern: SEMVER
    snapshot:
        enabled: false
        pattern: .*-SNAPSHOT
        label: early-access
        fullChangelog: false
    stereotype: NONE
    links:
        license: https://github.com/modelcontextprotocol/kotlin-sdk/blob/main/LICENSE
        bugTracker: https://{{repoHost}}/{{repoOwner}}/{{repoName}}/issues
        vcsBrowser: https://{{repoHost}}/{{repoOwner}}/{{repoName}}
    extraProperties:
        versionMajor: 0
        versionMinor: 6
        versionPatch: 0
        versionNumber: 0.6.0
        versionWithUnderscores: 0_6_0
        versionWithDashes: 0-6-0
        versionNumberWithUnderscores: 0_6_0
        versionNumberWithDashes: 0-6-0
        effectiveVersionWithUnderscores: 0_6_0
        effectiveVersionWithDashes: 0-6-0
    languages:
        java:
            enabled: true
            version: 21
            groupId: io.modelcontextprotocol
            artifactId: kotlin-sdk
            jvmOptions:
            environmentVariables:
            multiProject: false
 
release:
    github:
        enabled: true
        host: github.com
        owner: modelcontextprotocol
        name: kotlin-sdk
        username: modelcontextprotocol
        token: ************
        uploadAssets: ALWAYS
        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: true
        skipRelease: true
        overwrite: false
        update:
            enabled: false
        apiEndpoint: https://api.github.com/
        connectTimeout: 20
        readTimeout: 60
        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
        makeLatest: true
 
checksum:
    name: checksums.txt
    individual: false
    algorithms:
        SHA_256
    artifacts: false
    files: false
 
signing:
    enabled: true
    active: ALWAYS
    armored: true
    verify: true
    mode: MEMORY
    artifacts: true
    files: true
    checksums: true
    catalogs: true
    passphrase: ************
    publicKey: ************
    secretKey: ************
 
deploy:
    enabled: true
    active: ALWAYS
    maven:
        enabled: true
        active: ALWAYS
        pomchecker:
            version: 1.14.0
            failOnWarning: true
            failOnError: true
            strict: true
        mavenCentral:
            ossrh:
                enabled: true
                active: ALWAYS
                connectTimeout: 20
                readTimeout: 60
                authorization: BASIC
                url: https://central.sonatype.com/api/v1/publisher
                username: ************
                password: ************
                sign: false
                checksums: false
                sourceJar: true
                javadocJar: true
                verifyPom: false
                applyMavenCentralRules: false
                snapshotSupported: false
                stagingRepositories:
                    /Users/runner/work/kotlin-sdk/kotlin-sdk/build/staging-deploy
                artifactOverrides:
                    artifact 0:
                        groupId: io.modelcontextprotocol
                        artifactId: kotlin-sdk-iosarm64
                        jar: false
                        sourceJar: false
                        javadocJar: false
                        verifyPom: false
                    artifact 1:
                        groupId: io.modelcontextprotocol
                        artifactId: kotlin-sdk-iossimulatorarm64
                        jar: false
                        sourceJar: false
                        javadocJar: false
                        verifyPom: false
                    artifact 2:
                        groupId: io.modelcontextprotocol
                        artifactId: kotlin-sdk-iosx64
                        jar: false
                        sourceJar: false
                        javadocJar: false
                        verifyPom: false
                    artifact 3:
                        groupId: io.modelcontextprotocol
                        artifactId: kotlin-sdk-js
                        jar: false
                        sourceJar: false
                        javadocJar: false
                        verifyPom: false
                    artifact 4:
                        groupId: io.modelcontextprotocol
                        artifactId: kotlin-sdk-wasm-js
                        jar: false
                        sourceJar: false
                        javadocJar: false
                        verifyPom: false
                stage: FULL
                namespace: io.modelcontextprotocol
                retryDelay: 20
                maxRetries: 240
 
catalog:
    enabled: false
    active: NEVER
    sbom:
        enabled: false
        active: NEVER

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginvalidThis doesn't seem right

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions