title: Classifiers not working in Maven Snapshot repo for IVY
body: <p>So I have got my Maven build deploying both Java5 and Java6 versions to my snapshot repo (Nexus). I do this with build profiles and classifiers. All is good in the Maven side of things. </p>
  
  <p>However, if I try to resolve the Java5 dependency from my IVY based project it will not work if the most recent Maven deploy was for the Java6 profile/classifier. I guess this is because the timestamp in <code>maven-metadata.xml</code> picks out the Java6 version. It does work if the most recent deploy was for Java5.</p>
  
  <p>This is the resolver:</p>
  
  <pre><code>&lt;ibiblio name="snapshot-repo-name"
                   m2compatible="true"
                   root="snapshot-repo-root"
                   pattern="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"
                   usepoms="true"
                   checkmodified="true"
                   changingPattern=".*SNAPSHOT"/&gt;
  </code></pre>
  
  <p>Deploying Java6 of the dependency therefore breaks the build of IVY-built application.</p>