You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <ui...@incubator.apache.org> on 2008/02/24 23:55:14 UTC
[jira] Commented: (UIMA-818) Improve Signing artifacts for
deployment, and update also website signing topic
[ https://issues.apache.org/jira/browse/UIMA-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571980#action_12571980 ]
Marshall Schor commented on UIMA-818:
-------------------------------------
Using google, I discovered that you can configure install:install to generate the md5 and sha1 checksums. I suggest we do that when the -DsignArtifacts is set.
> Improve Signing artifacts for deployment, and update also website signing topic
> -------------------------------------------------------------------------------
>
> Key: UIMA-818
> URL: https://issues.apache.org/jira/browse/UIMA-818
> Project: UIMA
> Issue Type: Improvement
> Components: Build, Packaging and Test
> Reporter: Marshall Schor
> Priority: Minor
>
> The current page on our website concerning signing, http://incubator.apache.org/uima/distribution.html, says to use the script in uimaj-distr / ... / build / signRelease . xxx to sign the release. This runs gpg and uses that to generate the md5 and sha1 hashes, which are in the wrong format (per discussion the incubator general mailing list).
> Remove this signing script (because signing is now done from maven), and update our signing page to indicate how signing is now done.
> The uimaj-distr / ... /build/extractAndBuild script, if passed the -deploy switch, will turn on the gpg signing phase; this is configured in the uimaj pom. This will do a gpg signing of the artifacts for all things that are built as part of the packaging phase for all "child" poms.
> It's unclear how the md5 and sha1 checksums are generated for the deploy to maven repositories. Inspecting the current repo at http://people.apache.org/repo/m2-incubating-repository/org/apache/uima/ shows md5 and sha1 checksums being applied to the gpg signatures, which is incorrect. Fix / automate this process, to occur as part of the maven lifecycle when signing is asked for. Make this work also for the Eclipse update site.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Commented: (UIMA-818) Improve Signing artifacts for deployment,
and update also website signing topic
Posted by Marshall Schor <ms...@schor.com>.
Marshall Schor wrote:
> Marshall Schor (JIRA) wrote:
>> [
>> https://issues.apache.org/jira/browse/UIMA-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571980#action_12571980
>> ]
>> Marshall Schor commented on UIMA-818:
>> -------------------------------------
>>
>> Using google, I discovered that you can configure install:install to
>> generate the md5 and sha1 checksums. I suggest we do that when the
>> -DsignArtifacts is set.
>>
> Found this did not work. Searching the internet showed you needed to
> have version 2.2 of the install plugin. I had version 2.1. I deleted
> the install plugin from my local repo, which caused maven to download
> the current version - which was 2.2. Then it started working.
>
> The check sum generation is not stored to "target"; it is only put in
> local repository.
>
> The checksum also is being computed for the gpg signature - which it
> shouldn't be. I'm going to ask on the maven users list how this is
> supposed to be done.
One answer posted on the maven users lists said ... The next version of
maven-install-plugin will have a fix for this:
http://jira.codehaus.org/browse/MINSTALL-48
>
>
> -Marshall
>
>
Re: [jira] Commented: (UIMA-818) Improve Signing artifacts for deployment,
and update also website signing topic
Posted by Marshall Schor <ms...@schor.com>.
Marshall Schor (JIRA) wrote:
> [ https://issues.apache.org/jira/browse/UIMA-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571980#action_12571980 ]
>
> Marshall Schor commented on UIMA-818:
> -------------------------------------
>
> Using google, I discovered that you can configure install:install to generate the md5 and sha1 checksums. I suggest we do that when the -DsignArtifacts is set.
>
Found this did not work. Searching the internet showed you needed to
have version 2.2 of the install plugin. I had version 2.1. I deleted
the install plugin from my local repo, which caused maven to download
the current version - which was 2.2. Then it started working.
The check sum generation is not stored to "target"; it is only put in
local repository.
The checksum also is being computed for the gpg signature - which it
shouldn't be. I'm going to ask on the maven users list how this is
supposed to be done.
-Marshall
Re: [jira] Commented: (UIMA-818) Improve Signing artifacts for deployment,
and update also website signing topic
Posted by Michael Baessler <mb...@michael-baessler.de>.
Marshall Schor wrote:
> Michael Baessler wrote:
>> Marshall Schor wrote:
>>
>>> Michael Baessler wrote:
>>>
>>>> Marshall Schor (JIRA) wrote:
>>>>
>>>>
>>>>> ...
>>> Are you saying that this mvn command adds the md5 and sha1 checksums, as
>>> part of the upload process? I didn't see that documented in the
>>> maven-deploy-plugin documentation.
>>>
>>>
>>>
>> Yes with -DsignArtifacts=true the sha1 and md5 checksums are generated
>> automatically. This is necessary since during the Maven upload some
>> files are only updated with some information
> Interesting... What information is "updated" during maven upload?
>
> -Marshall
For example the maven-metadata.xml files
<?xml version="1.0" encoding="UTF-8"?><metadata>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj</artifactId>
<version>2.2.1-incubating</version>
<versioning>
<versions>
<version>2.2.0-incubating</version>
<version>2.2.1-incubating</version>
</versions>
<lastUpdated>20071213105110</lastUpdated>
</versioning>
</metadata>
These files contains the available versions.
-- Michael
Re: [jira] Commented: (UIMA-818) Improve Signing artifacts for deployment,
and update also website signing topic
Posted by Marshall Schor <ms...@schor.com>.
Michael Baessler wrote:
> Marshall Schor wrote:
>
>> Michael Baessler wrote:
>>
>>> Marshall Schor (JIRA) wrote:
>>>
>>>
>>>> ...
>> Are you saying that this mvn command adds the md5 and sha1 checksums, as
>> part of the upload process? I didn't see that documented in the
>> maven-deploy-plugin documentation.
>>
>>
>>
> Yes with -DsignArtifacts=true the sha1 and md5 checksums are generated
> automatically. This is necessary since during the Maven upload some
> files are only updated with some information
Interesting... What information is "updated" during maven upload?
-Marshall
Re: [jira] Commented: (UIMA-818) Improve Signing artifacts for deployment,
and update also website signing topic
Posted by Michael Baessler <mb...@michael-baessler.de>.
Marshall Schor wrote:
> Michael Baessler wrote:
>> Marshall Schor (JIRA) wrote:
>>
>>> [
>>> https://issues.apache.org/jira/browse/UIMA-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571980#action_12571980
>>> ]
>>> Marshall Schor commented on UIMA-818:
>>> -------------------------------------
>>>
>>> Using google, I discovered that you can configure install:install to
>>> generate the md5 and sha1 checksums. I suggest we do that when the
>>> -DsignArtifacts is set.
>>>
>>>
>>>> Improve Signing artifacts for deployment, and update also website
>>>> signing topic
>>>> -------------------------------------------------------------------------------
>>>>
>>>>
>>>> Key: UIMA-818
>>>> URL: https://issues.apache.org/jira/browse/UIMA-818
>>>> Project: UIMA
>>>> Issue Type: Improvement
>>>> Components: Build, Packaging and Test
>>>> Reporter: Marshall Schor
>>>> Priority: Minor
>>>>
>>>> The current page on our website concerning signing,
>>>> http://incubator.apache.org/uima/distribution.html, says to use the
>>>> script in uimaj-distr / ... / build / signRelease . xxx to sign the
>>>> release. This runs gpg and uses that to generate the md5 and sha1
>>>> hashes, which are in the wrong format (per discussion the incubator
>>>> general mailing list). Remove this signing script (because signing
>>>> is now done from maven), and update our signing page to indicate how
>>>> signing is now done.
>>>> The uimaj-distr / ... /build/extractAndBuild script, if passed the
>>>> -deploy switch, will turn on the gpg signing phase; this is
>>>> configured in the uimaj pom. This will do a gpg signing of the
>>>> artifacts for all things that are built as part of the packaging
>>>> phase for all "child" poms. It's unclear how the md5 and sha1
>>>> checksums are generated for the deploy to maven repositories.
>>>> Inspecting the current repo at
>>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/uima/
>>>> shows md5 and sha1 checksums being applied to the gpg signatures,
>>>> which is incorrect. Fix / automate this process, to occur as part
>>>> of the maven lifecycle when signing is asked for. Make this work
>>>> also for the Eclipse update site.
>>>>
>> I already added some documentation to the "How to do a release" page to
>> explain how we do the maven repository upload.
> Are you saying that this mvn command adds the md5 and sha1 checksums, as
> part of the upload process? I didn't see that documented in the
> maven-deploy-plugin documentation.
>
> -Marshall
>
>> If there are other
>> dependencies that must be configured (current setting works for me),
>> please update the page.
>>
>> Upload the release artifacts to the Maven Incubator repository. To start
>> the upload the following command must be executed from the uimaj project
>>
>> mvn -DsignArtifacts=true source:jar deploy
>>
>> Before the upload is started, make sure that the Maven settings.xml file
>> is configured properly. It must contain a section like:
>>
>> <servers>
>> <server>
>> <id>staging-repository</id>
>> <username>YOUR_USER_NAME</username>
>> //either use password or privateKey authentication
>> <password>YOUR_PASSWORD</password>
>> <privateKey>PATH_TO_YOUR_PRIVATE_KEY_FILE</privateKey>
>> <configuration>
>> //specify ssh and scp executables (here Putty executables are used)
>> <sshExecutable>plink</sshExecutable>
>> <scpExecutable>pscp</scpExecutable>
>> </configuration>
>> </server>
>> </servers>
>>
>> -- Michael
>>
>>
>>
>
Yes with -DsignArtifacts=true the sha1 and md5 checksums are generated
automatically. This is necessary since during the Maven upload some
files are only updated with some information so the checksum must
be generated for these updated files and cannot be computed on the local
created files.
-- Michael
Re: [jira] Commented: (UIMA-818) Improve Signing artifacts for deployment,
and update also website signing topic
Posted by Marshall Schor <ms...@schor.com>.
Michael Baessler wrote:
> Marshall Schor (JIRA) wrote:
>
>> [ https://issues.apache.org/jira/browse/UIMA-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571980#action_12571980 ]
>>
>> Marshall Schor commented on UIMA-818:
>> -------------------------------------
>>
>> Using google, I discovered that you can configure install:install to generate the md5 and sha1 checksums. I suggest we do that when the -DsignArtifacts is set.
>>
>>
>>> Improve Signing artifacts for deployment, and update also website signing topic
>>> -------------------------------------------------------------------------------
>>>
>>> Key: UIMA-818
>>> URL: https://issues.apache.org/jira/browse/UIMA-818
>>> Project: UIMA
>>> Issue Type: Improvement
>>> Components: Build, Packaging and Test
>>> Reporter: Marshall Schor
>>> Priority: Minor
>>>
>>> The current page on our website concerning signing, http://incubator.apache.org/uima/distribution.html, says to use the script in uimaj-distr / ... / build / signRelease . xxx to sign the release. This runs gpg and uses that to generate the md5 and sha1 hashes, which are in the wrong format (per discussion the incubator general mailing list).
>>> Remove this signing script (because signing is now done from maven), and update our signing page to indicate how signing is now done.
>>> The uimaj-distr / ... /build/extractAndBuild script, if passed the -deploy switch, will turn on the gpg signing phase; this is configured in the uimaj pom. This will do a gpg signing of the artifacts for all things that are built as part of the packaging phase for all "child" poms.
>>> It's unclear how the md5 and sha1 checksums are generated for the deploy to maven repositories. Inspecting the current repo at http://people.apache.org/repo/m2-incubating-repository/org/apache/uima/ shows md5 and sha1 checksums being applied to the gpg signatures, which is incorrect. Fix / automate this process, to occur as part of the maven lifecycle when signing is asked for. Make this work also for the Eclipse update site.
>>>
> I already added some documentation to the "How to do a release" page to
> explain how we do the maven repository upload.
Are you saying that this mvn command adds the md5 and sha1 checksums, as
part of the upload process? I didn't see that documented in the
maven-deploy-plugin documentation.
-Marshall
> If there are other
> dependencies that must be configured (current setting works for me),
> please update the page.
>
> Upload the release artifacts to the Maven Incubator repository. To start
> the upload the following command must be executed from the uimaj project
>
> mvn -DsignArtifacts=true source:jar deploy
>
> Before the upload is started, make sure that the Maven settings.xml file
> is configured properly. It must contain a section like:
>
> <servers>
> <server>
> <id>staging-repository</id>
> <username>YOUR_USER_NAME</username>
> //either use password or privateKey authentication
> <password>YOUR_PASSWORD</password>
> <privateKey>PATH_TO_YOUR_PRIVATE_KEY_FILE</privateKey>
> <configuration>
> //specify ssh and scp executables (here Putty executables are used)
> <sshExecutable>plink</sshExecutable>
> <scpExecutable>pscp</scpExecutable>
> </configuration>
> </server>
> </servers>
>
> -- Michael
>
>
>
Re: [jira] Commented: (UIMA-818) Improve Signing artifacts for deployment,
and update also website signing topic
Posted by Michael Baessler <mb...@michael-baessler.de>.
Marshall Schor (JIRA) wrote:
> [ https://issues.apache.org/jira/browse/UIMA-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571980#action_12571980 ]
>
> Marshall Schor commented on UIMA-818:
> -------------------------------------
>
> Using google, I discovered that you can configure install:install to generate the md5 and sha1 checksums. I suggest we do that when the -DsignArtifacts is set.
>
>> Improve Signing artifacts for deployment, and update also website signing topic
>> -------------------------------------------------------------------------------
>>
>> Key: UIMA-818
>> URL: https://issues.apache.org/jira/browse/UIMA-818
>> Project: UIMA
>> Issue Type: Improvement
>> Components: Build, Packaging and Test
>> Reporter: Marshall Schor
>> Priority: Minor
>>
>> The current page on our website concerning signing, http://incubator.apache.org/uima/distribution.html, says to use the script in uimaj-distr / ... / build / signRelease . xxx to sign the release. This runs gpg and uses that to generate the md5 and sha1 hashes, which are in the wrong format (per discussion the incubator general mailing list).
>> Remove this signing script (because signing is now done from maven), and update our signing page to indicate how signing is now done.
>> The uimaj-distr / ... /build/extractAndBuild script, if passed the -deploy switch, will turn on the gpg signing phase; this is configured in the uimaj pom. This will do a gpg signing of the artifacts for all things that are built as part of the packaging phase for all "child" poms.
>> It's unclear how the md5 and sha1 checksums are generated for the deploy to maven repositories. Inspecting the current repo at http://people.apache.org/repo/m2-incubating-repository/org/apache/uima/ shows md5 and sha1 checksums being applied to the gpg signatures, which is incorrect. Fix / automate this process, to occur as part of the maven lifecycle when signing is asked for. Make this work also for the Eclipse update site.
>
I already added some documentation to the "How to do a release" page to
explain how we do the maven repository upload. If there are other
dependencies that must be configured (current setting works for me),
please update the page.
Upload the release artifacts to the Maven Incubator repository. To start
the upload the following command must be executed from the uimaj project
mvn -DsignArtifacts=true source:jar deploy
Before the upload is started, make sure that the Maven settings.xml file
is configured properly. It must contain a section like:
<servers>
<server>
<id>staging-repository</id>
<username>YOUR_USER_NAME</username>
//either use password or privateKey authentication
<password>YOUR_PASSWORD</password>
<privateKey>PATH_TO_YOUR_PRIVATE_KEY_FILE</privateKey>
<configuration>
//specify ssh and scp executables (here Putty executables are used)
<sshExecutable>plink</sshExecutable>
<scpExecutable>pscp</scpExecutable>
</configuration>
</server>
</servers>
-- Michael