title: Maven isn't working in eclipse but in console. Why?
body: <p>I have a problem with the integrated maven eclipse plugin (m2e). I am using eclipse oxygen and maven 3.5.2.
  Eclipse isn't downloading any dependencies desclared in the pom.xml of a project, nor it is building any projects. But if I build the project via console commands it is working propperly!</p>
  
  <p>First I thought it is a proxy problem but I configured the proxy in eclipse like that:</p>
  
  <p><a href="https://i.stack.imgur.com/TFz78.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TFz78.jpg" alt="eclipse network connection dialog"></a></p>
  
  <p>I also tried to change the "Active Provider" but nothing worked.</p>
  
  <p>The next try was to put the proxy information in the maven settings.xml and even that did not do the trick.</p>
  
  <p>My settings.xml looks like that:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
  &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;proxies&gt;
   &lt;proxy&gt;
     &lt;id&gt;msgProxy&lt;/id&gt;
     &lt;active&gt;true&lt;/active&gt;
     &lt;protocol&gt;http&lt;/protocol&gt;
     &lt;host&gt;i.do.not.tell.you&lt;/host&gt;
     &lt;port&gt;1234&lt;/port&gt;
     &lt;nonProxyHosts&gt;localhost|127.0.0.1&lt;/nonProxyHosts&gt;
   &lt;/proxy&gt;
  &lt;/proxies&gt;
  &lt;profiles/&gt;
  
  
  &lt;/settings&gt;
  </code></pre>
  
  <p>The eclipse maven installations Dialoge, looks like that:</p>
  
  <p><a href="https://i.stack.imgur.com/yMOyB.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yMOyB.jpg" alt="maven installation dialog"></a></p>
  
  <p>If I try to create a new Maven Project from an archetype, this error messages appears:</p>
  
  <pre><code>Could not resolve archetype org.apache.maven.archetypes:maven-archetype-
  webapp:1.0 from any of the configured repositories.
  Could not resolve artifact org.apache.maven.archetypes:maven-archetype-
  webapp:pom:1.0
  Failure to transfer org.apache.maven.archetypes:maven-archetype-
  webapp:pom:1.0 from https://repo.maven.apache.org/maven2 was cached in the 
  local repository, resolution will not be reattempted until the update 
  interval of central has elapsed or updates are forced. Original error: Could 
  not transfer artifact org.apache.maven.archetypes:maven-archetype-
  webapp:pom:1.0 from/to central (https://repo.maven.apache.org/maven2): 
  connect timed out
  Failure to transfer org.apache.maven.archetypes:maven-archetype-
  webapp:pom:1.0 from https://repo.maven.apache.org/maven2 was cached in the 
  local repository, resolution will not be reattempted until the update 
  interval of central has elapsed or updates are forced. Original error: Could 
  not transfer artifact org.apache.maven.archetypes:maven-archetype-
  webapp:pom:1.0 from/to central (https://repo.maven.apache.org/maven2): 
  connect timed out
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/jTtiY.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jTtiY.jpg" alt="error message in eclipse, while fetching maven archetypes"></a></p>
  
  <p>If I start to update a project, it seems maven needs for ever to download something...</p>
  
  <p><a href="https://i.stack.imgur.com/eekp7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eekp7.jpg" alt="Long download process"></a></p>
  
  <p>Do you have any advices left for me? If yes, I would be very thankful for it.</p>
  
  <p>Thanks in advance.</p>