[MSHADE-479] Make the mojo much less noisy by elharo · Pull Request #233 · apache/maven-shade-plugin (original) (raw)
This removes multiple screens of log cruft from every build that uses the shade plugin.
Flakes:
[INFO] ------------------------------------------------------------------------
Error: Failed to execute goal on project shadeMT4: Could not resolve dependencies for project org.apache.maven.its.shade.parallel:shadeMT4:jar:1.0.0-SNAPSHOT: Could not transfer artifact org.springframework:spring-aop:jar:5.3.31 from/to mrm-maven-plugin (http://localhost:50540): D:\a\maven-shade-plugin\maven-shade-plugin\target\local-repo\org\springframework\spring-aop\5.3.31\spring-aop-5.3.31.jar.part.lock (Access is denied) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project shadeMT4: Could not resolve dependencies for project org.apache.maven.its.shade.parallel:shadeMT4:jar:1.0.0-SNAPSHOT: Could not transfer artifact org.springframework:spring-aop:jar:5.3.31 from/to mrm-maven-plugin (http://localhost:50540): D:\a\maven-shade-plugin\maven-shade-plugin\target\local-repo\org\springframework\spring-aop\5.3.31\spring-aop-5.3.31.jar.part.lock (Access is denied)
at org.apache.maven.lifecyc
1 similar comment
I'd like to request to revert this change. The list is very important to let the user know which deps are shipped into the final shaded jar, especially when deps pull lots of transitive deps. If someone thinks it's noisy, please consider making the log level configurable.
They are configurable. If you want to see this set the log level to debug.
what I mean "configurable" is, allow setting those message level via plugin's configuration, not run mvn command in debug mode.
I'd like to request to revert this change. The list is very important to let the user know which deps are shipped into the final shaded jar, especially when deps pull lots of transitive deps. If someone thinks it's noisy, please consider making the log level configurable.
Same here. Made a feature request to bring it back under a verbose config option. #756
This was referenced
Nov 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})