Note that there are some explanatory texts on larger screens.

plurals
  1. POEclipse 3.7 (Indigo): How to add a remote Maven 2 repository mirror
    text
    copied!<p>I recently installed Eclipse 3.7 (Indigo) and now a wanted to start a new project using the integrated Maven plugins. <br> <br>Problem is, I can't download any dependencies from the central maven 2 repository <a href="http://repo1.maven.org/maven2" rel="nofollow noreferrer">http://repo1.maven.org/maven2</a> <br>After creating a new simple Maven project (without an archetype), i constantly get these Error messages:</p> <ul> <li><em>Description Resource Path Location Type CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2: ArtifactResolutionException: The repository system is offline but the artifact org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 is not available in the local repository. pom.xml /JAVA line 1 Maven Project Build Lifecycle Mapping Problem</em></li> <li><em>Description Resource Path Location Type Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.4.3 pom.xml /JAVA line 1 Maven Build Problem</em></li> <li><em>Description Resource Path Location Type Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (execution: default-compile, phase: compile) pom.xml /JAVA line 1 Maven Project Build Lifecycle Mapping Problem</em></li> <li><em>Description Resource Path Location Type Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (execution: default-testCompile, phase: test-compile) pom.xml /JAVA line 1 Maven Project Build Lifecycle Mapping Problem</em></li> </ul> <p>Using an archetype doesn't work at all.</p> <p>Am I right to just add another repository mirror to get the needed dependencies? <br>If so, how do I add another one? <hr> <strong>Update:</strong> I wrote a <em>D:\Users\.m2\settings.xml</em> manually and the m2e-plugin recognized it correctly:</p> <pre><code>&lt;settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"&gt; &lt;localRepository/&gt; &lt;interactiveMode/&gt; &lt;usePluginRegistry/&gt; &lt;offline/&gt; &lt;pluginGroups/&gt; &lt;servers/&gt; &lt;mirrors&gt; &lt;mirror&gt; &lt;id&gt;dotsrc.org&lt;/id&gt; &lt;url&gt;http://mirrors.dotsrc.org/maven2&lt;/url&gt; &lt;mirrorOf&gt;central&lt;/mirrorOf&gt; &lt;/mirror&gt; &lt;/mirrors&gt; &lt;proxies/&gt; &lt;profiles/&gt; &lt;activeProfiles/&gt; &lt;/settings&gt; </code></pre> <p>Problem is: I can't find a complete mirror of the Maven central repository. I tried every single one I could find on the net, but all are missing some dependencies, archetypes, etc.</p> <p>Any help out there?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload