UnrecognizedMavenException after upgrade to 7.1 eap

After upgraded and starting a build, I now get the below. Not much to go on. Is there someway I track down what exactly is missing?

[17:53:14]Step 1/2: client assembly (Maven)

[17:53:14][Step 1/2] Unrecognized Maven installation: it doesn't contain required resources com.jetbrains.maven.util.UnrecognizedMavenException: Unrecognized Maven installation: it doesn't contain required resources      at com.jetbrains.maven.util.MavenDescriptor.create(MavenDescriptor.java:33)      at jetbrains.maven.MavenBuildService.sessionStarted(MavenBuildService.java:247)      at jetbrains.buildServer.agent.runner2.GenericCommandLineBuildProcess.start(GenericCommandLineBuildProcess.java:62)      at jetbrains.buildServer.agent.impl.buildStages.runnerStages.start.CallRunnerStage.doBuildStage(CallRunnerStage.java:56)      at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor$1.callStage(RunnerStagesExecutor.java:25)      at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor$1.callStage(RunnerStagesExecutor.java:18)      at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:76)      at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:36)      at jetbrains.buildServer.agent.impl.buildStages.RunnerStagesExecutor.doStages(RunnerStagesExecutor.java:18)      at jetbrains.buildServer.agent.impl.buildStages.startStages.RunnerContextExecutor.callRunnerStages(RunnerContextExecutor.java:40)      at jetbrains.buildServer.agent.impl.buildStages.startStages.ForEachBuildRunnerStage.doBuildStage(ForEachBuildRunnerStage.java:68)      at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:31)      at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:24)      at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:76)      at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:36)      at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24)      at jetbrains.buildServer.agent.impl.BuildRunAction.doStages(BuildRunAction.java:70)      at jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:50)      at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:243)      at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:48)      at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:216)      at java.lang.Thread.run(Thread.java:662)

[17:53:14][Step 1/2] Unrecognized Maven installation: it doesn't contain required resources

[17:53:14][Step 1/2] Step client assembly (Maven) failed with unexpected error


1 comment
Comment actions Permalink

Ok, I figured this out. I has nothing to do with a 7.1 upgrade. My M2_HOME variable was set to ~/.m2 not the maven install. I have no idea why this has been working for the last three months...

0

Please sign in to leave a comment.