You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Olivier Lamy (*$^¨%`£ JIRA)" <ji...@apache.org> on 2013/10/22 03:34:43 UTC

[jira] [Closed] (MTOMCAT-176) Make deploy/redeploy (upload) less verbose for --batch-mode / --quiet

     [ https://issues.apache.org/jira/browse/MTOMCAT-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy (*$^¨%`£) closed MTOMCAT-176.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2

patch applied.
Thanks!

> Make deploy/redeploy (upload) less verbose for --batch-mode / --quiet
> ---------------------------------------------------------------------
>
>                 Key: MTOMCAT-176
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-176
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Wish
>          Components: commons-lib
>    Affects Versions: 2.0
>            Reporter: Thomas GL
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: MTOMCAT-176__Do_not_show_transfer_progress_when_Maven_is_running_in_batch_mode.patch
>
>
> Hi,
> Using maven-tomcat-plugin:2.0 for integration testing deployments results in some Jenkins job logs where 99% of the lines comes from the upload "progress meter" (implemented in "TomcatManager.RequestEntityImplementation.transferProgressed").  
> In some other plugins with similar HTTP activity, this kind of output can be turned off by launching Maven with "-B/--batch-mode" (and probably "--quiet" too, although I never do that).  This seems to be standard behavior for plugins which uses Wagon or Aether.  Would it be possible to implement a similar behavior in the maven-tomcat-plugin?
> Actually, I gave it a try today, but I couldn't find how to get the Maven batch/quiet options through the plugin API.  My other attempt was to reuse the Wagon "TransferListener" instance (the implementation, which can be a verbose or quiet progress meter, seems to be chosen depending on the Maven CLI option), but I couldn't find a path to there neither.  But it's my first time in some Maven code, I probably have missed something.
> Sure, if it's actually not possible to implement a quiet mode based on the Maven CLI options, then an alternative would be to add a plugin-specific parameter. But I think it would be a bit less convenient.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org