Issue2814
Created on 2019-10-10.08:39:47 by jeff.allen, last changed 2019-11-01.20:58:07 by jeff.allen.
msg12708 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2019-10-10.08:39:46 |
|
In the build, since the pgp command is not necessarily available, and this breaks the build, we have removed the commands that use it to sign the artefacts. However, that's necessary for Sonatype to publish (or an equivalent signing process?).
We should restore the pgp steps, either making them optional or fail-soft.
|
msg12710 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2019-10-10.08:47:22 |
|
Alternatively, document as a manual step.
|
msg12722 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2019-10-26.16:41:36 |
|
(Corrected)
As a manual step, this is a bit awkward to do. I found I could modify the maven/build.xml *after* a build at tag 2.7.2b1, circumventing its tendency to build a snapshot.
This, added to macrodef stage, restores the gpg step:
<!-- Generate a detached signature for each artefact in the bundle. -->
<exec executable="gpg" dir="${build.maven}">
<arg value="-ab"/>
<arg value="@{artifactId}-@{version}.pom"/>
</exec>
<exec executable="gpg" dir="${build.maven}">
<arg value="-ab"/>
<arg value="@{artifactId}-@{version}.jar"/>
</exec>
<exec executable="gpg" dir="${build.maven}">
<arg value="-ab"/>
<arg value="@{artifactId}-@{version}-javadoc.jar"/>
</exec>
<exec executable="gpg" dir="${build.maven}">
<arg value="-ab"/>
<arg value="@{artifactId}-@{version}-sources.jar"/>
</exec>
It fails if you don't have gpg at all, as the step is not really optional. I won't push that change right now though, taking other blockers to publication as part of this.
|
msg12732 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2019-10-31.15:27:05 |
|
I have managed to make bundles of signed files acceptable to Sonatype.
|
msg12734 (view) |
Author: Jeff Allen (jeff.allen) |
Date: 2019-11-01.20:58:07 |
|
Fixed at: https://hg.python.org/jython/rev/7028af43600e
|
|
Date |
User |
Action |
Args |
2019-11-01 20:58:07 | jeff.allen | set | status: open -> closed messages:
+ msg12734 |
2019-10-31 15:27:05 | jeff.allen | set | resolution: accepted -> fixed messages:
+ msg12732 |
2019-10-26 16:41:50 | jeff.allen | set | messages:
- msg12720 |
2019-10-26 16:41:36 | jeff.allen | set | messages:
+ msg12722 |
2019-10-26 12:37:18 | jeff.allen | set | assignee: jeff.allen messages:
+ msg12720 |
2019-10-10 08:47:22 | jeff.allen | set | messages:
+ msg12710 |
2019-10-10 08:44:51 | jeff.allen | set | resolution: accepted milestone: Jython 2.7.2 |
2019-10-10 08:39:47 | jeff.allen | create | |
|