1

Can anyone provide me a solution for not allowing jar with the same version to be pushed on repository again?

I am using JFrog as artifactory. And Maven version is 3.0.5

iamLalit
  • 448
  • 3
  • 20
  • 3
    First. What you have tried so far? and what do you mean by `same version`? Are we talking about a SNAPSHOT or a release version? – khmarbaise Aug 06 '18 at 07:09
  • The same version means one project to be deployed on artifactory with the existing version. – iamLalit Aug 07 '18 at 09:20
  • So we are talking about a release version like `1.0.0`...if so it could be configured (If i'm not mistaken) but I can strongly discourage it cause releases must be immutable...otherwise you will ran into other issues... – khmarbaise Aug 07 '18 at 10:58
  • See here: https://stackoverflow.com/questions/6461152/how-can-i-prevent-previously-deployed-artifacts-from-being-overwritten – galusben Aug 09 '18 at 07:25
  • 1
    Possible duplicate of [How can I prevent previously deployed artifacts from being overwritten?](https://stackoverflow.com/questions/6461152/how-can-i-prevent-previously-deployed-artifacts-from-being-overwritten) – galusben Aug 09 '18 at 07:26
  • One more Question, Need to restrict all project except one from being overridden. How can I achieve this? – iamLalit Aug 18 '18 at 06:22

0 Answers0