jira-importer commented on issue #544: URL: https://github.com/apache/maven-deploy-plugin/issues/544#issuecomment-2771550510
**[Consultant Leon](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=consultantleon)** commented I came to this page experiencing the same problem. Shade plugin seems to generate sources jar with type jar and source plugin with type 'sources' if I understand the issue well enough from the research I've done. I managed to disable the sources plugin in a subproject where issue occured (duplicate deploy attempt of the -sources jar making the release build fail where the develop build succeeded to deploy to snapshot repo...!). It seems really strange that maven install/deploy cannot detect that exactly the same file is being deployed twice and silently filter for this! (it might be good to raise a warning if the same project artifact/attachment is built more than once of course, but breaking only the release deploy seems very badly behaved and it takes hours of investigation and clever workarounds to then get your project released...) BTW this problem occurs with maven 3.6.1 and on our jenkins 3.3.9. We used to build with an older version, I recall 3.2.1? and have released the same project successfully in the past, so I see this as a blocker regression bug. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org