-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
Preconditions:
- 2 Nexus instances;
- each instance has a hosted repository;
- each instance has a proxy repository for the peer's hosted repo;
- each instance has a repository group containing these hosted and proxy repositories;
- replication plugin is installed and configured on both.
Given the hosted repositories are of "release" type:
- upload an artifact with a specific GAV to 1st hosted repository (and have it replicated);
- upload another artifact with the same GA but another Version to 2nd hosted repository (and have it replicated).
Questions:
- Can I retrieve both artifacts from both repository groups?
- What is Maven metadata for the GA looks like after that - as seen from both repository groups?
Given the hosted repositories are of "snapshot" type:
- using Maven upload an artifact with a specific GAV to 1st hosted repository (and have it replicated);
- upload another artifact with the same GAV 2nd hosted repository - it has a different timestamp (and have it replicated).
Questions:
- Can I retrieve both artifacts from both repository groups (using "resolved" snapshot versions with timestamps)?
- What artifact will I get for X.Y-SNAPSHOT version - from both repository groups?
- What is Maven metadata for the GAV looks like after that - as seen from both repository groups?