This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git
The following commit(s) were added to refs/heads/master by this push: new 1e203263 Deprecate slient parameter 1e203263 is described below commit 1e20326392569ef587844b2fd8434ae7d255d639 Author: Elliotte Rusty Harold <elh...@ibiblio.org> AuthorDate: Tue Oct 22 15:40:35 2024 -0400 Deprecate slient parameter --- .../org/apache/maven/plugins/dependency/AbstractDependencyMojo.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/apache/maven/plugins/dependency/AbstractDependencyMojo.java b/src/main/java/org/apache/maven/plugins/dependency/AbstractDependencyMojo.java index 11482499..bbf981af 100644 --- a/src/main/java/org/apache/maven/plugins/dependency/AbstractDependencyMojo.java +++ b/src/main/java/org/apache/maven/plugins/dependency/AbstractDependencyMojo.java @@ -86,8 +86,10 @@ public abstract class AbstractDependencyMojo extends AbstractMojo { /** * If the plugin should be silent. * + * @deprecated to be removed in 4.0; use -Q command line option instead * @since 2.0 */ + @Deprecated @Parameter(property = "silent", defaultValue = "false") private boolean silent; @@ -170,14 +172,18 @@ public abstract class AbstractDependencyMojo extends AbstractMojo { /** * @return {@link #silent} + * @deprecated to be removed in 4.0 */ + @Deprecated protected final boolean isSilent() { return silent; } /** * @param silent {@link #silent} + * @deprecated to be removed in 4.0; no API replacement, use -Q command line option instead */ + @Deprecated public void setSilent(boolean silent) { this.silent = silent; if (silent) {