Thanks for the answer. I tried with this jar : org.apache.ivy_2.2.0.20091013220354.jar an I obtain the same problem :
[ivy:info] Loading jar:file:/usr/local/apache-ant-1.7.1/lib/org.apache.ivy_2.2.0.20091013220354.jar!/org/apache/ivy/core/settings/ivy.properties [ivy:info] :: Ivy 2.2.x-local-20091013220354 - 20091013220354 :: http://ant.apache.org/ivy/ :: [ivy:info] :: loading settings :: file = /home/jbordeau/workspace/ProjectClient/ivysettings.xml [ivy:info] no default ivy user dir defined: set to /home/jbordeau/.ivy2 [ivy:info] including url: jar:file:/usr/local/apache-ant-1.7.1/lib/org.apache.ivy_2.2.0.20091013220354.jar!/org/apache/ivy/core/settings/ivysettings-local.xml [ivy:info] no default cache defined: set to /home/jbordeau/.ivy2/cache [ivy:info] settings loaded (56ms) [ivy:info] default cache: /home/jbordeau/.ivy2/cache [ivy:info] default resolver: default [ivy:info] -- 6 resolvers: [ivy:info] masternaut-repository-ext [url] [ivy:info] local [file] [ivy:info] maven-public [ibiblio] [ivy:info] nexus [url] [ivy:info] shared [url] [ivy:info] default [chain] [local, shared, masternaut-repository-ext] Overriding previous definition of property "ivy.status" Overriding previous definition of property "ivy.configurations" .................................. [ivy:retrieve] == resolving dependencies masternaut#com.masternaut.widgetsgwt;1.3->masternaut#com.masternaut.commongwt;latest.integration [compile->dev] [ivy:retrieve] default: Checking cache for: dependency: masternaut#com.masternaut.commongwt;latest.integration {compile=[dev]} [ivy:retrieve] don't use cache for masternaut#com.masternaut.commongwt;latest.integration: changing=true [ivy:retrieve] don't use cache for masternaut#com.masternaut.commongwt;latest.integration: changing=true [ivy:retrieve] tried /home/jbordeau/.ivy2/local/masternaut/com.masternaut.commongwt/[revision]/ivys/ivy.xml [ivy:retrieve] tried /home/jbordeau/.ivy2/local/masternaut/com.masternaut.commongwt/[revision]/jars/com.masternaut.commongwt.jar [ivy:retrieve] local: no ivy file nor artifact found for masternaut#com.masternaut.commongwt;latest.integration [ivy:retrieve] don't use cache for masternaut#com.masternaut.commongwt;latest.integration: checkModified=true [ivy:retrieve] tried http://repo.masternaut.com/intlibs/masternaut/com.masternaut.commongwt/[revision]/ivy-[revision].xml [ivy:retrieve] CLIENT ERROR: Not Found url=http://repo.masternaut.com/intlibs/masternaut/com.masternaut.commongwt/ [ivy:retrieve] problem while listing resources in http://repo.masternaut.com/intlibs/masternaut/com.masternaut.commongwt/ with shared: [ivy:retrieve] java.io.IOException The HTTP response code for http://repo.masternaut.com/intlibs/masternaut/com.masternaut.commongwt/ did not indicate a success. See log for more detail. [ivy:retrieve] tried http://repo.masternaut.com/intlibs/masternaut/com.masternaut.commongwt/[revision]/com.masternaut.commongwt-[revision].jar [ivy:retrieve] CLIENT ERROR: Not Found url=http://repo.masternaut.com/intlibs/masternaut/com.masternaut.commongwt/ [ivy:retrieve] problem while listing resources in http://repo.masternaut.com/intlibs/masternaut/com.masternaut.commongwt/ with shared: [ivy:retrieve] java.io.IOException The HTTP response code for http://repo.masternaut.com/intlibs/masternaut/com.masternaut.commongwt/ did not indicate a success. See log for more detail. Maarten Coene wrote: > > Could you please try again with current trunk version? > It includes a possible fix for your problem. > > Maarten > > > > ----- Original Message ---- > From: corwin.yo <corwin...@infonie.fr> > To: ivy-user@ant.apache.org > Sent: Wed, October 14, 2009 12:34:45 PM > Subject: dynamic revision and Artifactory with anonAccessEnabled to false > > > Hello, > > Im using Ivy 2.1.0 with Artifactory 2.0.7. When I want to use the dynamic > revision with Artifactory, I obtain an error, whereas I write the fully > revision, that works. > > The error : > > tried > http://$REPO_HTTP/intlibs/masternaut/com.masternaut.commongwt/[revision]/ivy-[revision].xml > listing all in > http://$REPO_HTTP/intlibs/masternaut/com.masternaut.commongwt/[revision]/ivy-[revision].xml > using shared to list all in > http://$REPO_HTTP/intlibs/masternaut/com.masternaut.commongwt/ > HTTP response status: 404 > url=http://$REPO_HTTP/intlibs/masternaut/com.masternaut.commongwt/ > CLIENT ERROR: Not Found > url=http://$REPO_HTTP/intlibs/masternaut/com.masternaut.commongwt/ > problem while listing resources in > http://$REPO_HTTP/intlibs/masternaut/com.masternaut.commongwt/ with > shared: > java.io.IOException The HTTP response code for > http://$REPO_HTTP/intlibs/masternaut/com.masternaut.commongwt/ did not > indicate a success. See log for more detail. > shared: unable to list resources for > masternaut#com.masternaut.commongwt;latest.integration: > pattern=http://$REPO_HTTP/intlibs/[organisation]/[module]/[revision]/ivy-[revision].xml > tried > http://$REPO_HTTP/intlibs/masternaut/com.masternaut.commongwt/[revision]/com.masternaut.commongwt-[revision].jar > listing all in > http://$REPO_HTTP/intlibs/masternaut/com.masternaut.commongwt/[revision]/com.masternaut.commongwt-[revision].jar > using shared to list all in > http://$REPO_HTTP/intlibs/masternaut/com.masternaut.commongwt/ > HTTP response status: 404 > url=http://$REPO_HTTP/intlibs/masternaut/com.masternaut.commongwt/ > CLIENT ERROR: Not Found > url=http://$REPO_HTTP/intlibs/masternaut/com.masternaut.commongwt/ > problem while listing resources in > http://$REPO_HTTP/intlibs/masternaut/com.masternaut.commongwt/ with > shared: > java.io.IOException The HTTP response code for > http://$REPO_HTTP/intlibs/masternaut/com.masternaut.commongwt/ did not > indicate a success. See log for more detail. > shared: unable to list resources for > masternaut#com.masternaut.commongwt;latest.integration: > pattern=http://$REPO_HTTP/intlibs/[organisation]/[module]/[revision]/[artifact]-[revision].[ext] > shared: no ivy file nor artifact found for > masternaut#com.masternaut.commongwt;latest.integration > > Artifactory is configured to disable the anonymous access. To publish and > read the repository, I configure my ivysettings like that : > <ivysettings> > > <!-- <property name="ivy.local.default.root" > value="${ivy.default.ivy.user.dir}/local" override="false" />--> > <!-- <property name="ivy.local.default.ivy.pattern" > value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]" > override="false" />--> > <!-- <property name="ivy.local.default.artifact.pattern" > value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]" > override="false" />--> > > <credentials host="$REPO_HTTP" realm="Artifactory Realm" > username="$USERNAME" passwd="$PASSWD" /> > > <settings defaultResolver="default" defaultConflictManager="all" /> > <include url="${ivy.default.settings.dir}/ivysettings-local.xml" /> > <resolvers> > <!-- > <filesystem name="local"> <ivy > pattern="${ivy.local.default.root}/${ivy.local.default.ivy.pattern}" /> > <artifact > > pattern="${ivy.local.default.root}/${ivy.local.default.artifact.pattern}" > /> </filesystem> > --> > <url name="shared" m2compatible="true" checkmodified="true"> > <ivy > pattern="http://$REPO_HTTP/intlibs/[organisation]/[module]/[revision]/ivy-[revision].xml" > /> > <artifact > pattern="http://$REPO_HTTP/intlibs/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" > /> > </url> > <url name="masternaut-repository-ext" m2compatible="true"> > <artifact > pattern="http://$REPO_HTTP/extlibs/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" > /> > </url> > <url name="nexus" m2compatible="true"> > <artifact > pattern="http://10.10.1.131:8081/nexus/content/groups/public/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" > /> > </url> > <ibiblio name="maven-public" m2compatible="true" /> > <chain name="default"> > <resolver ref="local" /> > <resolver ref="shared" /> > <resolver ref="masternaut-repository-ext" /> > </chain> > </resolvers> > > </ivysettings> > > When I enable the anonymous access, the dynamic revision works on my > Artifactory. Therefore there is security problem whereas the error shows a > 404 HTTP error. I guess there is maybe a bug in ApacheURLResolver (or > something like that) which does not use the credentials to list the > artifacts. > But there is maybe a problem in my configuration, if anyone can help me ? > > Thanks. > -- > View this message in context: > http://www.nabble.com/dynamic-revision-and-Artifactory-with-anonAccessEnabled-to-false-tp25888705p25888705.html > Sent from the ivy-user mailing list archive at Nabble.com. > > > > > -- View this message in context: http://www.nabble.com/dynamic-revision-and-Artifactory-with-anonAccessEnabled-to-false-tp25888705p25889900.html Sent from the ivy-user mailing list archive at Nabble.com.