title: Java Repository of Eclipse with Maven : Missing artifact:compile
body: <p>I am trying to intigrate <code>jersey-server</code> and the <code>grizzly-servlet-webserver</code> into my Maven Webapp to try a hellworld with <code>JAX-RS</code>. Unfortunately the Jersey and Grizzly dependencies are trouble and not working.</p>
  
  <p>I tried deleting the <code>.m2</code> folder because I thought it might be corrupted which did not help. I added other dependencies like jsoup which works fine. In the log it actually downloads jersey-server from the repository so its not a networking issue.</p>
  
  <p>Can anybody help me? I am really stuck!</p>
  
  <p><strong>My Eclipse Log:</strong></p>
  
  <pre><code>14.07.11 18:31:33 MESZ: Refreshing [/server/pom.xml]
  14.07.11 18:31:33 MESZ: Missing artifact com.sun.jersey:jersey-server:jar:1.8:compile
  14.07.11 18:31:33 MESZ: Missing artifact com.sun.grizzly:grizzly-servlet-webserver:jar:1.9.18-i:compile
  14.07.11 18:31:33 MESZ: Missing artifact com.sun.grizzly:grizzly-utils:jar:1.9.18-i:compile
  14.07.11 18:31:33 MESZ: Maven Builder: AUTO_BUILD 
  14.07.11 18:31:42 MESZ: Updated index for central|http://repo1.maven.org/maven2
  </code></pre>
  
  <p>... an earlier part where it downloads:</p>
  
  <pre><code>.07.11 18:08:25 MESZ: Downloaded http://download.java.net/maven/2/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom
  14.07.11 18:08:26 MESZ: Downloading http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom
  14.07.11 18:08:26 MESZ: Downloaded http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.5/servlet-api-2.5.pom
  14.07.11 18:08:27 MESZ: Downloading http://download.java.net/maven/2/com/sun/jersey/jersey-server/1.8/jersey-server-1.8.jar
  14.07.11 18:08:27 MESZ: Downloaded http://download.java.net/maven/2/asm/asm/3.1/asm-3.1.jar
  14.07.11 18:08:28 MESZ: Downloading http://download.java.net/maven/2/com/sun/jersey/jersey-core/1.8/jersey-core-1.8.jar
  14.07.11 18:08:29 MESZ: Downloading http://download.java.net/maven/2/com/sun/grizzly/grizzly-servlet-webserver/1.9.18-i/grizzly-servlet-webserver-1.9.18-i.jar
  14.07.11 18:08:30 MESZ: Downloading http://download.java.net/maven/2/com/sun/grizzly/grizzly-http/1.9.18-i/grizzly-http-1.9.18-i.jar
  14.07.11 18:08:31 MESZ: Downloading http://download.java.net/maven/2/com/sun/grizzly/grizzly-framework/1.9.18-i/grizzly-framework-1.9.18-i.jar
  14.07.11 18:08:33 MESZ: Downloading http://download.java.net/maven/2/com/sun/grizzly/grizzly-rcm/1.9.18-i/grizzly-rcm-1.9.18-i.jar
  14.07.11 18:08:34 MESZ: Downloaded http://download.java.net/maven/2/com/sun/grizzly/grizzly-rcm/1.9.18-i/grizzly-rcm-1.9.18-i.jar
  14.07.11 18:08:35 MESZ: Downloading http://download.java.net/maven/2/com/sun/grizzly/grizzly-portunif/1.9.18-i/grizzly-portunif-1.9.18-i.jar
  14.07.11 18:08:37 MESZ: Downloading http://download.java.net/maven/2/com/sun/grizzly/grizzly-http-servlet/1.9.18-i/grizzly-http-servlet-1.9.18-i.jar
  14.07.11 18:08:37 MESZ: Downloading http://download.java.net/maven/2/com/sun/grizzly/grizzly-utils/1.9.18-i/grizzly-utils-1.9.18-i.jar
  14.07.11 18:08:38 MESZ: Downloaded http://download.java.net/maven/2/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
  </code></pre>
  
  <p><strong>POM.XML</strong></p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.e.api&lt;/groupId&gt;
      &lt;artifactId&gt;server&lt;/artifactId&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
      &lt;name&gt;server Maven Webapp&lt;/name&gt;
      &lt;url&gt;http://maven.apache.org&lt;/url&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;junit&lt;/groupId&gt;
              &lt;artifactId&gt;junit&lt;/artifactId&gt;
              &lt;version&gt;3.8.1&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.sun.jersey&lt;/groupId&gt;
              &lt;artifactId&gt;jersey-server&lt;/artifactId&gt;
              &lt;version&gt;1.8&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.sun.grizzly&lt;/groupId&gt;
              &lt;artifactId&gt;grizzly-servlet-webserver&lt;/artifactId&gt;
              &lt;version&gt;1.9.18-i&lt;/version&gt;
          &lt;/dependency&gt;
      &lt;/dependencies&gt;
  &lt;build&gt;
      &lt;finalName&gt;server&lt;/finalName&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
              &lt;artifactId&gt;maven-jetty-plugin&lt;/artifactId&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;maven2-repository.java.net&lt;/id&gt;
              &lt;name&gt;Java.net Repository for Maven&lt;/name&gt;
              &lt;url&gt;http://download.java.net/maven/2/&lt;/url&gt;
              &lt;layout&gt;default&lt;/layout&gt;
          &lt;/repository&gt;
          &lt;repository&gt;
              &lt;id&gt;maven-repository.java.net&lt;/id&gt;
              &lt;name&gt;Java.net Maven 1 Repository (legacy)&lt;/name&gt;
              &lt;url&gt;http://download.java.net/maven/1&lt;/url&gt;
              &lt;layout&gt;legacy&lt;/layout&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
  &lt;/project&gt;
  </code></pre>