Ran "Export assets" from node A, then ran "Import external files" on node B.
Tried to setup a cleanup policy with "Published Before" days, but the preview doesn't show any component, even with "1" day.
- Find a Nexus which has some maven proxy or hosted repository which has a few days old components (eg: maven-central)
- Run "Export assets" (and copy the exported directory to a new Nexus node)
- Install a new Nexus 3.25.1, then create a new maven2 hosted repo
- Run "Import external files" task against this new hosted repo
- Create a new Cleanup Policy with Published Before "1".
Export / Import task should preserve not only the Last Downloaded date but also the Published date.