Maven 3.0.3 を使用しています。Maven exec プラグインを使用して、あるディレクトリの内容を別のディレクトリにコピーするのに問題があります。悲しいことに、このプラグインを pom.xml に含めると…</p>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1.1</version>
<configuration>
<executable>cp</executable>
<arguments>
<argument>-r</argument>
<argument>web-app/*</argument>
<argument>src/main/webapp</argument>
</arguments>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
</plugin>
機能していません。以下のエラーが表示されます…</p>
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:exec (default-cli) on project jx: Result of /bin/sh -c cd /Users/davea/Documents/workspace/mycoUSA2/Technology/nna/myco2usa/jx && cp -r 'web-app/*' src/main/webapp execution is: '1'. -> [Help 1]
プラグイン構成を変更して、あるディレクトリの内容を別のディレクトリにコピーする方法を知っている人はいますか? ありがとう - デイブ