Description
If dependencies are not available in local repo, Maven logs download progress for each:
[INFO] Downloading from apache.snapshots: https://repository.apache.org/snapshots/com/github/spotbugs/spotbugs-maven-plugin/4.2.0/spotbugs-maven-plugin-4.2.0.pom [INFO] Downloading from central: https://repo.maven.apache.org/maven2/com/github/spotbugs/spotbugs-maven-plugin/4.2.0/spotbugs-maven-plugin-4.2.0.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/github/spotbugs/spotbugs-maven-plugin/4.2.0/spotbugs-maven-plugin-4.2.0.pom (33 kB at 1.3 MB/s) [INFO] Downloading from apache.snapshots: https://repository.apache.org/snapshots/com/github/hazendaz/base-parent/27/base-parent-27.pom [INFO] Downloading from central: https://repo.maven.apache.org/maven2/com/github/hazendaz/base-parent/27/base-parent-27.pom [INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/github/hazendaz/base-parent/27/base-parent-27.pom (87 kB at 7.9 MB/s)
This may increase log by 1000+ lines. I think it is unnecessary.
CI uses Github Actions cache for Maven dependencies, so this is only noticeable in case of cache miss (usually on POM change or in forks).
Attachments
Issue Links
- is related to
-
HDDS-6789 Omit download progress in builds
- Resolved
-
RATIS-1307 Cache Maven dependencies in CI workflow
- Resolved
- links to