My project pom contains gmaven-plugin plugin in which under configuaration->properties->script tag, sh script location is defined and when I am executing mvn install, I am getting below error on my windows machine.
java.io.IOException:
Cannot run program ": CreateProcess error=193, %1 is not a valid Win32 application
Please find below relevant plugin.
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>gmaven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>execute</goal>
</goals>
<configuration>
<properties>
<script>${basedir}/../tools/testfile.sh</script>
</properties>
<source>
//some code for execution
</source>
</configuration>
</execution>
</executions>
</plugin>

gmaven-plugin