title: ivy:install from maven with classifiers
body: <p>I'm trying to ivy:install jogl and gluegen from maven to my local depository.  I cannot get the native dependencies to install correctly.</p>
  
  <p>My ivysettings is</p>
  
  <pre><code>&lt;ivysettings&gt;
      &lt;settings defaultResolver="central"
              defaultConflictManager="all"
      /&gt;
      &lt;caches defaultCacheDir="${ivy.cache.dir}"
              artifactPattern="[organisation]/[module]/[type]s/[artifact]-[revision](-[classifier]).[ext]" 
      /&gt;
      &lt;resolvers&gt;
          &lt;ibiblio name="central" m2compatible="true"
                   pattern="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
          /&gt;
          &lt;filesystem name="depository"&gt;
              &lt;ivy pattern="${dest.repo.dir}/[organisation]/[module]/ivys/ivy-[revision](-[classifier]).xml" /&gt;
              &lt;artifact pattern="${dest.repo.dir}/[organisation]/[module]/[type]s/[artifact]-[revision](-[classifier]).[ext]" /&gt;
          &lt;/filesystem&gt;
      &lt;/resolvers&gt;
  &lt;/ivysettings&gt;
  </code></pre>
  
  <p>My install target is</p>
  
  <pre><code>&lt;ivy:install settingsRef="ivy.settings" 
      organisation="org.jogamp.jogl" module="jogl-all-main" revision="2.1.5-01"
      from="${from.resolver}" to="${to.resolver}" transitive="true" overwrite="true" /&gt;
  </code></pre>
  
  <p>where from.resolver is <code>central</code> and to.resolver is <code>depository</code>.</p>
  
  <p>The classifiers are e.g., native-windows-i586, native-linux-armv6, etc.  The pom file in question is at <a href="http://repo1.maven.org/maven2/org/jogamp/jogl/jogl-all-main/2.1.5-01/jogl-all-main-2.1.5-01.pom">http://repo1.maven.org/maven2/org/jogamp/jogl/jogl-all-main/2.1.5-01/jogl-all-main-2.1.5-01.pom</a></p>
  
  <p>I correctly resolve jogl-all-main.  When the dependencies are resolved, only the last one in the pom file is resolved, namely jogl-all-2.1.5-01-natives-windows-i586.jar.  Is there any way to use the ivy:install task to install to my local depository from the maven central repository?</p>