title: Maven can't find artifacts
body: <p>After I'd searched the net and similar StackOverflow questions and tried to apply the proposed sollutions I didn't come up with an idea how to fix this error, which gives me pom.xml:</p>
  <pre><code>Multiple annotations found at this line:
  - Missing artifact jakarta.json:jakarta.json-
   api:jar:2.0.0-RC3
  - Missing artifact org.glassfish.hk2:hk2-
   locator:jar:3.0.0-M2
  - Missing artifact org.glassfish:jakarta.json:jar:2.0.0-
   RC3
  </code></pre>
  <p>pom.xml:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  
  &lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; 
  xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 //error appears here 
  http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  &lt;groupId&gt;org.gson&lt;/groupId&gt;
  &lt;artifactId&gt;advanced-jaxrs-01&lt;/artifactId&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  &lt;packaging&gt;war&lt;/packaging&gt;
  
  &lt;name&gt;advanced-jaxrs-01 Maven Webapp&lt;/name&gt;
  &lt;!-- FIXME change it to the project's website --&gt;
  &lt;url&gt;http://www.example.com&lt;/url&gt;
  
  &lt;properties&gt;
    &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
    &lt;maven.compiler.source&gt;1.7&lt;/maven.compiler.source&gt;
    &lt;maven.compiler.target&gt;1.7&lt;/maven.compiler.target&gt;
  &lt;/properties&gt;
  
  &lt;dependencies&gt;
  &lt;!-- https://mvnrepository.com/artifact/org.glassfish.jersey.media/jersey-
  media-moxy --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.glassfish.jersey.media&lt;/groupId&gt;
      &lt;artifactId&gt;jersey-media-moxy&lt;/artifactId&gt;
      &lt;version&gt;3.0.0-M6&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;!-- 
  https://mvnrepository.com/artifact/org.glassfish.jersey.bundles/jaxrs-ri - 
  -&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;org.glassfish.jersey.bundles&lt;/groupId&gt;
      &lt;artifactId&gt;jaxrs-ri&lt;/artifactId&gt;
      &lt;version&gt;3.0.0-M6&lt;/version&gt;
      &lt;scope&gt;provided&lt;/scope&gt;
  &lt;/dependency&gt;
  
  &lt;/dependencies&gt;
  
  &lt;build&gt;
    &lt;finalName&gt;advanced-jaxrs-01&lt;/finalName&gt;
    &lt;pluginManagement&gt;&lt;!-- lock down plugins versions to avoid using Maven 
     defaults (may be moved to parent pom) --&gt;
    &lt;plugins&gt;
      &lt;plugin&gt;
        &lt;artifactId&gt;maven-clean-plugin&lt;/artifactId&gt;
        &lt;version&gt;3.1.0&lt;/version&gt;
      &lt;/plugin&gt;
      &lt;!-- see http://maven.apache.org/ref/current/maven-core/default- 
  bindings.html#Plugin_bindings_for_war_packaging --&gt;
      &lt;plugin&gt;
        &lt;artifactId&gt;maven-resources-plugin&lt;/artifactId&gt;
        &lt;version&gt;3.0.2&lt;/version&gt;
      &lt;/plugin&gt;
      &lt;plugin&gt;
        &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
        &lt;version&gt;3.8.0&lt;/version&gt;
      &lt;/plugin&gt;
      &lt;plugin&gt;
        &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
        &lt;version&gt;2.22.1&lt;/version&gt;
      &lt;/plugin&gt;
      &lt;plugin&gt;
        &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
        &lt;version&gt;3.2.2&lt;/version&gt;
      &lt;/plugin&gt;
      &lt;plugin&gt;
        &lt;artifactId&gt;maven-install-plugin&lt;/artifactId&gt;
        &lt;version&gt;2.5.2&lt;/version&gt;
      &lt;/plugin&gt;
      &lt;plugin&gt;
        &lt;artifactId&gt;maven-deploy-plugin&lt;/artifactId&gt;
        &lt;version&gt;2.8.2&lt;/version&gt;
      &lt;/plugin&gt;
    &lt;/plugins&gt;
  &lt;/pluginManagement&gt;
  </code></pre>
    
  
  <p>I've had a look at .m2/repository and I've noticed, that there are files maven can't find. What should I do? What's the matter?</p>