Another approach to archive this is invoke Ant checksum task [1]
through the Maven AntRun plug-in. This is much flexible way, because
you can run it anywhere using antrun:run goal .


Thanks,

[1] - http://ant.apache.org/manual/CoreTasks/checksum.html
[2] - http://maven.apache.org/plugins/maven-antrun-plugin/


On Tue, Nov 10, 2009 at 10:21 PM, Jamie Whitehouse
<[email protected]> wrote:
> You can use the build helper plugin to attach additional artifacts to be
> installed and deployed.  This will mean that hashes will be created for
> you.
>
> See
> http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.
> html
>
> -----Original Message-----
> From: Steve Brannstrom [mailto:[email protected]]
> Sent: Tuesday, November 10, 2009 4:19 AM
> To: Maven Users List
> Subject: Re: How to generate hash digests with Maven Assembly
>
> Thanks  for the reply. But we have .zip and  .tar.gz archives and AFAIK
> not possible to deploy them to a repository, hence I don't think this
> approach will wok for us. It is great if we can generate those digests
> with Assembly plug-in or with any other way using maven.
>
> Thanks,
>
> On 11/10/09, Anders Hammar <[email protected]> wrote:
>> One way is if you use a repository manager (Nexus for instance), it
>> will be generated for you when deploying.
>>
>> /Anders
>>
>> On Tue, Nov 10, 2009 at 09:52, Steve Brannstrom <[email protected]>
> wrote:
>>
>>> Hi friends ,
>>>
>>> We use Maven Assembly  plug-in to create the binary and source
>>> archives in .zip, .tar.gz formats . We also want to generate  hash
>>> digests such as md5, sha1 for those archives . Is there any way to
>>> achieve this using Maven Assembly  plug-in  ? If not please provide a
>
>>> pointer to achieve this using Maven ?
>>>
>>>
>>> Thanks ,
>>>
>>> -Steve
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
> -------------------------------------------------------------------------------------------------------------------
> CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain 
> confidential and proprietary information of Alcatel-Lucent and/or its 
> affiliated entities. Access by the intended recipient only is authorized. Any 
> liability arising from any party acting, or refraining from acting, on any 
> information contained in this e-mail is hereby excluded. If you are not the 
> intended recipient, please notify the sender immediately, destroy the 
> original transmission and its attachments and do not disclose the contents to 
> any other person, use it for any purpose, or store or copy the information in 
> any medium. Copyright in this e-mail and any attachments belongs to 
> Alcatel-Lucent and/or its affiliated entities.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Sagara Gunathunga

Blog - ssagara.blogspot.com
Web - http://people.apache.org/~sagara

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to