Hello. I try to copy (i.e. "install") files from a password-protected "ibiblio" repository to a "filesystem" repository. But I'm stuck with a 401 response.
Below is the relevant part of the output using the '-d' switch. ---CUT--- [...] credentials added: gaia.esac.esa.int cudev/********** [...] [ivy:install] == resolving dependencies apache#ivy-install;1.0->gaia.cu1.tools#GaiaTools;6.0 [default->*] [ivy:install] loadData of gaia.cu1.tools#GaiaTools;6.0 of rootConf=default [ivy:install] using gaia to resolve gaia.cu1.tools#GaiaTools;6.0 [ivy:install] no ivy file in cache for gaia.cu1.tools#GaiaTools;6.0: tried /home/dummy/ivy/cache/gaia.cu1.tools/GaiaTools/ivy-6.0.xml [ivy:install] trying http://gaia.esac.esa.int/nexus/content/repositories/gaiacentral/gaia/cu1/tools/GaiaTools/6.0/GaiaTools-6.0.pom [ivy:install] tried http://gaia.esac.esa.int/nexus/content/repositories/gaiacentral/gaia/cu1/tools/GaiaTools/6.0/GaiaTools-6.0.pom [ivy:install] authentication: k='Sonatype Nexus Repository [email protected]' c='null' [ivy:install] HTTP response status: 401 url=http://gaia.esac.esa.int/nexus/content/repositories/gaiacentral/gaia/cu1/tools/GaiaTools/6.0/GaiaTools-6.0.pom [ivy:install] CLIENT ERROR: Unauthorized url=http://gaia.esac.esa.int/nexus/content/repositories/gaiacentral/gaia/cu1/tools/GaiaTools/6.0/GaiaTools-6.0.pom [ivy:install] gaia: resource not reachable for gaia/cu1/tools#GaiaTools;6.0: res=http://gaia.esac.esa.int/nexus/content/repositories/gaiacentral/gaia/cu1/tools/GaiaTools/6.0/GaiaTools-6.0.pom [ivy:install] trying http://gaia.esac.esa.int/nexus/content/repositories/gaiacentral/gaia/cu1/tools/GaiaTools/6.0/GaiaTools-6.0.jar [ivy:install] tried http://gaia.esac.esa.int/nexus/content/repositories/gaiacentral/gaia/cu1/tools/GaiaTools/6.0/GaiaTools-6.0.jar [ivy:install] authentication: k='Sonatype Nexus Repository [email protected]' c='null' [ivy:install] HTTP response status: 401 url=http://gaia.esac.esa.int/nexus/content/repositories/gaiacentral/gaia/cu1/tools/GaiaTools/6.0/GaiaTools-6.0.jar [ivy:install] CLIENT ERROR: Unauthorized url=http://gaia.esac.esa.int/nexus/content/repositories/gaiacentral/gaia/cu1/tools/GaiaTools/6.0/GaiaTools-6.0.jar [ivy:install] gaia: resource not reachable for gaia/cu1/tools#GaiaTools;6.0: res=http://gaia.esac.esa.int/nexus/content/repositories/gaiacentral/gaia/cu1/tools/GaiaTools/6.0/GaiaTools-6.0.jar [ivy:install] gaia: no ivy file nor artifact found for gaia.cu1.tools#GaiaTools;6.0 [ivy:install] WARN: module not found: gaia.cu1.tools#GaiaTools;6.0 [ivy:install] WARN: ==== gaia: tried [ivy:install] WARN: http://gaia.esac.esa.int/nexus/content/repositories/gaiacentral/gaia/cu1/tools/GaiaTools/6.0/GaiaTools-6.0.pom [ivy:install] WARN: -- artifact gaia.cu1.tools#GaiaTools;6.0!GaiaTools.jar: [ivy:install] WARN: http://gaia.esac.esa.int/nexus/content/repositories/gaiacentral/gaia/cu1/tools/GaiaTools/6.0/GaiaTools-6.0.jar [ivy:install] Nbr of module to sort : 0 [...] ---CUT--- My ivy "settings" file contains a <credentials> tag, and the info there is correct because I can connect to the repository with a web browser using the same username and password. In particular, in the above log excerpt, I can't understand the lines saying: authentication: k='Sonatype Nexus Repository [email protected]' c='null' What is 'k' and what is 'c'? Why doesn't ivy use the username and password? Thanks, Gilles
