Home > other >  Blocking artifact overwriting at repo level
Blocking artifact overwriting at repo level

Time:02-02

I am trying to block overwriting in JFrog Artifactory. I have a two Maven repos: one for snapshot versions and another for releases, the first one should allow overwriting while the second one doesn't. As I can see it must be configured at user level (How can I prevent previously deployed artifacts from being overwritten?) but I would need to do it at repo level. Is there any way to do it? Maybe it is possible configuring Maven?

CodePudding user response:

There is an option to use Include and Exclude Patterns at the repo level.

The Include Patterns and the Exclude Patterns fields provide a way to filter out specific repositories when trying to resolve the location of different artifacts.

In each field you can specify a list of Ant-like patterns to filter in and filter out artifact queries. Filtering works by subtracting the excluded patterns (default is none) from the included patterns (default is all).

CodePudding user response:

Finally I've implemented the solution based in user permissions. It seems to be the only way of doing it and works for me.

  • Related