You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Jacek Laskowski <ja...@japila.pl> on 2021/09/23 08:05:45 UTC

Building 3.0.0 and Task :connect:signMavenJavaPublication FAILED

Hi,

I've been trying to build the latest version of Kafka 3.0.0 and no joy so
far.

$ ./gradlew clean releaseTarGz install
...
> Configure project :
Starting build with version 3.0.0 using Gradle 7.1.1, Java 11 and Scala
2.13.6

> Task :connect:signMavenJavaPublication FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':connect:signMavenJavaPublication'.
> Cannot perform signing task ':connect:signMavenJavaPublication' because
it has no configured signatory

How to fix it? I can't seem to find anything in README.md.

Pozdrawiam,
Jacek Laskowski
----
https://about.me/JacekLaskowski
"The Internals Of" Online Books <https://books.japila.pl/>
Follow me on https://twitter.com/jaceklaskowski

<https://twitter.com/jaceklaskowski>

Re: Building 3.0.0 and Task :connect:signMavenJavaPublication FAILED

Posted by Jacek Laskowski <ja...@japila.pl>.
Hi,

I found a solution! It's -PskipSigning=true and it is in README.md actually
(but somehow it was not required in the earlier versions, e.g. 2.8.0):

> skipSigning: skips signing of artifacts.

The following works nicely!

./gradlew clean releaseTarGz install -PskipSigning=true

[1]
https://github.com/apache/kafka/blob/3.0.0/README.md#common-build-options

Pozdrawiam,
Jacek Laskowski
----
https://about.me/JacekLaskowski
"The Internals Of" Online Books <https://books.japila.pl/>
Follow me on https://twitter.com/jaceklaskowski

<https://twitter.com/jaceklaskowski>


On Thu, Sep 23, 2021 at 10:05 AM Jacek Laskowski <ja...@japila.pl> wrote:

> Hi,
>
> I've been trying to build the latest version of Kafka 3.0.0 and no joy so
> far.
>
> $ ./gradlew clean releaseTarGz install
> ...
> > Configure project :
> Starting build with version 3.0.0 using Gradle 7.1.1, Java 11 and Scala
> 2.13.6
>
> > Task :connect:signMavenJavaPublication FAILED
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':connect:signMavenJavaPublication'.
> > Cannot perform signing task ':connect:signMavenJavaPublication' because
> it has no configured signatory
>
> How to fix it? I can't seem to find anything in README.md.
>
> Pozdrawiam,
> Jacek Laskowski
> ----
> https://about.me/JacekLaskowski
> "The Internals Of" Online Books <https://books.japila.pl/>
> Follow me on https://twitter.com/jaceklaskowski
>
> <https://twitter.com/jaceklaskowski>
>