• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: All, OS: All

      If I am using Maven 2.0.6 with the latest Hudson-Build, i get this error:

      Exception in thread "main" java.io.FileNotFoundException: /opt/apache/maven/core
      at org.codehaus.classworlds.Configurator.loadGlob(Configurator.java:487)
      at org.codehaus.classworlds.Configurator.loadGlob(Configurator.java:459)
      at org.codehaus.classworlds.Configurator.configure(Configurator.java:326)
      at org.codehaus.classworlds.Launcher.configure(Launcher.java:156)
      at hudson.maven.agent.Main.main(Main.java:41)
      at hudson.maven.agent.Main.main(Main.java:31)
      FATAL: unexpected stream termination
      java.io.EOFException: unexpected stream termination
      at hudson.remoting.Channel.<init>(Channel.java:142)
      at hudson.Launcher$LocalLauncher.launchChannel(Launcher.java:175)
      at hudson.maven.MavenBuild$RunnerImpl.newProcess(MavenBuild.java:283)
      at hudson.maven.ProcessCache.get(ProcessCache.java:153)
      at hudson.maven.MavenBuild$RunnerImpl.doRun(MavenBuild.java:258)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:119)
      at hudson.model.Run.run(Run.java:544)
      at hudson.maven.MavenBuild.run(MavenBuild.java:130)
      at hudson.model.Executor.run(Executor.java:61)

      I don't have the core-directory in my Maven 2.0.6-Dir, it's only available in
      Maven 2.0.5.

          [JENKINS-444] Problems using Maven 2.0.6

          troggan added a comment -

          After I copied the core-Dir from an older Maven-Installation I got this error:

          INFO] ------------------------------------------------------------------------
          [INFO] BUILD SUCCESSFUL
          [INFO] ------------------------------------------------------------------------
          [INFO] Total time: 14 seconds
          [INFO] Finished at: Tue Apr 10 08:44:12 CEST 2007
          [INFO] Final Memory: 6M/17M
          [INFO] ------------------------------------------------------------------------
          FATAL: Broken pipe
          java.io.IOException: Broken pipe
          at java.io.FileOutputStream.writeBytes(Native Method)
          at java.io.FileOutputStream.write(FileOutputStream.java:260)
          at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
          at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
          at
          java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1631)
          at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:666)
          at java.io.ObjectOutputStream.close(ObjectOutputStream.java:687)
          at hudson.remoting.Channel.close(Channel.java:355)
          at hudson.maven.ProcessCache$MavenProcess.discard(ProcessCache.java:91)
          at hudson.maven.ProcessCache$MavenProcess.recycle(ProcessCache.java:78)
          at hudson.maven.MavenBuild$RunnerImpl.doRun(MavenBuild.java:273)
          at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:119)
          at hudson.model.Run.run(Run.java:544)
          at hudson.maven.MavenBuild.run(MavenBuild.java:130)
          at hudson.model.Executor.run(Executor.java:61)

          troggan added a comment - After I copied the core-Dir from an older Maven-Installation I got this error: INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14 seconds [INFO] Finished at: Tue Apr 10 08:44:12 CEST 2007 [INFO] Final Memory: 6M/17M [INFO] ------------------------------------------------------------------------ FATAL: Broken pipe java.io.IOException: Broken pipe at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:260) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1631) at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:666) at java.io.ObjectOutputStream.close(ObjectOutputStream.java:687) at hudson.remoting.Channel.close(Channel.java:355) at hudson.maven.ProcessCache$MavenProcess.discard(ProcessCache.java:91) at hudson.maven.ProcessCache$MavenProcess.recycle(ProcessCache.java:78) at hudson.maven.MavenBuild$RunnerImpl.doRun(MavenBuild.java:273) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:119) at hudson.model.Run.run(Run.java:544) at hudson.maven.MavenBuild.run(MavenBuild.java:130) at hudson.model.Executor.run(Executor.java:61)

          This was due to a directory layout change. So much for a dot-dot release.
          Fixed in 1.102.

          Kohsuke Kawaguchi added a comment - This was due to a directory layout change. So much for a dot-dot release. Fixed in 1.102.

          Reopened as issue #487.

          Kohsuke Kawaguchi added a comment - Reopened as issue #487.

            Unassigned Unassigned
            troggan troggan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: