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-deploy-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 526972a  Remove redundant cast (#109)
526972a is described below

commit 526972a240d88c8d51d2943499b7a7ec80eae6c5
Author: Elliotte Rusty Harold <elh...@users.noreply.github.com>
AuthorDate: Mon Feb 24 18:30:14 2025 +0000

    Remove redundant cast (#109)
---
 src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java 
b/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java
index 1cdf590..3f0e32d 100644
--- a/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java
+++ b/src/main/java/org/apache/maven/plugins/deploy/DeployMojo.java
@@ -298,7 +298,7 @@ public class DeployMojo extends AbstractDeployMojo {
         ArtifactDeployerRequest request = ArtifactDeployerRequest.builder()
                 .session(session)
                 
.repository(getDeploymentRepository(session.isVersionSnapshot(project.getVersion())))
-                .artifacts((Collection) deployables)
+                .artifacts(deployables)
                 .retryFailedDeploymentCount(Math.max(1, Math.min(10, 
getRetryFailedDeploymentCount())))
                 .build();
 

Reply via email to