This is an automated email from the ASF dual-hosted git repository. sjaranowski 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 ad5fdc57 [MDEP-938] Correct invalid property name and add deprecated old one ad5fdc57 is described below commit ad5fdc57ef8bee311138b8586e9dba8a219dda4d Author: Jeremy Landis <jeremylan...@hotmail.com> AuthorDate: Thu Jan 26 19:36:19 2023 -0500 [MDEP-938] Correct invalid property name and add deprecated old one should be 'overWriteIfNewer' instead of 'overIfNewer' for clarity. --- .../fromConfiguration/AbstractFromConfigurationMojo.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/AbstractFromConfigurationMojo.java b/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/AbstractFromConfigurationMojo.java index 5cf6c91f..debac774 100644 --- a/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/AbstractFromConfigurationMojo.java +++ b/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/AbstractFromConfigurationMojo.java @@ -79,8 +79,18 @@ public abstract class AbstractFromConfigurationMojo extends AbstractDependencyMo * Overwrite if newer * * @since 2.0 + * @deprecated Use 'overWriteIfNewer' or 'mdep.overWriteIfNewer' as this does nothing now. */ + @Deprecated @Parameter(property = "mdep.overIfNewer", defaultValue = "true") + private boolean overIfNewer; + + /** + * Overwrite if newer + * + * @since 3.7.0 + */ + @Parameter(property = "mdep.overWriteIfNewer", defaultValue = "true") private boolean overWriteIfNewer; /**