Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-976

Maven build hangs when trying to fetch external resources.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      Platform: PC, OS: Windows XP
    • Similar Issues:

      Description

      I know this have been reported before, but I though I'd fill in with some
      additional information.

      I am trying to build our Maven2 multi project with Hudson, but it just hangs
      while trying to fetch artifacts from external repositories. The same build works
      fine from the commandline.

      I tried with Maven 2.0.4, Maven 2.0.6 and Maven 2.0.7 all with the same result.

      Here is what the console log shows:

      $ java -cp "C:\Documents and Settings\bjacobse\Local
      Settings\Temp\winstone\hudson.war\WEB-INF\lib\maven-agent-1.150.jar;C:\Program
      Files\maven-2.0.4\core\boot\classworlds-1.1.jar" hudson.maven.agent.Main
      "C:\Program Files\maven-2.0.4" "C:\Documents and Settings\bjacobse\Local
      Settings\Temp\winstone\hudson.war\WEB-INF\lib\remoting-1.150.jar" "C:\Documents
      and Settings\bjacobse\Local
      Settings\Temp\winstone\hudson.war\WEB-INF\lib\maven-interceptor-1.150.jar"
      channel started
      [INFO] Scanning for projects...
      [INFO] Reactor build order:
      [INFO] ip-functions
      [INFO] ip-code-translator
      [INFO] ip-code-service-rar
      [INFO] ip-code-service-ws
      [INFO] ip-exceptions
      [INFO] ip-logging
      [INFO] ip-logging-servlet
      [INFO] ip-soapfault-interpreter
      [INFO] ip-errorhandler-logging
      [INFO] ip-errorhandler
      [INFO] ip-bulls-logservice
      [INFO] ip-bulls-eventservice
      [INFO] ip-test-tse-logging
      [INFO] ip-testservice
      [INFO] test-webservices
      [INFO] bulls-webservices
      [INFO] ip-code-translator-rar
      [INFO] ip-alsb-logging
      Downloading:
      http://repo1.maven.org/maven2/org/apache/axis2/maven2/axis2-aar-maven-plugin/1.1/axis2-aar-maven-plugin-1.1.pom

      When I then eventually abort the job I get this stacktrace:

      ERROR: Aborted
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at java.lang.Object.wait(Object.java:485)
      at hudson.remoting.Request.call(Request.java:88)
      at hudson.remoting.Channel.call(Channel.java:272)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:309)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:192)
      at hudson.model.Run.run(Run.java:601)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:172)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:62)
      finished: FAILURE

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bjacobse bjacobse
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: