jira-importer commented on issue #493: URL: https://github.com/apache/maven-deploy-plugin/issues/493#issuecomment-2771546200
**[Guillaume Boué](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gboue)** commented [Vincent Vandenschrick](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=vvandens) I reproduced the issue clearly when building [Jspresso](https://github.com/jspresso/jspresso-ce), thanks for this example. The issue actually stems from the use of `flexmojos-maven-plugin` as an extension. The consequence is that metadatas are getting downloaded / uploaded twice, and the correct metadata of the first time is getting merged with the one produced the second time, sometimes built a second after. You can actually notice the duplicate download / upload in OP's initial output ``` [INFO] Downloading: http://nexus-url/content/repositories/snapshots/groupId/artifactId/31.0.0-SNAPSHOT/maven-metadata.xml [INFO] Downloaded: ... [INFO] Downloading: http://nexus-url/content/repositories/snapshots/groupId/artifactId/31.0.0-SNAPSHOT/maven-metadata.xml ... [INFO] Uploaded: http://nexus-url/content/repositories/snapshots/groupId/artifactId/31.0.0-SNAPSHOT/maven-metadata.xml (1.9 kB at 59 kB/s) [INFO] Uploading: ... [INFO] Uploaded: http://nexus-url/content/repositories/snapshots/groupId/artifactId/31.0.0-SNAPSHOT/maven-metadata.xml (1.9 kB at 43 kB/s) ``` This is indeed a Maven Core 3.5.0 issue, and does not come from the Deploy plugin. I will create a MNG issue with a possible fix. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
