You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Rick Mann <rm...@latencyzero.com> on 2005/08/26 22:42:50 UTC

Checksum failure and how to build maven2 ant tasks?

Hi. I tried adding some more dependencies to my ant build script  
using the maven-artifact-ant-2.0-alpha-3-dep.jar. When I tried to  
build, it reported this:

> [artifact:dependencies] Resolving dependencies...
> [artifact:dependencies] Downloading: javax/mail/mail/1.3.2/ 
> mail-1.3.2.pom
> [artifact:dependencies] Transferring 0K
> [artifact:dependencies] Downloading: javax/mail/mail/1.3.2/ 
> mail-1.3.2.pom
> [artifact:dependencies] Transferring 0K
> [artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum  
> failed on download: local =  
> 'ec6e8527f18fb7b815e6bbc113741cffb51898fe'; remote =  
> 'ec6e8527f18fb7b815e6bbc113741cffb51898fe
> [artifact:dependencies] ' - IGNORING
> [artifact:dependencies] Downloading: javax/activation/activation/ 
> 1.0.2/activation-1.0.2.pom
> [artifact:dependencies] Transferring 0K
> [artifact:dependencies] Downloading: javax/activation/activation/ 
> 1.0.2/activation-1.0.2.pom
> [artifact:dependencies] Transferring 0K
> [artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum  
> failed on download: local =  
> 'fbc8f5ebd0af648dcf3a931705aa3f293be00a5c'; remote =  
> 'fbc8f5ebd0af648dcf3a931705aa3f293be00a5c
> [artifact:dependencies] ' - IGNORING
> [artifact:dependencies] Downloading: javax/mail/mail/1.3.2/ 
> mail-1.3.2.jar
> [artifact:dependencies] [WARNING] Unable to get resource from  
> repository http://repo1.maven.org/maven2

The checksums seem to be identical, so decided to add some additional  
logging to maven. I've checked out the sources to maven2, and am  
currently building maven, but I don't know if that will build the ant  
artifact .jar.

Can someone tell me how to build this piece of things? Thanks!

-- 
Rick



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Checksum failure and how to build maven2 ant tasks?

Posted by Brett Porter <br...@gmail.com>.
The difference is a line ending in the remote checksum. We caught a
couple of things like that and will try to get them fixed before the
beta-1 release.

To build the ant tasks, run "m2 assembly:assembly" from the
maven-artifact-ant directory. You will need to have built the m2
libraries it depends on first - the easiest way is to just bootstrap
the whole thing (from the top level directory) and use the latest
version.

- Brett

On 8/27/05, Rick Mann <rm...@latencyzero.com> wrote:
> Hi. I tried adding some more dependencies to my ant build script
> using the maven-artifact-ant-2.0-alpha-3-dep.jar. When I tried to
> build, it reported this:
> 
> > [artifact:dependencies] Resolving dependencies...
> > [artifact:dependencies] Downloading: javax/mail/mail/1.3.2/
> > mail-1.3.2.pom
> > [artifact:dependencies] Transferring 0K
> > [artifact:dependencies] Downloading: javax/mail/mail/1.3.2/
> > mail-1.3.2.pom
> > [artifact:dependencies] Transferring 0K
> > [artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum
> > failed on download: local =
> > 'ec6e8527f18fb7b815e6bbc113741cffb51898fe'; remote =
> > 'ec6e8527f18fb7b815e6bbc113741cffb51898fe
> > [artifact:dependencies] ' - IGNORING
> > [artifact:dependencies] Downloading: javax/activation/activation/
> > 1.0.2/activation-1.0.2.pom
> > [artifact:dependencies] Transferring 0K
> > [artifact:dependencies] Downloading: javax/activation/activation/
> > 1.0.2/activation-1.0.2.pom
> > [artifact:dependencies] Transferring 0K
> > [artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum
> > failed on download: local =
> > 'fbc8f5ebd0af648dcf3a931705aa3f293be00a5c'; remote =
> > 'fbc8f5ebd0af648dcf3a931705aa3f293be00a5c
> > [artifact:dependencies] ' - IGNORING
> > [artifact:dependencies] Downloading: javax/mail/mail/1.3.2/
> > mail-1.3.2.jar
> > [artifact:dependencies] [WARNING] Unable to get resource from
> > repository http://repo1.maven.org/maven2
> 
> The checksums seem to be identical, so decided to add some additional
> logging to maven. I've checked out the sources to maven2, and am
> currently building maven, but I don't know if that will build the ant
> artifact .jar.
> 
> Can someone tell me how to build this piece of things? Thanks!
> 
> --
> Rick
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org