我正在运行一个shell来调用一只蚂蚁,而蚂蚁则在Redhat中进一步调用一个maven。
有人能指出这个错误的背景吗?
错误未能执行目标org.apache.maven.plugins:maven-war-plugin:2.3:wa 项目站点上的r(默认war):错误解压缩文件/scratch/mingtzha/12.1/.../sites-dojo/target/sites-dojo-1.6.1-12.1.4.0-SNAPSHOT.warto /scratch /mingtzha/12.1/./ -> -dojo: chmod退出代码为:127个帮助1
我发现这个"useJvmChmod“属性可能是相关的。http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
发布于 2013-11-09 20:21:16
这个问题解决了。我在Shell脚本中犯了一个愚蠢的错误。我写了:PATH而不是:$PATH,它实际上中断了所有命令行调用,比如"chmod“。
https://stackoverflow.com/questions/19365798
复制相似问题