Maven内のAntタスクでいくつかのファイルをコピーしていますが、いくつかのファイルをコピーしているという事実をログに記録しないようにantに通知する方法はわかりません。AntRunでのAntのコピータスクのログをオフにする
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>generateContext</id>
<phase>compile</phase>
<configuration>
<target>
<copy file="src/main/context/context.xml"
toDir="target/context/"
overwrite="true" verbose="false">
<filterset>
<filter token="deploy.path" value="${deploy.path}" />
<filter token="build.env.deployment.war.name"
value="${build.env.deployment.war.name}" />
</filterset>
</copy>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
私は、コンソールに以下を参照してくださいタスクを実行するたびに:私は、私もそれを心配する必要があるだろうと思っていませんでしアリcopy task documentationに基づいて
[INFO] --- maven-antrun-plugin:1.7:run (generateContext) @ jive-web ---
[INFO] Executing tasks
main:
[copy] Copying 1 file to /Users/jmajors/turbinetrunk/jive/jive-web/target/context
、なぜならログはデフォルトではオフになっているようですが、何かが記録されているかどうかには影響していないようです。私が注意を払うべき別の設定がありますか?
おかげで、 ジェレミー