You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Niall Pemberton (JIRA)" <ji...@codehaus.org> on 2008/02/24 02:42:28 UTC

[jira] Updated: (MINSTALL-47) Add option to append the file name to the md5/sha1 checksums

     [ http://jira.codehaus.org/browse/MINSTALL-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niall Pemberton updated MINSTALL-47:
------------------------------------

    Attachment: maven-install-checksum-patterns-v1.patch

Attaching an alternative patch that provides the option to specify a MessagFormat style patterns for the MD5 and SHA1 checksums:

Has two new pattern properties (md5Pattern and sha1Pattern) where {0} is replaced with the checksum, {1} with the file name and {2} is a new line.

This is almost the same as the functionality provided by the Ant checksum task and gives greater and individual control over what is output for both md5 and sha1 checksums.

> Add option to append the file name to the md5/sha1 checksums
> ------------------------------------------------------------
>
>                 Key: MINSTALL-47
>                 URL: http://jira.codehaus.org/browse/MINSTALL-47
>             Project: Maven 2.x Install Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2
>            Reporter: Niall Pemberton
>            Priority: Minor
>         Attachments: maven-install-checksum-append-filename-v1.patch, maven-install-checksum-patterns-v1.patch
>
>
> Some tools which check checksums expect the sum to be followed by <space>*filename
> http://www.mail-archive.com/commons-dev@jakarta.apache.org/msg67770.html
> It would be good to have a configuration option so that the install plugin can do this

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira