(address . bug-guix@gnu.org)
Hi,
When I set a mirror in ~/.m2/settings.xml, that mirror is not used by
the maven in Guix.
To reproduce:
mkdir -p ~/.m2/
echo '
<settings>
<servers>
<server>
<id>internal</id>
<username>foo</username>
<password>bar</password>
</server>
</servers>
<mirrors>
<mirror>
<id>nexus</id>
<name>nexus</name>
<mirrorOf>*</mirrorOf>
</mirror>
</mirrors>
</settings>
' > ~/.m2/settings.xml
# run maven somewhere
With this setting, maven should run every request through the configured
nexus (which in this case means that any try to download should fail).
In my setup, maven just ignores this setting and keeps downloading from
repo.maven.apache.org which (a) could leak internal information and (b)
does not get our internal packages.
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein
ohne es zu merken
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE801qEjXQSQPNItXAE++NRSQDw+sFAlzEwVEACgkQE++NRSQD
w+utXhAAj5nTG6tzYdHvrJFypf/DIUrFFR44ulT3l4AN9//T45JBfojPevXKML4v
uC67t9Bq4fsW2bKz2wpbCxlafk9vRYtOPpAzQ3A8IPXviBvNX7PaVwTs+XY5lfUs
c85SoIODcERPc3NRfcyqXZ8pt2EEGf6joCxhzx7YYYZbZXSQLvAJttJ0jGW5REsg
K4Fhgdvrbgp+/Jvqkm6fTRUXx1FxPN92dEQVMHJoiRkbdziVzcyOuk91I4v5N+El
ZfZ4zRuq13Qy9MPH8u4/0Hvt8YE92yPtx33fnchg/u/PVeJNh0ZuA766+Qbu5hfa
ZrhtAAK7KKKSKroG4AK5gvzX5WJSrR+iyHGVM/u370pAyKorQDfthmyLsUPa80Z7
tRkad667WDQhk3dI7kHetX0WGcgeCehZ8GbTAe5zSNkVs3VZaFQtKbmtIukqB6KP
U2GAvGPOGQSmKItlaHEirK0Om+5dyEZmwKYfMu1OK3wglZ12OuBDEjEuZAl9mQW7
LofoL4xgcSoydwhf48d3f5L3YmguRO3ypE3alu4B+QlNdGGqA7mvhQH8YnSz+Ft9
LpouYX6fgRAbSw1+xsH/oocHYXUmSvH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