Skip to content

Commit

Permalink
[MDEP-938] Correct invalid property name and add deprecated old one
Browse files Browse the repository at this point in the history
should be 'overWriteIfNewer' instead of 'overIfNewer' for clarity.
  • Loading branch information
hazendaz authored and slawekjaranowski committed Jun 6, 2024
1 parent d95615f commit ad5fdc5
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down

0 comments on commit ad5fdc5

Please sign in to comment.