title: Legacy Maven 2 job type Plugin with Maven 3.2.1 not working
body: <p>I try to use <a href="http://hudson-ci.org" rel="nofollow">Hudson</a> (3.3.3) and <a href="http://wiki.hudson-ci.org/display/HUDSON/Maven+2+Project+Plugin" rel="nofollow">Legacy Maven 2 job type Plugin</a> (3.0.2) with <a href="https://maven.apache.org/" rel="nofollow">Maven</a> (3.2.1), but I get an error. Is there a way to use Maven 3.2.1?</p>
  
  <p><strong>Job log:</strong></p>
  
  <pre><code>Found mavenVersion 3.2.1 from file jar:file:/C:/Users/dur/.hudson/tools/Maven_3.2.1/lib/maven-core-3.2.1.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties
  Parsing POMs
  [workspace] $ "C:\Program Files\Java\jdk1.7.0_25/bin/java" -cp C:\Users\dur\.hudson\plugins\maven-plugin\WEB-INF\lib\maven3-agent-3.0.2.jar;C:\Users\dur\.hudson\tools\Maven_3.2.1\boot\plexus-classworlds-2.5.1.jar org.jvnet.hudson.maven3.agent.Maven3Main C:\Users\dur\.hudson\tools\Maven_3.2.1 C:\Users\dur\.hudson\war\webapp\WEB-INF\lib\hudson-remoting-3.0.3.jar C:\Users\dur\.hudson\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-3.0.2.jar 61659
  &lt;===[HUDSON REMOTING CAPACITY]===&gt;channel started
  Executing Maven:  -B -f C:\Users\dur\.hudson\jobs\Test\workspace\pom.xml clean install -P Hudson
  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:606)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
      at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:146)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:124)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
      at hudson.remoting.UserRequest.perform(UserRequest.java:107)
      at hudson.remoting.UserRequest.perform(UserRequest.java:41)
      at hudson.remoting.Request$2.run(Request.java:276)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      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:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:724)
  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.unsynchronizedLoadClass(ClassRealm.java:259)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
      at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
      ... 19 more
  channel stopped
  </code></pre>
  
  <p>I found following questions:</p>
  
  <ul>
  <li><a href="https://www.eclipse.org/forums/index.php/t/628121/" rel="nofollow">Eclipse Community Forums</a></li>
  <li><a href="https://github.com/hudson3-plugins/maven3-support/issues/6" rel="nofollow">GitHub</a></li>
  <li><a href="http://permalink.gmane.org/gmane.comp.java.hudson.user/63091" rel="nofollow">User list for the Hudson continuous build server</a></li>
  </ul>
  
  <p>but with no working answer. </p>