title: Maven dependency for Servlet 3.0 API?
body: <p>How can I tell Maven 2 to load the Servlet 3.0 API?</p>
  
  <p>I tried:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;dependency&gt;
      &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
      &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
      &lt;version&gt;3.0&lt;/version&gt;
      &lt;scope&gt;provided&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>I use <a href="http://repository.jboss.com/maven2/" rel="noreferrer">http://repository.jboss.com/maven2/</a> but what repository would be correct?</p>
  
  <p><strong>Addendum:</strong></p>
  
  <p>It works with a dependency for the entire Java EE 6 API and the following settings:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;repository&gt;
      &lt;id&gt;java.net&lt;/id&gt;
      &lt;url&gt;http://download.java.net/maven/2&lt;/url&gt;
  &lt;/repository&gt;
  
  &lt;dependency&gt;
      &lt;groupId&gt;javax&lt;/groupId&gt;
      &lt;artifactId&gt;javaee-api&lt;/artifactId&gt;
      &lt;version&gt;6.0&lt;/version&gt;
      &lt;scope&gt;provided&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>I'd prefer to only add the Servlet API as dependency, but "Brabster" may be right that separate dependencies have been replaced by Java EE 6 Profiles. Is there a source that confirms this assumption?</p>