This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch df in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git
commit 1636aefbb9776c58404d824398d49b4da4679f2a Author: Elliotte Rusty Harold <[email protected]> AuthorDate: Sun Dec 21 18:43:23 2025 -0500 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,
