From 87a1ae0e9190d288ffd18d971e59499931c61a10 Mon Sep 17 00:00:00 2001 From: Vaibhav Batra Date: Sun, 15 Jun 2025 03:27:19 +0530 Subject: [PATCH] Fix - markersDirectory is not working when unpack goal is executed from command line #536 --- .../plugins/dependency/fromConfiguration/UnpackMojo.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/UnpackMojo.java b/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/UnpackMojo.java index 9d2815cbb..46476a99a 100644 --- a/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/UnpackMojo.java +++ b/src/main/java/org/apache/maven/plugins/dependency/fromConfiguration/UnpackMojo.java @@ -55,7 +55,9 @@ public class UnpackMojo extends AbstractFromConfigurationMojo { /** * Directory to store flag files after unpack */ - @Parameter(defaultValue = "${project.build.directory}/dependency-maven-plugin-markers") + @Parameter( + property = "markersDirectory", + defaultValue = "${project.build.directory}/dependency-maven-plugin-markers") private File markersDirectory; /**