title: Maven error on dependency: missing artifact
body: <p>I asked this question yesterday and it turned out to be a Maven issue. Although I was able to find a workaround (going with Geronimo instead of Java JMS) I was unable to figure out why the Java JMS solution isn't working.</p>
  
  <p>I don't like to duplicate questions, but I don't believe this is a dupe because it is an entirely different original question.</p>
  
  <p>So, I am trying to get JMS working with my application so I can push messages to a local queue. In my Maven <code>pom.xml</code> I add the following dependency declaration:</p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;javax.jms&lt;/groupId&gt;
          &lt;artifactId&gt;jms&lt;/artifactId&gt;
          &lt;version&gt;1.1&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>And right off the bat get a (red) highlighted error (<strong>using Eclipse</strong>) stating:</p>
  
  <blockquote>
    <p>Missing artifact javax.jms:jms:jar:1.1</p>
  </blockquote>
  
  <p>When I replace this with another JMS API, such as Geronimo, the error goes away. Is this a problem with the reference (Java) JMS dependency? Or is something configured wrong in my sandbox?</p>