【发布时间】:2013-10-14 17:29:18
【问题描述】:
我正在运行一个 shell 来调用一个 ant,它进一步调用了 Redhat 中的一个 maven。
谁能指出这个错误的上下文?
[ERROR] 未能执行目标 org.apache.maven.plugins:maven-war-plugin:2.3:wa
项目站点上的 r (default-war):解压文件时出错 [/scratch/mingtzha/12.1/.../sites-dojo/target/sites-dojo-1.6.1-12.1.4.0-SNAPSHOT.war]to [/从头开始
/mingtzha/12.1/.../sites-dojo]:chmod 退出代码为:127 -> [帮助 1]
我发现这个“useJvmChmod”属性可能是相关的。 http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
【问题讨论】:
-
直接从命令行或通过 Jenkins(或类似的东西)运行?
-
@khmarbaise,通过调用 shell 脚本在命令行中运行将调用 ant 然后调用 maven。
标签: maven chmod maven-war-plugin