Building Gaelyk - Cause: Cannot perform signing task ':signArchives' because it has no configured signatory

2,587 views
Skip to first unread message

Scott Murphy

unread,
Feb 28, 2012, 8:01:14 PM2/28/12
to Gaelyk
I just finished the new memcache stuff and am having trouble building.
What do I do here?

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

Steven

unread,
Feb 28, 2012, 11:23:09 PM2/28/12
to Gaelyk
Do you have PGP setup on your build box? I think tt will need a key
chain too.
This should be very similar to the pgp for maven:
http://www.sonatype.com/people/2010/01/how-to-generate-pgp-signatures-with-maven/

Scott Murphy

unread,
Feb 29, 2012, 12:01:47 AM2/29/12
to Gaelyk
I have pgp installed, but am also wondering if this is a bit overkill
to install to my local repo.
I am just trying to run the gradle install command.

If possible, I think the build settings should be modified to not sign
if installing locally.

On Feb 28, 8:23 pm, Steven <baker.steven...@gmail.com> wrote:
> Do you have PGP setup on your build box? I think tt will need a key
> chain too.
> This should be very similar to the pgp for maven:http://www.sonatype.com/people/2010/01/how-to-generate-pgp-signatures...

Steven

unread,
Feb 29, 2012, 12:03:24 AM2/29/12
to Gaelyk
True for local.

In a maven world, I would not have pgp signing until deploy/release.

Guillaume Laforge

unread,
Feb 29, 2012, 3:57:38 AM2/29/12
to gae...@googlegroups.com
You still have issues building?
I only ran gradle test for my latest commits, haven't tried other targets.
Vladimir contributed some Gradle build enhancements for allowing us to
be able to deploy Gaelyk to Maven Central.
Which target did you try?

> --
> You've received this message because you've subscribed to the Gaelyk Google Group.
> To send an email to the group, please write to: gae...@googlegroups.com
> To unsuscribe from this group: gaelyk+un...@googlegroups.com
> To show more options: http://groups.google.fr/group/gaelyk?hl=en

--
Guillaume Laforge
Groovy Project Manager
SpringSource, a division of VMware

Blog: http://glaforge.appspot.com/
Twitter: @glaforge
Google+: http://gplus.to/glaforge

Steven

unread,
Feb 29, 2012, 4:19:05 AM2/29/12
to Gaelyk
Try adding a project property noSign with a value of true.

Steven

unread,
Feb 29, 2012, 4:22:18 AM2/29/12
to Gaelyk
Might also need to add to sign { ... }
required { isReleaseVersion &&
gradle.taskGraph.hasTask("uploadArchives") }
See: http://www.gradle.org/docs/current/userguide/signing_plugin.html

Scott Murphy

unread,
Feb 29, 2012, 2:38:19 PM2/29/12
to Gaelyk
./gradlew
./gradlew test
work fine

it happens on
./gradlew install

will need to follow Steven's recommendation

Steven

unread,
Feb 29, 2012, 9:20:05 PM2/29/12
to Gaelyk
Don't use the noSign property unless it's just a work around for your
local.
You will need to still sign artifacts before they can be deployed to
Sonatype's repo.

My second note about adding the 'required {...' config is probably the
right approach. (I have not tested this, I only know about this
generally because of my own maven centrally deployed project).

Vladimír Oraný

unread,
Mar 1, 2012, 2:27:07 AM3/1/12
to gae...@googlegroups.com
Hi all,
sorry for that, I've moved also signing into sonatype conditional section https://github.com/musketyr/gaelyk/commit/20f95888ec5d76069d7506030e4b3237d9d94612
> > > To unsuscribe from this group: gaelyk+unsubscribe@googlegroups.com
Reply all
Reply to author
Forward
0 new messages