title: Eclipse maven missing artifact that exists locally
body: <p>I'm somewhat new to using maven dependencies, and I'm having some trouble making Eclipse with maven find needed artifacts.</p>
  
  <p>I followed a tutorial online and got a perfectly working project with some maven dependencies. Now I started a new one, with some of the same dependencies of the tutorial project, but Eclipse says it can't find them. The actual messages are in the form "Missing artifact <strong>JAR NAME:VERSION</strong>".</p>
  
  <p>To make it worse, the repository I downloaded the jars from seems to be offline currently. But anyway, I don't think it's reasonable to download files I already have.</p>
  
  <p>I checked that all the needed jars are under my <code>HOME/.m2/repository/</code> folder. I tried running <strong>Maven / Update Project</strong> with the offline option, and it didn't help.</p>
  
  <p>I also tried to find if any files in the working project had any path pointing to my local repository folder, and I couldn't find anything. The <code>.classpath</code> file is essentially the same in both projects.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Here's the output of <code>mvn compile</code> on the project:</p>
  
  <pre><code>[INFO] Scanning for projects...
  [INFO]
  [INFO] ------------------------------------------------------------------------
  [INFO] Building Maven Test 0.0.1-SNAPSHOT
  [INFO] ------------------------------------------------------------------------
  Downloading: https://repo.maven.apache.org/maven2/eu/excitementproject/core/1.2.0/core-1.2.0.pom
  [WARNING] The POM for eu.excitementproject:core:jar:1.2.0 is missing, no dependency information available
  Downloading: https://repo.maven.apache.org/maven2/eu/excitementproject/common/1.2.0/common-1.2.0.pom
  [WARNING] The POM for eu.excitementproject:common:jar:1.2.0 is missing, no dependency information available
  Downloading: https://repo.maven.apache.org/maven2/eu/excitementproject/util/1.2.0/util-1.2.0.pom
  [WARNING] The POM for eu.excitementproject:util:jar:1.2.0 is missing, no dependency information available
  Downloading: https://repo.maven.apache.org/maven2/eu/excitementproject/core/1.2.0/core-1.2.0.jar
  Downloading: https://repo.maven.apache.org/maven2/eu/excitementproject/util/1.2.0/util-1.2.0.jar
  Downloading: https://repo.maven.apache.org/maven2/eu/excitementproject/common/1.2.0/common-1.2.0.jar
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 2.785 s
  [INFO] Finished at: 2015-07-28T23:43:38-03:00
  [INFO] Final Memory: 8M/123M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal on project mvntest: Could not resolve dependencies for project mvntest:mvntest:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: eu.excitementproject:core:jar:1.2.0, eu.excitementproject:common:jar:1.2.0, eu.excitementproject:util:jar:1.2.0: Could not find artifact eu.excitementproject:core:jar:1.2.0 in central (https://repo.maven.apache.org/maven2) -&gt; [Help 1]
  [ERROR]
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR]
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
  </code></pre>
  
  <p>I don't know what the POM for the needed artifacts is supposed to be. Running <code>mvn compile</code> on the other project I had returned no errors, even having some dependencies in common. </p>
  
  <p><strong>In my local repository...</strong></p>
  
  <p>Under <code>~/.m2/repository</code>, I do have the required jars. For example, the folder <code>~\.m2\repository\eu\excitementproject\core\1.2.0</code> contains the jar for eu.excitementproject:core:jar:1.2.0, and inside the archive there is a pom.xml under <code>META-INF\maven\eu.excitementproject\core</code></p>