You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martin Pruefer <mp...@gmail.com> on 2007/09/20 14:11:16 UTC
scp upload verbosity
Hi,
is there any way to make the deploy plugin being less verbose when
uploading via scp to a server?
I'm building my project with 'mvn deploy' and for each artifact the
upload progress is being logged in a very verbose way like this:
---snip---
[...]
Uploading: scp://my.snapshotserver.com/group/artifact/1.0-SNAPSHOT/artifact-1.0-SNAPSHOT.jar
4/49K
8/49K
12/49K
16/49K
20/49K
24/49K
28/49K
32/49K
36/49K
40/49K
44/49K
48/49K
49/49K
49K uploaded
[...]
---snip---
When having many projects in a multi-module build, and artifact size
being quite large, then quite a great part of the build log consists
only of upload progress messages...
I did not find anything in documentation/mvn wiki/users mailinglist on
this topic.
I use mvn 2.0.7.
Any hints appreciated, thx!
Martin
--
Martin Pruefer *** mpruefer@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: scp upload verbosity
Posted by Martin Pruefer <mp...@gmail.com>.
Yes, I tried that. Result is, all 'useful' messages are gone, but the
uploading progress is still shown.
On 9/20/07, Gisbert Amm <gi...@webde.de> wrote:
> Have you tried mvn deploy -q already?
>
> -Gisbert
>
> Martin Pruefer wrote:
> > Hi,
> >
> > is there any way to make the deploy plugin being less verbose when
> > uploading via scp to a server?
> > I'm building my project with 'mvn deploy' and for each artifact the
> > upload progress is being logged in a very verbose way like this:
> >
> > ---snip---
> > [...]
> > Uploading: scp://my.snapshotserver.com/group/artifact/1.0-SNAPSHOT/artifact-1.0-SNAPSHOT.jar
> > 4/49K
> > 8/49K
> > 12/49K
> > 16/49K
> > 20/49K
> > 24/49K
> > 28/49K
> > 32/49K
> > 36/49K
> > 40/49K
> > 44/49K
> > 48/49K
> > 49/49K
> > 49K uploaded
> > [...]
> > ---snip---
> >
> > When having many projects in a multi-module build, and artifact size
> > being quite large, then quite a great part of the build log consists
> > only of upload progress messages...
> >
> > I did not find anything in documentation/mvn wiki/users mailinglist on
> > this topic.
> > I use mvn 2.0.7.
> >
> > Any hints appreciated, thx!
> >
> > Martin
> >
--
Martin Pruefer *** mpruefer@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: scp upload verbosity
Posted by Gisbert Amm <gi...@webde.de>.
Have you tried mvn deploy -q already?
-Gisbert
Martin Pruefer wrote:
> Hi,
>
> is there any way to make the deploy plugin being less verbose when
> uploading via scp to a server?
> I'm building my project with 'mvn deploy' and for each artifact the
> upload progress is being logged in a very verbose way like this:
>
> ---snip---
> [...]
> Uploading: scp://my.snapshotserver.com/group/artifact/1.0-SNAPSHOT/artifact-1.0-SNAPSHOT.jar
> 4/49K
> 8/49K
> 12/49K
> 16/49K
> 20/49K
> 24/49K
> 28/49K
> 32/49K
> 36/49K
> 40/49K
> 44/49K
> 48/49K
> 49/49K
> 49K uploaded
> [...]
> ---snip---
>
> When having many projects in a multi-module build, and artifact size
> being quite large, then quite a great part of the build log consists
> only of upload progress messages...
>
> I did not find anything in documentation/mvn wiki/users mailinglist on
> this topic.
> I use mvn 2.0.7.
>
> Any hints appreciated, thx!
>
> Martin
>
--
Gisbert Amm
Softwareentwickler Infrastruktur
Telefon: (0721) 91374 - 4224
Telefax: (0721) 91374 - 2740
E-Mail: gisbert.amm@1und1.de
Internet: www.1und1.de
1&1 Internet AG
Elgendorfer Strasse 57
56410 Montabaur
Amtsgericht Montabaur HRB 6484
Vorstand: Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger
(Vorsitzender), Matthias Greve, Henning Ahlert, Norbert Lang, Achim
Weiss, Robert Hoffmann,
Aufsichtsratsvorsitzender: Michael Scheeren
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: scp upload verbosity
Posted by Wayne Fay <wa...@gmail.com>.
Sounds like this annoys several people. It should probably land in the
FAQ somewhere, if one of you (who knows more about this issue than I
do) doesn't mind adding it...
Wayne
On 10/8/07, Martin Pruefer <mp...@gmail.com> wrote:
> Great, thx, that's it, batch mode is the solution, now m2 doesn't
> trace all the download and upload progress anymore.
>
> On 9/21/07, Nick Stolwijk <ni...@planet.nl> wrote:
> > Maybe if you run mvn with the -B option (Batch mode) it will instantiate
> > a BatchDownloadMonitor instead of a ConsoleDownloadMonitor.
>
> --
> Martin Pruefer *** mpruefer@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: scp upload verbosity
Posted by Martin Pruefer <mp...@gmail.com>.
Great, thx, that's it, batch mode is the solution, now m2 doesn't
trace all the download and upload progress anymore.
On 9/21/07, Nick Stolwijk <ni...@planet.nl> wrote:
> Maybe if you run mvn with the -B option (Batch mode) it will instantiate
> a BatchDownloadMonitor instead of a ConsoleDownloadMonitor.
--
Martin Pruefer *** mpruefer@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: scp upload verbosity
Posted by Nick Stolwijk <ni...@planet.nl>.
It seems I was wrong, it is not in the wagon project. It is in the maven
project itself. It is a combination of the
AbstractConsoleDownloadMonitor[1] and ConsoleDownloadMonitor[2], which
are logging to System.out instead of a normal logger.
Maybe if you run mvn with the -B option (Batch mode) it will instantiate
a BatchDownloadMonitor instead of a ConsoleDownloadMonitor.
Hth,
Nick Stolwijk
[1]
https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/maven-core/src/main/java/org/apache/maven/cli/AbstractConsoleDownloadMonitor.java
[2]
https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/maven-core/src/main/java/org/apache/maven/cli/ConsoleDownloadMonitor.java
Nick Stolwijk wrote:
> As far as I can see the output is caused by a class in the wagon
> project, namely Debug.java [1] I don't know which class instantiated
> it (it is not instantiated inside the wagon project)
>
> Hth,
>
> Nick Stolwijk
>
> [1]
> http://svn.apache.org/viewvc/maven/wagon/trunk/wagon-provider-api/src/main/java/org/apache/maven/wagon/observers/Debug.java?view=log
>
>
> Jörg Schaible wrote:
>> Hi Martin,
>>
>> Martin Pruefer wrote on Thursday, September 20, 2007 2:11 PM:
>>
>>
>>> Hi,
>>>
>>> is there any way to make the deploy plugin being less verbose when
>>> uploading via scp to a server?
>>> I'm building my project with 'mvn deploy' and for each artifact the
>>> upload progress is being logged in a very verbose way like this:
>>>
>>> ---snip---
>>> [...]
>>> Uploading:
>>> scp://my.snapshotserver.com/group/artifact/1.0-SNAPSHOT/artifa
>>> ct-1.0-SNAPSHOT.jar 4/49K
>>> 8/49K
>>> 12/49K
>>> 16/49K
>>> 20/49K
>>> 24/49K
>>> 28/49K
>>> 32/49K
>>> 36/49K
>>> 40/49K
>>> 44/49K
>>> 48/49K
>>> 49/49K
>>> 49K uploaded
>>> [...]
>>> ---snip---
>>>
>>> When having many projects in a multi-module build, and artifact size
>>> being quite large, then quite a great part of the build log consists
>>> only of upload progress messages...
>>>
>>> I did not find anything in documentation/mvn wiki/users mailinglist
>>> on this topic. I use mvn 2.0.7.
>>>
>>> Any hints appreciated, thx!
>>>
>>
>> We're kind of annoyed also. Our final assembly is about 150MB. Show
>> some dots for progress is OK (e.g. every 5% of complete size), but
>> the current display makes the complete output quite useless. Does
>> somebody know which component/artifact is responsible for this output?
>>
>> - Jörg
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: scp upload verbosity
Posted by Nick Stolwijk <ni...@planet.nl>.
As far as I can see the output is caused by a class in the wagon
project, namely Debug.java [1] I don't know which class instantiated it
(it is not instantiated inside the wagon project)
Hth,
Nick Stolwijk
[1]
http://svn.apache.org/viewvc/maven/wagon/trunk/wagon-provider-api/src/main/java/org/apache/maven/wagon/observers/Debug.java?view=log
Jörg Schaible wrote:
> Hi Martin,
>
> Martin Pruefer wrote on Thursday, September 20, 2007 2:11 PM:
>
>
>> Hi,
>>
>> is there any way to make the deploy plugin being less verbose when
>> uploading via scp to a server?
>> I'm building my project with 'mvn deploy' and for each artifact the
>> upload progress is being logged in a very verbose way like this:
>>
>> ---snip---
>> [...]
>> Uploading:
>> scp://my.snapshotserver.com/group/artifact/1.0-SNAPSHOT/artifa
>> ct-1.0-SNAPSHOT.jar 4/49K
>> 8/49K
>> 12/49K
>> 16/49K
>> 20/49K
>> 24/49K
>> 28/49K
>> 32/49K
>> 36/49K
>> 40/49K
>> 44/49K
>> 48/49K
>> 49/49K
>> 49K uploaded
>> [...]
>> ---snip---
>>
>> When having many projects in a multi-module build, and artifact size
>> being quite large, then quite a great part of the build log consists
>> only of upload progress messages...
>>
>> I did not find anything in documentation/mvn wiki/users mailinglist
>> on this topic. I use mvn 2.0.7.
>>
>> Any hints appreciated, thx!
>>
>
> We're kind of annoyed also. Our final assembly is about 150MB. Show some dots for progress is OK (e.g. every 5% of complete size), but the current display makes the complete output quite useless. Does somebody know which component/artifact is responsible for this output?
>
> - Jörg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: scp upload verbosity
Posted by Jörg Schaible <Jo...@Elsag-Solutions.com>.
Hi Martin,
Martin Pruefer wrote on Thursday, September 20, 2007 2:11 PM:
> Hi,
>
> is there any way to make the deploy plugin being less verbose when
> uploading via scp to a server?
> I'm building my project with 'mvn deploy' and for each artifact the
> upload progress is being logged in a very verbose way like this:
>
> ---snip---
> [...]
> Uploading:
> scp://my.snapshotserver.com/group/artifact/1.0-SNAPSHOT/artifa
> ct-1.0-SNAPSHOT.jar 4/49K
> 8/49K
> 12/49K
> 16/49K
> 20/49K
> 24/49K
> 28/49K
> 32/49K
> 36/49K
> 40/49K
> 44/49K
> 48/49K
> 49/49K
> 49K uploaded
> [...]
> ---snip---
>
> When having many projects in a multi-module build, and artifact size
> being quite large, then quite a great part of the build log consists
> only of upload progress messages...
>
> I did not find anything in documentation/mvn wiki/users mailinglist
> on this topic. I use mvn 2.0.7.
>
> Any hints appreciated, thx!
We're kind of annoyed also. Our final assembly is about 150MB. Show some dots for progress is OK (e.g. every 5% of complete size), but the current display makes the complete output quite useless. Does somebody know which component/artifact is responsible for this output?
- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org