You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Oleg Yavorsky <ol...@yahoo.com> on 2007/06/04 15:57:52 UTC

[Maven Ant Tasks] Can't load dependencies

I try to get dependencies using next task:
<artifact:remoteRepository id="central"
                                   url="http://repo1.maven.org/maven2">
            <proxy id="proxy" host="${proxy.host}" port="${proxy.port}" />
        </artifact:remoteRepository>
       
        <artifact:dependencies filesetId="dependencies.fileset.test">
            <remoteRepository refid="central"/>
            <dependency groupId="commons-logging" artifactId="commons-logging" version="1.0.1" />
</artifact:dependencies>

Result of execution is that artifact can't be loaded. I tried different artifacts without much success. It works only when artifact already exists in local repository.

I've checked proxy settings and they are correct. Also I was able to download  artifacts by hand from repository (I thought it could be down) . Did someone have same problems and found reason?

 	      
---------------------------------

Вы уже с Yahoo!? Испытайте обновленную и улучшенную. Yahoo! Почту!