title: How to copy runtime libraries without the provided ones in IVY
body: <p>I thought I wouldn't need to ask this but I am not having any progress.</p>
  
  <p>The solution to this question:
  <a href="https://stackoverflow.com/questions/7104364/how-are-maven-scopes-mapped-to-ivy-configurations-by-ivy">How are maven scopes mapped to ivy configurations by ivy</a> actually addresses question but in its theoretical part.</p>
  
  <p>I have this configuration:</p>
  
  <pre><code>&lt;conf name="compile"  description="???" /&gt;
  &lt;conf name="runtime"  description="???" extends="compile" /&gt;
  &lt;conf name="test"     description="???" extends="runtime" /&gt;
  &lt;conf name="provided" description="???" /&gt;
  </code></pre>
  
  <p>Assume I have this dependency:</p>
  
  <pre><code>&lt;dependency org="org.apache.tomcat" name="servlet-api" rev="6.0.16" transitive="false" /&gt;
  </code></pre>
  
  <p>What I want is: when I invoke the ivy:retrieve to copy the libraries to the .war lib directory before bundling it, I want only to copy all runtime (and compile implicitly) but no servlet-api.</p>
  
  <p>so how to use ivy:retrieve then?</p>
  
  <pre><code>&lt;ivy:retrieve conf="WHAT_TO_PUT_HERE" /&gt;
  </code></pre>
  
  <p>and how to configure the dependency:</p>
  
  <pre><code>&lt;dependency conf="WHAT_IS_THE_CONF_MAPPING" org="org.apache.tomcat" name="servlet-api" rev="6.0.16" transitive="false" /&gt;
  </code></pre>
  
  <p>I'm plateauing here, so please any help would be appreciated.</p>
  
  <p>Knowing that the ivy.xml for servlet-api defines the artifact with</p>
  
  <pre><code>conf="master"
  </code></pre>
  
  <p>So I think the question is how to 'really' map Provided scope of maven to the provided configuration of IVY.</p>