buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob van Oostrum <rva...@gmail.com>
Subject download artifact() not working
Date Thu, 09 Dec 2010 21:56:16 GMT
Following the Quick Start doc, I added the following dependency to my
project:

MYBATIS_SPRING = 'org.mybatis:mybatis-spring:jar:1.0.0-RC3'
download artifact(MYBATIS_SPRING) => '
http://mybatis.googlecode.com/files/mybatis-spring-1.0.0-RC3-bundle.zip'

The zip file contains the JAR file I'm really interested in:
mybatis-spring-1.0.0-RC3.jar

My problem is when I use MYBATIS_SPRING as a compile dependency, buildr
downloads the ZIP file and renames it to .jar rather than unpacking it and
using the JAR file like the documentation suggests it should:

compile.with COMMONS_LOGGING, MYBATIS_SPRING

** Execute
/Users/rob/.m2/repository/org/mybatis/mybatis-spring/1.0.0-RC3/mybatis-spring-1.0.0-RC3.jar
Requesting
http://mybatis.googlecode.com/files/mybatis-spring-1.0.0-RC3-bundle.zip
Downloading
http://mybatis.googlecode.com/files/mybatis-spring-1.0.0-RC3-bundle.zip
/Library/Ruby/Gems/1.8/gems/highline-1.5.1/lib/highline/system_extensions.rb:188:
warning: Insecure world writable dir /Users/rob/tools/maven/bin in PATH,
mode 040777
mybatis-spring-1.0.0-RC3-bundle.zip: 100%
|...............................................................................................................................|
   3.1MB/3.1MB Time: 00:00:03
mkdir -p /Users/rob/.m2/repository/org/mybatis/mybatis-spring/1.0.0-RC3
mv
/var/folders/Sv/SvE0dCbIF+GyXqj5nB3zLU+++TI/-Tmp-/mybatis-spring-1.0.0-RC3.jar20101209-12400-fw4rwz-0
/Users/rob/.m2/repository/org/mybatis/mybatis-spring/1.0.0-RC3/mybatis-spring-1.0.0-RC3.jar

rob$ jar tvf
~/.m2/repository/org/mybatis/mybatis-spring/1.0.0-RC3/mybatis-spring-1.0.0-RC3.jar

    0 Mon Nov 22 19:02:02 EST 2010 mybatis-spring-1.0.0-RC3/
    0 Mon Nov 22 19:02:02 EST 2010 mybatis-spring-1.0.0-RC3/lib/
627106 Thu Nov 18 20:18:14 EST 2010
mybatis-spring-1.0.0-RC3/lib/mybatis-3.0.3.jar
382442 Thu Oct 21 21:35:58 EDT 2010
mybatis-spring-1.0.0-RC3/lib/spring-core-3.0.5.RELEASE.jar
60686 Thu Apr 16 15:01:52 EDT 2009
mybatis-spring-1.0.0-RC3/lib/commons-logging-1.1.1.jar
231922 Thu Oct 21 21:35:32 EDT 2010
mybatis-spring-1.0.0-RC3/lib/spring-tx-3.0.5.RELEASE.jar
555410 Thu Oct 21 21:36:06 EDT 2010
mybatis-spring-1.0.0-RC3/lib/spring-beans-3.0.5.RELEASE.jar
668861 Thu Oct 21 21:36:04 EDT 2010
mybatis-spring-1.0.0-RC3/lib/spring-context-3.0.5.RELEASE.jar
169752 Thu Oct 21 21:36:02 EDT 2010
mybatis-spring-1.0.0-RC3/lib/spring-expression-3.0.5.RELEASE.jar
53082 Thu Oct 21 21:36:02 EDT 2010
mybatis-spring-1.0.0-RC3/lib/spring-asm-3.0.5.RELEASE.jar
385712 Thu Oct 21 21:35:58 EDT 2010
mybatis-spring-1.0.0-RC3/lib/spring-jdbc-3.0.5.RELEASE.jar
321190 Thu Oct 21 21:35:54 EDT 2010
mybatis-spring-1.0.0-RC3/lib/spring-aop-3.0.5.RELEASE.jar
 4467 Fri Jan 29 21:19:58 EST 2010
mybatis-spring-1.0.0-RC3/lib/aopalliance-1.0.jar
* 31937 Mon Nov 22 18:59:46 EST 2010
mybatis-spring-1.0.0-RC3/mybatis-spring-1.0.0-RC3.jar*
99344 Mon Nov 22 18:59:50 EST 2010
mybatis-spring-1.0.0-RC3/mybatis-spring-1.0.0-RC3-javadoc.jar
30499 Mon Nov 22 18:59:46 EST 2010
mybatis-spring-1.0.0-RC3/mybatis-spring-1.0.0-RC3-sources.jar
44469 Mon Nov 22 19:01:58 EST 2010
mybatis-spring-1.0.0-RC3/mybatis-spring-1.0.0-RC3-reference.pdf
11358 Mon Nov 22 18:59:36 EST 2010 mybatis-spring-1.0.0-RC3/LICENSE
 1429 Mon Nov 22 18:59:36 EST 2010 mybatis-spring-1.0.0-RC3/NOTICE


Am I missing something here?

I'm using Buildr 1.4.4 on Mac OS FWIW.

Thanks
Rob

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message