<profile>
<id>integration-tests</id>
<activation>
<property>
<name>integrations</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.4.0</version>
<executions>
<execution>
<id>script-chmod</id>
<phase>integration-test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>chmod</executable>
<arguments>
<argument>+x</argument>
<argument>integration-test-docker/integrations.sh</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>script-exec</id>
<phase>integration-test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>integration-test-docker/integrations.sh</executable>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
このプロファイルにはさらに多くのものがありますが、実行したいものだけを含めました。この特定のプラグインのこの特定の目標をどのように実行できますか?
私は試しmvn exec:exec
ましたが、私はこれを得る
[エラー] プロジェクト ando でゴール org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (default-cli) を実行できませんでした: ゴール org.codehaus.mojo:exec-maven- のパラメーター 'executable' plugin:1.3.2:exec が見つからないか無効です -> [ヘルプ 1]
また、エラー出力はバージョン1.3.2
を示していますが、私は使用して1.4.0
います。