-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to Tycho 2.7.1 Bugfix release #7866
Conversation
- Enable pgp signatures again - Update to Tycho 2.7.1
@laeubi once merged snapshots will deployed here https://oss.sonatype.org/content/repositories/jetty-snapshots/ |
The question is, will snapshots be pgp-signed as a "real" release is before deployed to maven-central? |
usually when we stage a release it's too late to change something |
Yes a snapshot with signing would be enough. |
@laeubi I have deployed manually snapshot with gpg signing activated. |
@olamy thanks, I have checked the output and it looks fine now! 👍 |
@laeubi Why is tycho-p2-repository reaching out to a 3rd party server and failing if it cannot get a reply?
How can we disable this use of |
It needs to fetch the PGP (public) key for the signed content, but this should be cached once it got the information once
This is controlled by the property includePGPSignature, but as PGP signatures are important to validate the integrity of your artifacts I would recommend to include this so jetty is not show-up as unsigned content, but you can use a different keyserver with the keyserverurl e.g. https://keyserver.ubuntu.com is much more faster and reliable! |
This information should already be present in the maven reactor, as the gpg plugin was just used to sign all of the artifacts.
Looking at the error, I wonder if it's getting confused by my multiple gpg keys. Maven builds are using the gpg plugin to sign the artifacts, using the |
The main point is that it must work with any plugin (not only the one you are currently signing). Beside that, it makes sure the information is at least available from one keyserver later on.
I think there was an error that tycho tries to include all keys with the pgp plugin but this mojo should not be affected by this. so probably the generated site includes more than we think, can you check this?
As mentioned above, this is only one key but wen need all used in the site, beside that, due to maven internals, is not easy to "reuse" other mojos configuration reliable.
Just use the ubuntu mirror, should be much better, the keys are cached in the local maven repo, so if you clear this sometimes... of course there is always a chance of bug, so if you have any steps to reproduce please let me know! |
@joakime I have added a fix to tycho now, if you like you can try out the current tycho snapshot build if it improves the situation, I also prepare a release for Tycho 2.7.4 that will include this fix. |
@joakime is there a way to simulate a release (staging repo maybe?) so we can check that a deployment now contains valid signatures?