Skip to content

Build dependency from main branch via jitpack fails #578

@Cedesc

Description

@Cedesc

When trying to build the dependency from main branch (or even for 2025.2), the build fails, because of missing .asc files.

See https://jitpack.io/com/github/hivemq/hivemq-community-edition/master-17ea7f5f53-1/build.log
and https://jitpack.io/com/github/hivemq/hivemq-community-edition/2025.2/build.log

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':hivemq-extension-sdk:publishMavenPublicationToMavenLocal'.
> Failed to publish publication 'maven' to repository 'mavenLocal'
   > Invalid publication 'maven': artifact file does not exist: '/home/jitpack/build/hivemq-extension-sdk/build/publications/maven/module.json.asc'
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':publishEmbeddedPublicationToMavenLocal'.
> Failed to publish publication 'embedded' to repository 'mavenLocal'
   > Invalid publication 'embedded': artifact file does not exist: '/home/jitpack/build/hivemq-community-edition/build/publications/embedded/module.json.asc'

As we can see in jitpack.yml, signEmbeddedPublication and signMavenPublication are executed but fail because of the missing files. Can these tasks be removed from the jitpack.yml file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions