Skip to content

Maven metadata in a replicated repository #20

@kevstigneev

Description

@kevstigneev

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:

  1. upload an artifact with a specific GAV to 1st hosted repository (and have it replicated);
  2. 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:

  1. using Maven upload an artifact with a specific GAV to 1st hosted repository (and have it replicated);
  2. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions