Assumes Maven repository roots listed in from
are mirrored at to
.
Assumes any tree with a prefix in from
is mirrored under to
.
Assumes any tree with a prefix in from
is mirrored under to
.
For example, if from == Seq("https://a.com/artifacts", "https://artifacts.b.com")
,
and to == "https://mirror.c.com/maven"
it is assumed "https://a.com/artifacts/a/b/c"
also exists at "https://mirror.c.com/maven/a/b/c"
,
and "https://artifacts.b.com/foo/e/f/g"
also exists at "https://mirror.c.com/maven/foo/e/f/g"
.
Assumes Maven repository roots listed in
from
are mirrored atto
.If
from
contains"*"
, it is assumed all Maven repositories in the resolution are mirrored atto
. Only _Maven_ repositories, not Ivy ones for example. See TreeMirror to mirror both types of repository.