On 11/4/2010 4:21 PM, Antonio Petrelli wrote:
> 2010/11/4 Marshall Schor <[email protected]>:
>> I not sure why you did the ant task to select/copy/rename some things - was 
>> that
>> because you couldn't get the names right in the first place, or the wagon
>> couldn't be configured to deploy just what you wanted?
> For renaming artifacts and to copy digests that otherwise are not accessible.
> Remember to activate this:
> http://maven.apache.org/plugins/maven-install-plugin/install-mojo.html#createChecksum
Just checking my understanding:

The normal deploy operation (which here we've disabled by saying
<skip>true</skip>) adds checksums when uploading to a repository.

The Wagon upload goal doesn't do this.

The install plugin (which installs to your local repo) normally (by default)
doesn't do checksums.  The solution to get the Wagon goal to upload things with
checksums, is as follows:

1) First have the install phase run, with an override configuration to generate
the checksums.  This results in your local .m2 repo having the checksums.
2) Configure the Wagon plugin to upload from the local repo spot, and run after
the "install" phase.

-Marshall

> Antonio
>
> ---------------------------------------------------------------------
> 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]

Reply via email to