提交 f2bf7c49 编写于 作者: J jglick

Improving a rather cryptic and misleading error message.

(Maven "configuration" sounds like something you need to define in pom.xml.)

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16572 71c3de6d-444a-0410-be80-ed276b4c234a
上级 73e81641
......@@ -414,7 +414,8 @@ public final class MavenModuleSetBuild extends AbstractBuild<MavenModuleSet,Mave
logger.println("Parsing POMs");
MavenInstallation mvn = project.getMaven();
if(mvn==null) {
logger.println("A Maven configuration needs to be associated with this project. Please reconfigure this project");
logger.println("A Maven installation needs to be available for this project to be built.");
logger.println("Either your server has no Maven installations defined, or the requested Maven version does not exist.");
throw new AbortException();
}
mvn = mvn.forEnvironment(envVars).forNode(Computer.currentComputer().getNode());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册