ERROR: Processing failed due to a bug in the code. Please report this to jenkins...@googlegroups.com java.lang.IllegalArgumentException: /mnt/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven doesn't have a 'lib' subdirectory - thus cannot be a valid maven installation! at hudson.maven.MavenEmbedderUtils.buildClassRealm(MavenEmbedderUtils.java:83) at hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:188) at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:70) at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:42) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:325) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) 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:745) at ......remote call to EC2 Build Slave (i-d2b75378)(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1361) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel.call(Channel.java:753) at hudson.FilePath.act(FilePath.java:1075) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:629) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1744) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) project=hudson.maven.MavenModuleSet@16e1b652[exmachina-util-web_default] project.getModules()=[] project.getRootModule()=null FATAL: /mnt/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven doesn't have a 'lib' subdirectory - thus cannot be a valid maven installation! java.lang.IllegalArgumentException: /mnt/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven doesn't have a 'lib' subdirectory - thus cannot be a valid maven installation! at hudson.maven.MavenEmbedderUtils.buildClassRealm(MavenEmbedderUtils.java:83) at hudson.maven.MavenEmbedderUtils.getMavenVersion(MavenEmbedderUtils.java:188) at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:70) at hudson.maven.MavenVersionCallable.call(MavenVersionCallable.java:42) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:325) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:262) 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:745) at ......remote call to EC2 Build Slave (i-d2b75378)(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1361) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel.call(Channel.java:753) at hudson.FilePath.act(FilePath.java:1075) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:629) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1744) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Finished: FAILURE