Domanda

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

È stato utile?

Soluzione

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".

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top