我正在运行Maven 2.2.1并且它返回退出代码-1,即使它声明构建成功。任何人都知道导致此退出代码的原因是什么导致我们的构建过程中断?
作为信息的进一步消息,从我们的MS TFS构建服务器调用MVN,这是发生此问题的地方。如果我可以从命令行使用MVN,则退出代码为0。
以下是反应堆摘要:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] Aquarius Web App ...................................... SUCCESS [6.655s]
[INFO] Aquarius Flex Library ................................. SUCCESS [1:26.329s]
[INFO] Aquarius Flex Application ............................. SUCCESS [31.412s]
[INFO] Aquarius Web Archive .................................. SUCCESS [5:22.484s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 minutes 34 seconds
[INFO] Finished at: Mon Oct 25 10:19:50 BST 2010
[INFO] Final Memory: 62M/225M
[INFO] ------------------------------------------------------------------------