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 cc9cc12d Move doc comment to correct location (#1568)
cc9cc12d is described below
commit cc9cc12d4faf38ae80ab2795c624a220065eb766
Author: Elliotte Rusty Harold <[email protected]>
AuthorDate: Mon Dec 22 17:55:31 2025 +0000
Move doc comment to correct location (#1568)
* Move doc comment to correct location
---
.../plugins/dependency/fromDependencies/CopyDependenciesMojo.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/CopyDependenciesMojo.java
b/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/CopyDependenciesMojo.java
index ece09828..9378fd52 100644
---
a/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/CopyDependenciesMojo.java
+++
b/src/main/java/org/apache/maven/plugins/dependency/fromDependencies/CopyDependenciesMojo.java
@@ -227,6 +227,8 @@ public class CopyDependenciesMojo extends
AbstractFromDependenciesMojo {
copyArtifact(artifact, removeVersion, prependGroupId,
theUseBaseVersion, false);
}
+ private static final String SIGNATURE_EXTENSION = ".asc";
+
/**
* Copies the Artifact after building the destination file name if
overridden. This method also checks if the
* classifier is set and adds it to the destination file name if needed.
@@ -240,8 +242,6 @@ public class CopyDependenciesMojo extends
AbstractFromDependenciesMojo {
* @see CopyUtil#copyArtifactFile(Artifact, File)
* @see DependencyUtil#getFormattedOutputDirectory(boolean, boolean,
boolean, boolean, boolean, boolean, File, Artifact)
*/
- private static final String SIGNATURE_EXTENSION = ".asc";
-
protected void copyArtifact(
Artifact artifact,
boolean removeVersion,