You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Anton Alipov <al...@ieee.org> on 2019/03/19 11:44:45 UTC
IPv6 connectivity to Maven repos
Hi,
I've been trying to make builds on an IPv6-only machine, and I am getting
errors like this:
[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of
its dependencies could not be resolved: Failed to read artifact descriptor
for org.apache.maven.plugins:maven-resources-plugin:jar:2.5: Could not
transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.5
from/to central (https://repo.maven.apache.org/maven2): Network is
unreachable (connect failed) -> [Help 1]
The message is reasonable, since, as it turns out, maven.map.fastly.net, to
which repo.maven.apache.org ultimately resolves, does not have an AAAA
record.
Is it possible that in 2019 there is still no IPv6 connectivity to Apache
repositories, or am I missing something? Perhaps, with IPv6 I need to
connect to another URL, or something?
Thx in advance!
Anton
RE: IPv6 connectivity to Maven repos
Posted by Samuli Saarinen <sa...@remion.com>.
Hi,
The repo you are using is not browsable but if you try to get some file that actually exists it should work. Eg. https://maven-central-eu.storage-download.googleapis.com/repos/central/data/abbot/abbot/1.4.0/abbot-1.4.0.pom
br,
Samuli
> -----Original Message-----
> From: Anton Alipov <al...@ieee.org>
> Sent: 20. maaliskuutata 2019 16:43
> To: 'Maven Users List' <us...@maven.apache.org>
> Subject: RE: IPv6 connectivity to Maven repos
>
> Hi Tamás,
>
> Thanks for the hint.
>
> After adding a mirror into settings.xml as specified in these instructions:
> https://storage-download.googleapis.com/maven-central/index.html
>
> I still get the same error:
>
> [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or
> one of its dependencies could not be resolved: Failed to read artifact
> descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5:
> Could not transfer artifact org.apache.maven.plugins:maven-resources-
> plugin:pom:2.5 from/to google-maven-central (https://maven-central-
> eu.storage-download.googleapis.com/repos/central/data/): Network is
> unreachable (connect failed) -> [Help 1]
>
> The HTTP session as such works fine though, but the "no such key" error is
> returned:
>
> curl https://maven-central-eu.storage-
> download.googleapis.com/repos/central/data/
> <?xml version='1.0' encoding='UTF-
> 8'?><Error><Code>NoSuchKey</Code><Message>The specified key does
> not exist.</Message><Details>No such object: maven-central-
> eu/repos/central/data/</Details></Error>
>
> Anything there I'm missing?
>
> BR,
>
> Anton
>
>
> -----Original Message-----
> From: Tamás Cservenák <ta...@cservenak.net>
> Sent: Tuesday, March 19, 2019 3:58 PM
> To: Maven Users List <us...@maven.apache.org>
> Subject: Re: IPv6 connectivity to Maven repos
>
> Try this mirror
> https://maven-central.storage.googleapis.com/
>
> On Tue, Mar 19, 2019 at 12:44 PM Anton Alipov <al...@ieee.org> wrote:
>
> > Hi,
> >
> >
> >
> > I've been trying to make builds on an IPv6-only machine, and I am
> > getting errors like this:
> >
> >
> >
> > [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or
> > one of its dependencies could not be resolved: Failed to read artifact
> > descriptor for
> > org.apache.maven.plugins:maven-resources-plugin:jar:2.5: Could not
> > transfer artifact
> > org.apache.maven.plugins:maven-resources-plugin:pom:2.5
> > from/to central (https://repo.maven.apache.org/maven2): Network is
> > unreachable (connect failed) -> [Help 1]
> >
> >
> >
> > The message is reasonable, since, as it turns out,
> > maven.map.fastly.net, to which repo.maven.apache.org ultimately
> > resolves, does not have an AAAA record.
> >
> > Is it possible that in 2019 there is still no IPv6 connectivity to
> > Apache repositories, or am I missing something? Perhaps, with IPv6 I
> > need to connect to another URL, or something?
> >
> >
> >
> > Thx in advance!
> >
> >
> >
> > Anton
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
RE: IPv6 connectivity to Maven repos
Posted by Anton Alipov <al...@ieee.org>.
Hi Tamás,
Thanks for the hint.
After adding a mirror into settings.xml as specified in these instructions: https://storage-download.googleapis.com/maven-central/index.html
I still get the same error:
[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.5 from/to google-maven-central (https://maven-central-eu.storage-download.googleapis.com/repos/central/data/): Network is unreachable (connect failed) -> [Help 1]
The HTTP session as such works fine though, but the "no such key" error is returned:
curl https://maven-central-eu.storage-download.googleapis.com/repos/central/data/
<?xml version='1.0' encoding='UTF-8'?><Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Details>No such object: maven-central-eu/repos/central/data/</Details></Error>
Anything there I'm missing?
BR,
Anton
-----Original Message-----
From: Tamás Cservenák <ta...@cservenak.net>
Sent: Tuesday, March 19, 2019 3:58 PM
To: Maven Users List <us...@maven.apache.org>
Subject: Re: IPv6 connectivity to Maven repos
Try this mirror
https://maven-central.storage.googleapis.com/
On Tue, Mar 19, 2019 at 12:44 PM Anton Alipov <al...@ieee.org> wrote:
> Hi,
>
>
>
> I've been trying to make builds on an IPv6-only machine, and I am
> getting errors like this:
>
>
>
> [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or
> one of its dependencies could not be resolved: Failed to read artifact
> descriptor for
> org.apache.maven.plugins:maven-resources-plugin:jar:2.5: Could not
> transfer artifact
> org.apache.maven.plugins:maven-resources-plugin:pom:2.5
> from/to central (https://repo.maven.apache.org/maven2): Network is
> unreachable (connect failed) -> [Help 1]
>
>
>
> The message is reasonable, since, as it turns out,
> maven.map.fastly.net, to which repo.maven.apache.org ultimately
> resolves, does not have an AAAA record.
>
> Is it possible that in 2019 there is still no IPv6 connectivity to
> Apache repositories, or am I missing something? Perhaps, with IPv6 I
> need to connect to another URL, or something?
>
>
>
> Thx in advance!
>
>
>
> Anton
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: IPv6 connectivity to Maven repos
Posted by Tamás Cservenák <ta...@cservenak.net>.
Try this mirror
https://maven-central.storage.googleapis.com/
On Tue, Mar 19, 2019 at 12:44 PM Anton Alipov <al...@ieee.org> wrote:
> Hi,
>
>
>
> I've been trying to make builds on an IPv6-only machine, and I am getting
> errors like this:
>
>
>
> [ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one
> of
> its dependencies could not be resolved: Failed to read artifact descriptor
> for org.apache.maven.plugins:maven-resources-plugin:jar:2.5: Could not
> transfer artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.5
> from/to central (https://repo.maven.apache.org/maven2): Network is
> unreachable (connect failed) -> [Help 1]
>
>
>
> The message is reasonable, since, as it turns out, maven.map.fastly.net,
> to
> which repo.maven.apache.org ultimately resolves, does not have an AAAA
> record.
>
> Is it possible that in 2019 there is still no IPv6 connectivity to Apache
> repositories, or am I missing something? Perhaps, with IPv6 I need to
> connect to another URL, or something?
>
>
>
> Thx in advance!
>
>
>
> Anton
>
>