maven-war-plugin chmod exit code was:127

核能气质少年 提交于 2019-12-11 02:22:40

问题


I am running a shell to call a ant, which further call a maven in Redhat.

Could anyone point out the context of this error?

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.3:wa
r (default-war) on project sites: Error unpacking file [/scratch/mingtzha/12.1/.../sites-dojo/target/sites-dojo-1.6.1-12.1.4.0-SNAPSHOT.war]to [/scratch
/mingtzha/12.1/.../sites-dojo]: chmod exit code was: 127 -> [Help 1]

I found this "useJvmChmod" property maybe relevant. http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html


回答1:


This one is resolved. I had a silly mistake in Shell script. I wrote :PATH instead of :$PATH, it actually breaks all command line calls such as "chmod".



来源:https://stackoverflow.com/questions/19365798/maven-war-plugin-chmod-exit-code-was127

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!