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

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.

I tried "m2 install" in the maven-artifact-ant directory. That built  
and installed the maven-artifact-ant stuff, but the .jar that is  
donwloadable on the site has a LOT more stuff in it (all of the  
dependencies).

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org