[ https://issues.apache.org/jira/browse/MDEPLOY-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14613805#comment-14613805 ]
Jeffrey Dang commented on MDEPLOY-197: -------------------------------------- What you said makes sense. Go ahead and close. Bad configuration of the pom.xml was how I found this particular use case, but i didn't consider the case when same file was going to multiple URLs. I was using the assembly plugin with the deploy and the URLs were the same. Bad configuration was the cause but it would have been nice for the deploy plugin to be smart about not uploading the same file to the same place twice. > deploy:deploy-file in some cases upload a file twice > ---------------------------------------------------- > > Key: MDEPLOY-197 > URL: https://issues.apache.org/jira/browse/MDEPLOY-197 > Project: Maven Deploy Plugin > Issue Type: Bug > Components: deploy:deploy-file > Affects Versions: 2.8.2 > Reporter: Jeffrey Dang > Priority: Trivial > Labels: easyfix > Attachments: added_file_check.patch > > Original Estimate: 5m > Remaining Estimate: 5m > > In org/apache/maven/plugin/deploy/DeployFileMojo.java, > When executing, deploy will be called on the file specified by deploy-file > goal. > Afterward, deploy will be called on project.getAttachedArtifacts(). > The specified deploy file can be included in the attached artifacts. -- This message was sent by Atlassian JIRA (v6.3.4#6332)