Cleanup permissive repository


When using maven deploy plugin with a yum repository in nexus, layout policy must be set to Permissive.

When cleaning up this repository, its seems that only artifacts with default type (rpm for yum) get delete, all other artifacts do not get cleaned up.

Is it expected ? Is there a work around ?

If you’re referring to Nexus’s cleanup policies then yes, only files associated with a component are removed.