[
https://jira.codehaus.org/browse/MNG-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
patrick garcia updated MNG-2570:
--------------------------------
Attachment: MNG-2570-maven-embedder.patch
As a simple answer to this issue, you will find in the attached patch a new
"-w" "--warinig" maven option. This set the log level to LOGGING_LEVEL_WARN
The final solution for this issue may be cleverer. At least this patch allows
setting ALL possible log level values.
Integration test are ok.
more over, I have tested it by checking the following commands:
$M2_HOME/bin/mvn --help
$M2_HOME/bin/mvn -w test
$M2_HOME/bin/mvn --warning test
Then I did a diff with the following commands:
$M2_HOME/bin/mvn test
$M2_HOME/bin/mvn -q test
> Maven needs to support multiple logging levels
> ----------------------------------------------
>
> Key: MNG-2570
> URL: https://jira.codehaus.org/browse/MNG-2570
> Project: Maven 2 & 3
> Issue Type: Improvement
> Components: Logging
> Affects Versions: 2.0.4
> Reporter: Brian Fox
> Fix For: Issues to be reviewed for 3.x
>
> Attachments: MNG-2570-maven-embedder.patch
>
>
> The current logging levels are essentially verbose (default) and debug (-X).
> We need a slightly less verbose output so that things like compiler warnings
> and other output is actually visable to the developer. Currently it gets
> buried in all the noise.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira