[ 
https://issues.apache.org/jira/browse/DERBY-4267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748307#action_12748307
 ] 

Kristian Waagan commented on DERBY-4267:
----------------------------------------

Hi Rick,

I don't think you are doing anything wrong. I can't see ane "*.asc.asc" files 
in your list.
Here's what I think is happening:
 1) You generate the "real artifacts", typically a jar file and a POM.
 2) These are then signed, resulting in two more files (*.asc)
      You now have four files.
 3) In the install/deployment step, you are checksumming all the artifacts you 
have.
      The jar, the jar signature, the POM, and the POM signature.

All in all, with two "real artifacts", you end up with twelve files as you 
described. This because there are two checksums for each artifact (md5 and 
sha1).

Checking the following random projects that sign their artifacts, this seems to 
be the way it is done:
 - http://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.0.6/
 - http://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.0/
 - 
http://repo1.maven.org/maven2/org/apache/shindig/shindig-common/1.0-incubating/
 - http://repo1.maven.org/maven2/org/apache/tomcat/jasper/6.0.20/

However, these projects don't (no checksumming of the signatures):
 - http://repo1.maven.org/maven2/org/apache/hadoop/avro/1.0.0/
 - http://repo1.maven.org/maven2/org/apache/lucene/lucene-core/2.4.1/

Personally I would prefer to keep the scripts simple instead of writing more 
code/XML to delete some of the checksum files.
Or is there a way to specify files to exclude? 

> Investigate why Derby 10.5.1.1 is not available in the maven2 repositories
> --------------------------------------------------------------------------
>
>                 Key: DERBY-4267
>                 URL: https://issues.apache.org/jira/browse/DERBY-4267
>             Project: Derby
>          Issue Type: Task
>          Components: Build tools
>    Affects Versions: 10.5.1.1, 10.6.0.0
>            Reporter: H.-Dirk Schmitt
>         Attachments: derby-4267-1a-maven2.diff, derby-4267-1a-maven2.stat, 
> derby-4267-2a-using_ant_task.diff, derby-4267-2a-using_ant_task.stat, 
> derby-4267-2b-using_ant_task.diff, derby-4267-2b-using_ant_task.stat, 
> maven2.zip
>
>
> Only 10.4.2.0 and older are available in the maven 2 repositories.
> May you please also provide the new version.
> Please see also https://issues.apache.org/jira/browse/DERBY-4220

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to