This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch cast in repository https://gitbox.apache.org/repos/asf/maven-deploy-plugin.git
commit 4368ad75ac4670f95eab39870a8721dd4b60fa29 Author: Elliotte Rusty Harold <elh...@ibiblio.org> AuthorDate: Sun Feb 23 14:09:40 2025 -0500 Remove redundant cast --- 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();