0
вот как я пытаюсь выполнить сценарий оболочкиMaven: Невозможно выполнить сценарий оболочки
<plugin>
<artifactId>exec-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId>
<executions>
<execution><!-- Build Python Executable -->
<id>Build Python</id>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${basedir}/scripts/buildPython.sh</executable>
</configuration>
</execution>
</executions>
<configuration>
<executable>chmod</executable>
<arguments>
<argument>+x</argument>
<argument>${basedir}/scripts/buildPython.sh</argument>
</arguments>
</configuration>
</plugin>
, но я получаю
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (Build Python) on project packaging: Command execution failed. Cannot run program "/ajbfiausbf/scripts/buildPython.sh" (in directory "/ajbfiausbf`"): error=13, Permission denied -> [Help 1]
, что я делаю не так?
Я хотел бы предоставить разрешения с использованием maven. Как я могу это сделать? Я думал, что тег '' позаботится об этом –
AbtPst
Я изменил свой ответ. – GauravJ