When building I get the exception below

      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
      at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.NoClassDefFoundError: org/apache/maven/cli/MavenLoggerManager
      at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:73)
      ... 18 more
      Caused by: java.lang.ClassNotFoundException: org.apache.maven.cli.MavenLoggerManager
      at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
      ... 19 more

      Full jenkins output.

      Parsing POMs
      [master-pom] $ /opt/projects/borgen/tools/jdk17/bin/java -server -Xmx768m -Xms768m -XX:MaxPermSize=256m -XX:+UseParallelGC -cp /opt/buildcache/borgen/jenkins_work/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.2.jar:/opt/projects/borgen/tools/apache-maven-3.1.0/boot/plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main /opt/projects/borgen/tools/apache-maven-3.1.0/ /var/cache/jenkins/war/WEB-INF/lib/remoting-2.18.jar /opt/buildcache/borgen/jenkins_work/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.2.jar 57146
      <===[JENKINS REMOTING CAPACITY]===>channel started
      log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
      log4j:WARN Please initialize the log4j system properly.
      Executing Maven: -B -f /opt/buildcache/borgen/jenkins_work/jobs/master-pom/workspace/master-pom/pom.xml clean deploy site site:deploy -Prelease-site

      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
      at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.NoClassDefFoundError: org/apache/maven/cli/MavenLoggerManager
      at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:73)
      ... 18 more
      Caused by: java.lang.ClassNotFoundException: org.apache.maven.cli.MavenLoggerManager
      at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
      ... 19 more
      channel stopped
      ERROR: Failed to parse POMs
      hudson.util.IOException2: java.lang.reflect.InvocationTargetException
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:152)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:326)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:722)
      Caused by: java.lang.Exception: java.lang.reflect.InvocationTargetException
      at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:161)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)
      ... 10 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
      at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
      ... 11 more
      Caused by: java.lang.NoClassDefFoundError: org/apache/maven/cli/MavenLoggerManager
      at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:73)
      ... 18 more
      Caused by: java.lang.ClassNotFoundException: org.apache.maven.cli.MavenLoggerManager
      at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230)
      ... 19 more

          [JENKINS-15935] Can't build using maven 3.1.0

          Pether Sorling created issue -

          Julian Payne added a comment -

          I have this error with the release version of Maven 3.1.0.

          This is stopping us from using the latest version of Maven.

          Julian Payne added a comment - I have this error with the release version of Maven 3.1.0. This is stopping us from using the latest version of Maven.

          Julian Payne added a comment -

          Making this critical as 3.1.0 is now the latest release version of Maven.

          Julian Payne added a comment - Making this critical as 3.1.0 is now the latest release version of Maven.
          Julian Payne made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]

          kutzi added a comment -

          Where did you get the information about a 3.1.0 release?
          This page http://maven.apache.org/download.cgi still says: "Maven 3.1.0 - This is the future of Maven (alpha status)."

          kutzi added a comment - Where did you get the information about a 3.1.0 release? This page http://maven.apache.org/download.cgi still says: "Maven 3.1.0 - This is the future of Maven (alpha status)."

          kutzi added a comment -

          kutzi added a comment - See http://osdir.com/ml/general/2013-06/msg46888.html

          kutzi added a comment -

          Olivier knows this stuff best

          kutzi added a comment - Olivier knows this stuff best
          kutzi made changes -
          Assignee New: Olivier Lamy [ olamy ]

          Olivier Lamy added a comment -

          hehe
          yup that need some changes...
          I will try to work on that end of this week.

          Olivier Lamy added a comment - hehe yup that need some changes... I will try to work on that end of this week.

          Julian Payne added a comment -

          The (alpha status) is a bug on the Maven download page - there was an alpha build available on this page but this is now the final build of 3.1.0. See http://maven.apache.org/docs/3.1.0/release-notes.html

          Thanks.

          Julian Payne added a comment - The (alpha status) is a bug on the Maven download page - there was an alpha build available on this page but this is now the final build of 3.1.0. See http://maven.apache.org/docs/3.1.0/release-notes.html Thanks.

            olamy Olivier Lamy
            pether Pether Sorling
            Votes:
            2 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: