Skip to content

Conversation

@luocooong
Copy link
Member

@luocooong luocooong commented Feb 14, 2021

DRILL-7860: Suppress the transfer progress when downloading in CI maven build

Description

For example :

Downloading from jhdf5-repo: https://maven.scijava.org/content/repositories/public/org/apache/hbase/hbase-annotations/2.2.2/hbase-annotations-2.2.2.jar
Downloading from jhdf5-repo: https://maven.scijava.org/content/repositories/public/org/apache/htrace/htrace-core/3.1.0-incubating/htrace-core-3.1.0-incubating.jar
Downloading from jhdf5-repo: https://maven.scijava.org/content/repositories/public/org/jruby/jcodings/jcodings/1.0.8/jcodings-1.0.8.jar
Downloading from jhdf5-repo: https://maven.scijava.org/content/repositories/public/org/jruby/joni/joni/2.1.2/joni-2.1.2.jar
Progress (1): 4.1/187 kB
Progress (1): 7.7/187 kB
Progress (2): 7.7/187 kB | 0/1.3 MB
Progress (3): 7.7/187 kB | 0/1.3 MB | 4.1/6.8 kB
Progress (3): 7.7/187 kB | 0/1.3 MB | 6.8 kB    
Progress (4): 7.7/187 kB | 0/1.3 MB | 6.8 kB | 0/1.5 MB
Progress (4): 12/187 kB | 0/1.3 MB | 6.8 kB | 0/1.5 MB 
Progress (4): 16/187 kB | 0/1.3 MB | 6.8 kB | 0/1.5 MB
Progress (4): 20/187 kB | 0/1.3 MB | 6.8 kB | 0/1.5 MB
Progress (4): 24/187 kB | 0/1.3 MB | 6.8 kB | 0/1.5 MB
Progress (4): 28/187 kB | 0/1.3 MB | 6.8 kB | 0/1.5 MB
Progress (4): 32/187 kB | 0/1.3 MB | 6.8 kB | 0/1.5 MB
.....

Use an option :

mvn --no-transfer-progress ....

See also Release Notes – Maven 3.6.1

Documentation

N/A

Testing

Check the CI build logs (Done).

@luocooong luocooong marked this pull request as draft February 14, 2021 23:57
@luocooong luocooong force-pushed the DRILL-7860 branch 2 times, most recently from 0720608 to 783f960 Compare February 18, 2021 08:28
@luocooong luocooong marked this pull request as ready for review May 2, 2021 15:48
Copy link
Contributor

@cgivre cgivre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM +1

@cgivre cgivre merged commit 94e86d1 into apache:master May 12, 2021
@luocooong luocooong deleted the DRILL-7860 branch August 20, 2021 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants