hivemq-community-edition icon indicating copy to clipboard operation
hivemq-community-edition copied to clipboard

Build dependency from main branch via jitpack fails

Open Cedesc opened this issue 7 months ago • 0 comments
trafficstars

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?

Cedesc avatar Apr 22 '25 09:04 Cedesc