title: ivy resolve dependencies from different settings
body: <p>i have configured my settings.xml in this way:</p>
  
  <h1>settings.xml</h1>
  
  <pre><code>&lt;ivysettings&gt;
      &lt;settings defaultResover="archiva"&gt;
          &lt;credentials host="host" realm="Repository Archiva Managed internal Repository" username="user" passwd="passwd" /&gt;
  
      &lt;/settings&gt;
      &lt;property name="ivy.shared.default.root" value="http://host.it/repository/internal/" override="false"/&gt;
      &lt;property name="ivy.shared.default.ivy.pattern" value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]" override="false"/&gt;
      &lt;property name="ivy.shared.default.artifact.pattern" value="[organisation]/[module]/[revision]/[type]s/[artifact].[ext]" override="false"/&gt;
  
      &lt;resolvers&gt;
          &lt;chain name="archiva"&gt;
              &lt;ibiblio name="ibiblio" m2compatible="true"/&gt;
              &lt;ibiblio name="archibib" root="http://host.it/repository/internal/" m2compatible="true"/&gt;
          &lt;/chain&gt;
      &lt;/resolvers&gt;    
      &lt;modules&gt;
          &lt;module organisation="annogen" name="annogen" resolver="archiva" /&gt;
          &lt;module organisation="commons-lang" name="commons-lang" resolver="archiva" /&gt;
          &lt;module organisation="commons-codec" name="commons-codec" resolver="archiva" /&gt;
          &lt;module organisation="commons-logging" name="commons-logging" resolver="archiva" /&gt;
          &lt;module organisation="geniogroup.bbi" name="resutil" resolver="archiva" /&gt;                      
      &lt;/modules&gt;
  
  &lt;/ivysettings&gt;
  </code></pre>
  
  <h1>Build.xml</h1>
  
  <pre><code>&lt;target name="resolve" description="--&gt; take dependencies"&gt; 
       &lt;ivy:settings id="dependency" file="archivaIvySetting.xml" /&gt;
       &lt;ivy:retrieve pattern="./lib" /&gt;
  &lt;/target&gt;
  </code></pre>
  
  <h1>log</h1>
  
  <blockquote>
  <pre><code>settings loaded (60ms)
  [ivy:retrieve]    default CACHE
  [ivy:retrieve]    default resolver: null
  [ivy:retrieve]    default latest strategy: latest-revision
  [ivy:retrieve]    default conflict manager: latest-revision
  [ivy:retrieve]    circular dependency strategy: warn
  [ivy:retrieve]    validate: true
  [ivy:retrieve]    check up2date: true
  [ivy:retrieve]    -- 1 resolvers:
  [ivy:retrieve]    archiva [ibiblio]
  [ivy:retrieve]        cache: null
  [ivy:retrieve]        m2compatible: true
  [ivy:retrieve]        ivy patterns:
  [ivy:retrieve]            http://host.it/repository/internal/[organisation]
  </code></pre>
    
    <p>/[module]/[revision]/[artifact]-revision.[ext] </p>
  
  <pre><code>[ivy:retrieve]        artifact patterns:
  [ivy:retrieve]            http://host.it/repository/internal/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext] 
  
  [ivy:retrieve]        repository: archiva
  [ivy:retrieve]        root: http://host.it/repository/internal/
  [ivy:retrieve]        pattern: [organisation]/[module]/[revision]/[artifact]- [revision](-[classifier]).[ext] 
  [ivy:retrieve]        usepoms: true
  [ivy:retrieve]        useMavenMetadata: true
  [ivy:retrieve]    module settings:
  [ivy:retrieve]        NONE......
  
  .......[ivy:retrieve] post 1.3 ivy file: using exact as default matcher
  [ivy:retrieve] :: resolving dependencies :: geniogroup.bbi#bpsxml;1.0
  [ivy:retrieve]    confs: [default]
  [ivy:retrieve]    validate = true
  [ivy:retrieve]    refresh = false
  [ivy:retrieve] resolving dependencies for configuration 'default'
  [ivy:retrieve] == resolving dependencies for.....
  
  .......[ivy:retrieve] :::: ERRORS
  [ivy:retrieve]    unknown resolver null
  [ivy:retrieve]    no resolver found for annogen#annogen: check your configuration
  </code></pre>
  </blockquote>
  
  <p>i don't understand what's wrong, i have write a resolver , i have set my settinggs for the retrieve task, but it seems that it didn't read the resolver, is there something wrong?</p>
  
  <h1>Update</h1>
  
  <p>adding the modules task inside the settings now it retrieve the jar files, but i don't understand why i'm not able to save the jar in my workspace.</p>