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

Build 1.102 issues with maven 2.0.6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: All, OS: Linux

      Platform: Linux Redhat ES 3.x
      Sevlet Container: Tomcat 5.5.15
      JDK: 1.5.0_05
      Maven: 2.0.6

      When trying to use 1.102 to take advantage of the maven 2.0.6 support I run into
      the same error no matter what I try to build:

      started
      [trunk] $ /usr/local/jdk1.5.0_05/jre/bin/java -cp
      /usr/local/apache-tomcat-5.5.15/webapps/hudson/WEB-INF/lib/maven-agent-1.102.jar:/usr/local/bsystem/m2/maven-2.0.6/core/boot/classworlds-1.1.jar
      hudson.maven.agent.Main /usr/local/bsystem/m2/maven-2.0.6
      /usr/local/apache-tomcat-5.5.15/webapps/hudson/WEB-INF/lib/remoting-1.102.jar
      /usr/local/apache-tomcat-5.5.15/webapps/hudson/WEB-INF/lib/maven-interceptor-1.102.jar
      channel started
      FATAL: null
      hudson.util.IOException2
      at hudson.maven.MavenBuild$Builder.call(MavenBuild.java:177)
      at hudson.maven.MavenBuild$Builder.call(MavenBuild.java:136)
      at hudson.remoting.UserRequest.perform(UserRequest.java:57)
      at hudson.remoting.UserRequest.perform(UserRequest.java:22)
      at hudson.remoting.Request$2.run(Request.java:178)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at hudson.maven.agent.Main.launch(Main.java:70)
      at hudson.maven.MavenBuild$Builder.call(MavenBuild.java:160)
      ... 7 more
      Caused by: java.lang.IllegalStateException: The internal default
      plexus-bootstrap.xml is missing. This is highly irregular, your plexus JAR is
      most likely corrupt.
      at
      org.codehaus.plexus.DefaultPlexusContainer.initializeConfiguration(DefaultPlexusContainer.java:1062)
      at
      org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:636)
      at org.codehaus.plexus.embed.Embedder.start(Embedder.java:216)
      at org.codehaus.plexus.embed.Embedder.start(Embedder.java:183)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:156)
      ... 15 more

      We can execute builds manually with maven 2.0.6 with no issue as the same user
      that tomcat is running as.

      When I point Hudson to maven 2.0.5 and re-add the project, it builds fine.

      Andrew

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

              Created:
              Updated:
              Resolved: