Is there a way to ensure that only newer versions of an artifact are uploaded to a nexus repository?
I see there is an option to not allow redeploying an artifact but I am looking for a way to prevent an older version from getting uploaded.
Is there a way to ensure that only newer versions of an artifact are uploaded to a nexus repository?
I see there is an option to not allow redeploying an artifact but I am looking for a way to prevent an older version from getting uploaded.
Nexus cannot determine which version is older or which is latest, this is something you will have to perform, however you can restrict nexus on uploading the same version but restricting the deployment policy to "Disable Redeploy"