Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.7
-
Labels:None
-
Environment:HideApache Maven 3.0.1 (r1038046; 2010-11-23 21:58:32+1100)
Java version: 1.6.0_22
Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre
Default locale: en_AU, platform encoding: UTF-8
OS name: "linux" version: "2.6.35-23-generic" arch: "amd64" Family: "unix"
ShowApache Maven 3.0.1 (r1038046; 2010-11-23 21:58:32+1100) Java version: 1.6.0_22 Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre Default locale: en_AU, platform encoding: UTF-8 OS name: "linux" version: "2.6.35-23-generic" arch: "amd64" Family: "unix"
-
Patch Submitted:Yes
-
Number of attachments :
Description
I use mvn -q to perform my builds, as it greatly reduces the verbosity of output. At present maven-antrun-plugin v 1.6 does not respect the "mvn -q" option. Here is an example of the output of an Antrun task that includes directory deletion and file copying:
[delete] Deleting directory /home/balex/projects/roo/annotations/src/main/java/org
[copy] Copying 19 files to /home/balex/projects/roo/annotations/src/main/java
Attached is a patch that observes the mvn -q behavior. When in mvn -q, only errors are emitted. The above informational output level messages are therefore not display (the desired behavior).
Fixed in r1068495.