5

For some reason the "latest" tag in the maven-metadata.xml files stopped getting updated when new versions of their corresponding artifacts were deployed. After searching all over the internets, all I've found is plenty of people saying that Maven produces/updates this file when it's running its deploy plugin, but if that's true, it seems my maven builds have, for some reason, stopped updating the latest tag. Is there anyway to force maven to update the tag during a build/deploy?

During my build, I see these messages, clearly indicating that it's downloading maven-metadata.xml, I assume updating it, then uploading it back to the server:

Downloading: https://<REPO_SERVER>/<ARTIFACT_PATH>/maven-metadata.xml
Downloaded: https://<REPO_SERVER>/<ARTIFACT_PATH>/maven-metadata.xml (955 B at 3.0 KB/sec)
Uploading: https://<REPO_SERVER>/<ARTIFACT_PATH>/maven-metadata.xml
Uploaded: https://<REPO_SERVER>/<ARTIFACT_PATH>/maven-metadata.xml (989 B at 1.5 KB/sec)
carlspring
  • 27,224
  • 23
  • 101
  • 178
Brent212
  • 1,505
  • 3
  • 15
  • 22
  • What version of Maven is this? – carlspring May 15 '17 at 10:37
  • Maven is not responsible for changing tag information, its only update tag. tag has been added and updated by Nexus itself. give some more input to understand problem – Afgan Feb 13 '18 at 12:40

0 Answers0