title: eclipse (kepler): maven plugin (m2e, 1.4.0):
body: <p>I just downloaded and installed the "Eclipse IDE for Java EE Developers", a package solution coming with - among other plugins - the m2e plugin.</p>
  
  <p>When trying to rebuild the index for the maven central repository within Eclipse, I get the following error:  </p>
  
  <blockquote>
    <p>"Unable to update index for central|http:
    //repo.maven.apache.org/maven2:
    [...]/.m2/repository/.cache/[...]/nexus-maven-repository-index.zip
    (Datei oder Verzeichnis nicht gefunden)"</p>
  </blockquote>
  
  <p>Checking that cache, I find a file "nexus-maven-repository-index.gz", but no zip-file.</p>
  
  <p>Did I miss some configuration option for the maven plugin?<br>
  If not, what is going wrong?<br>
  (At central.maven.org/maven2/.index/ there's only a gz-file. So why is m2e searching for a zip-file?)</p>
  
  <p>Thank you very for your help much in advance.</p>
  
  <p>Further details:</p>
  
  <ol>
  <li><p>Platform</p>
  
  <p>[alqais@kroete ~]$ uname --all<br>
  Linux kroete 3.14.1-1-ARCH #1 SMP PREEMPT Mon Apr 14 21:01:08 CEST 2014 i686 GNU/Linux</p></li>
  <li><p>Eclipse-Version</p>
  
  <p>www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/keplersr2<br>
  linux 32 bit: eclipse-jee-kepler-SR2-linux-gtk.tar.gz</p></li>
  <li><p>JRE</p>
  
  <p>www.java.com/en/download/linux_manual.jsp<br>
  linux 32 bit: jre-7u55-linux-i586.tar.gz</p></li>
  <li><p>Eclipse Log (Console)</p></li>
  </ol>
  
  <blockquote>
    <p>[alqais@kroete eclipse]$ ./eclipse -consoleLog<br>
        [...]<br>
        2014-04-25 00:39:42,681 [Worker-1] INFO  o.e.m.c.i.i.nexus.NexusIndexManager -  Updating index for repository:
    central|http: //repo.maven.apache.org/maven2<br>
        2014-04-25 00:39:42,889 [Worker-1] INFO  c.n.h.c.p.n.NettyAsyncHttpProvider - Number of application's worked
    threads is 2<br>
        2014-04-25 00:41:48,619 [Worker-1] ERROR o.e.m.c.i.i.nexus.NexusIndexManager - Unable to update index for
    central|http: //repo.maven.apache.org/maven2:
    /home/alqais/.m2/repository/.cache/m2e/1.4.0/26522e0d83a422eed93329ece7565cfc/nexus-maven-repository-index.zip
    (Datei oder Verzeichnis nicht gefunden)<br>
        java.io.FileNotFoundException: /home/alqais/.m2/repository/.cache/m2e/1.4.0/26522e0d83a422eed93329ece7565cfc/nexus-maven-repository-index.zip
    (Datei oder Verzeichnis nicht gefunden)<br>
          at java.io.FileInputStream.open(Native Method) ~[na:1.7.0_55]<br>
          at java.io.FileInputStream.(Unknown Source) ~[na:1.7.0_55]<br>
          at org.apache.maven.index.updater.DefaultIndexUpdater$FileFetcher.retrieve(DefaultIndexUpdater.java:568)
    ~[indexer-core-3.1.0.jar:3.1.0]<br>
          at org.apache.maven.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:206)
    ~[indexer-core-3.1.0.jar:3.1.0]<br>
          at org.apache.maven.index.updater.DefaultIndexUpdater.access$300(DefaultIndexUpdater.java:75)
    ~[indexer-core-3.1.0.jar:3.1.0]<br>
          at org.apache.maven.index.updater.DefaultIndexUpdater$LuceneIndexAdaptor.setIndexFile(DefaultIndexUpdater.java:645)
    ~[indexer-core-3.1.0.jar:3.1.0]<br>
          at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:844)
    ~[indexer-core-3.1.0.jar:3.1.0]<br>
          at org.apache.maven.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:156)
    ~[indexer-core-3.1.0.jar:3.1.0]<br>
          at org.eclipse.m2e.core.internal.index.nexus.NexusIndexManager.updateRemoteIndex(NexusIndexManager.java:1139)
    [org.eclipse.m2e.core_1.4.0.20130601-0317.jar:na]<br>
          at org.eclipse.m2e.core.internal.index.nexus.NexusIndexManager.updateIndex(NexusIndexManager.java:1086)
    [org.eclipse.m2e.core_1.4.0.20130601-0317.jar:na]<br>
          at org.eclipse.m2e.core.internal.index.nexus.NexusIndex.updateIndex(NexusIndex.java:145)
    [org.eclipse.m2e.core_1.4.0.20130601-0317.jar:na]<br>
          at org.eclipse.m2e.core.ui.internal.views.MavenRepositoryView$8$1.run(MavenRepositoryView.java:391)
    [org.eclipse.m2e.core.ui_1.4.0.20130601-0317.jar:na]<br>
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) [org.eclipse.core.jobs_3.5.300.v20130429-1813.jar:na]<br>
        !SESSION 2014-04-25 00:36:18.506 -----------------------------------------------<br>
        eclipse.buildId=4.3.2.M20140221-1700<br>
        java.version=1.7.0_55<br>
        java.vendor=Oracle Corporation<br>
        BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE<br>
        Framework arguments:  -product org.eclipse.epp.package.jee.product<br>
        Command-line arguments:  -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.jee.product -consoleLog<br>
        !ENTRY org.eclipse.m2e.logback.appender 4 0 2014-04-25 00:41:48.640<br>
        !MESSAGE Unable to update index for central|http: //repo.maven.apache.org/maven2:
    /home/alqais/.m2/repository/.cache/m2e/1.4.0/26522e0d83a422eed93329ece7565cfc/nexus-maven-repository-index.zip
    (Datei oder Verzeichnis nicht gefunden)</p>
  </blockquote>
  
  <ol start="5">
  <li>Eclipse process</li>
  </ol>
  
  <blockquote>
    <p>[alqais@kroete ~]$ ps ax | grep jre<br>
         4337 pts/1    Sl+    1:40 /home/alqais/programs/jre1.7.0_55/bin/java
    -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m -Xms40m -Xmx512m -jar /home/alqais/programs/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
    -os linux -ws gtk -arch x86 -showsplash /home/alqais/programs/eclipse//plugins/org.eclipse.platform_4.3.2.v20140221-1700/splash.bmp
    -launcher /home/alqais/programs/eclipse/eclipse -name Eclipse --launcher.library /home/alqais/programs/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20140116-2212/eclipse_1508.so
    -startup /home/alqais/programs/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
    --launcher.appendVmargs -exitdata 4e0008 -product org.eclipse.epp.package.jee.product -consoleLog -vm
    /home/alqais/programs/jre1.7.0_55/bin/java -vmargs
    -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m -Xms40m -Xmx512m -jar /home/alqais/programs/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar</p>
  </blockquote>
  
  <ol start="6">
  <li>local maven cache content</li>
  </ol>
  
  <blockquote>
    <p>[alqais@kroete ~]$ ls -alt
    .m2/repository/.cache/m2e/1.4.0/26522e0d83a422eed93329ece7565cfc/<br>
        insgesamt 116896<br>
        drwxr-xr-x 2 alqais alqais      4096 25. Apr 00:40 min<br>
        drwxr-xr-x 3 alqais alqais      4096 25. Apr 00:40 .<br>
        -rw-r--r-- 1 alqais alqais      1131 25. Apr 00:40 nexus-maven-repository-index.properties<br>
        -rw-r--r-- 1 alqais alqais         0 25. Apr 00:40 chunks.lst<br>
        -rw-r--r-- 1 alqais alqais 119684538 25. Apr 00:40 nexus-maven-repository-index.gz<br>
        -rw-r--r-- 1 alqais alqais         0 24. Apr 23:51 .lock<br>
        drwxr-xr-x 3 alqais alqais      4096 24. Apr 23:51 ..</p>
  </blockquote>