Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maven-metadata.xml contains only last deployed version #19

Open
reimerp opened this issue Oct 2, 2015 · 0 comments
Open

maven-metadata.xml contains only last deployed version #19

reimerp opened this issue Oct 2, 2015 · 0 comments

Comments

@reimerp
Copy link

reimerp commented Oct 2, 2015

if I use this plugin for subsequent deplyoments of differen release versions
(we use a release Nexus Repository)
a new artefact is uploaded, but also a new
maven-metadata.xml file.
This file is located in the basedir of the artefact and it should contain a list of deployed versions.
Currently this list is destroyed / not maintained by the plugin, it simply overwrites the array with the actual version.

The epected behavior should be:

  • download metadata isf available,
  • add current version to version array
  • update lastmodified / latest etc. (as done already)
  • upload the file to the server again

Currently all tools depending on metadata will only see the last version deployed, older version are not visable, even if the artefact file still exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant