无法执行目标org.apache.maven.plugins:maven-antrun-plugin:1.7

时间:2014-09-30 11:28:55

标签: java node.js maven ant

我需要帮助。我收到以下错误。 我用Google搜索但找不到任何解决方案。

操作系统窗口:7(64位) Java:java版“1.6.0_45”

命令:mvn clean package -DskipTests

[exec] npm ERR! npm -v 1.4.9
[exec] npm ERR! code ELIFECYCLE
[exec] npm
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Shopping Project .................................. SUCCESS [0.937s]
[INFO] Shopping Integration .............................. SUCCESS [2.020s]
[INFO] Shopping Job ...................................... SUCCESS [1.050s]
[INFO] Shopping Web Layer ................................ SUCCESS [33.822s]
[INFO] Shopping WAR ...................................... FAILURE [31.418s]
[INFO] Shopping DB Files ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:12.071s
[INFO] Finished at: Tue Sep 30 13:54:41 EEST 2014
[INFO] Final Memory: 85M/725M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:
run (1) on project Shoppingwar: An Ant BuildException has occured: exec returned
: 1
[ERROR] around Ant part ...<exec dir="C:\training\Shopping\Shoppingwar" executab
le="cmd" failonerror="true" inputstring="yes" osfamily="windows">... @ 7:121 in
C:\training\Shopping\Shoppingwar\target\antrun\build-main.xml

如何解决这个问题?

0 个答案:

没有答案