Cleanup artedfact posted by curl

Hi,
I want to use cleanup policy .
It’s fine for artifact posted by maven (java code)

BUT

I also post zip file by curl command.
And the cleanup policy doesn’t find any artefacts.

Why ?

Thx
Michel

In Nexus cleanup is built around Components which could also be thought of as coordinates.

In a maven repository if you’ve uploaded files to arbitrary locations which don’t follow maven convention then these files will not be considered for cleanup by policy. You need to manage these files manually.