title: The following artifacts could not be resolved: javax.jms:jms:jar:1.1
body: <p>I am trying to compile a maven project, but I systematically get the following error message:</p>
  
  <pre><code>[ERROR]Failed to execute goal on project ...:
  Could not resolve dependencies for project ...:war:1.0.0:
  The following artifacts could not be resolved: javax.jms:jms:jar:1.1,
  com.sun.jdmk:jmxtools:jar:1.2.1, com.sun.jmx:jmxri:jar:1.2.1:
  Failure to find javax.jms:jms:jar:1.1 in http://mirrors.ibiblio.org/maven2/
    was cached in the local repository, resolution will not be reattempted until
    the update interval of maven2-repository.ibiblio.mirror has elapsed or
    updates are forced -&gt; [Help 1]
  </code></pre>
  
  <p>I know about <a href="http://khmarbaise.github.io/maven-site/reflow/guides/mini/guide-coping-with-sun-jars.html" rel="nofollow noreferrer">this maven post about Sun jars</a>, but it does not solve the problem.</p>
  
  <p>Is there a repository I can specify in my <code>pom.xml</code>?</p>