Applying Cleanup policy to all maven snapshot repository

Is there any mechanism, clean-up policy can be applied to specific set of repositories without having to do it manually one at a time.
Maybe using APIs or content selector ?