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 4a869766 Fix - markersDirectory is not working when unpack goal is 
executed from command line #536
4a869766 is described below

commit 4a869766a611bf569995ba9ce9160471e05509c5
Author: Vaibhav Batra <[email protected]>
AuthorDate: Sun Jun 15 03:27:19 2025 +0530

    Fix - markersDirectory is not working when unpack goal is executed from 
command line #536
---
 .../apache/maven/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 9d2815cb..46476a99 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;
 
     /**

Reply via email to