Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 3.25.1
-
Fix Version/s: 3.28.0
-
Component/s: import-export, Maven
Description
SYMPTOM
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.
REPRODUCE STEPS
- 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".
EXPECTED BEHAVIOUR
Export / Import task should preserve not only the Last Downloaded date but also the Published date.