maven-antrun-plugin 1.6 does not respect mvn --quiet option
-----------------------------------------------------------
Key: MANTRUN-160
URL: http://jira.codehaus.org/browse/MANTRUN-160
Project: Maven 2.x Antrun Plugin
Issue Type: Bug
Affects Versions: 1.6
Environment: Apache 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"
Reporter: Ben Alex
Priority: Minor
Attachments: patch.diff
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).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira