Nuxeo build failing as maven.nuxeo.org is unreachable

I've been trying to build a nuxeo image since yesterday (May 15th), but it is continuously failing due to http://maven.nuxeo.org/nexus/content/groups/public (containing build jar files) being down. Are there plans to bring it back up? Alternatively, are there any mirrors available?

Step #1: Downloading from public: http://maven.nuxeo.org/nexus/content/groups/public/org/nuxeo/ecm/distribution/nuxeo-distribution/10.10/nuxeo-distribution-10.10.pom
Step #1: Downloading from nuxeo-studio: https://connect.nuxeo.com/nuxeo/site/studio/maven/org/nuxeo/ecm/distribution/nuxeo-distribution/10.10/nuxeo-distribution-10.10.pom
Step #1: Downloading from central: https://repo.maven.apache.org/maven2/org/nuxeo/ecm/distribution/nuxeo-distribution/10.10/nuxeo-distribution-10.10.pom
Step #1: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
Step #1: [ERROR] Non-resolvable import POM: Could not transfer artifact org.nuxeo.ecm.distribution:nuxeo-distribution:pom:10.10 from/to public (http://maven.nuxeo.org/nexus/content/groups/public): Failed to transfer file http://maven.nuxeo.org/nexus/content/groups/public/org/nuxeo/ecm/distribution/nuxeo-distribution/10.10/nuxeo-distribution-10.10.pom with status code 502
0 votes

2 answers

157 views

ANSWER



My team was advised to update POM files and replace any references to maven.nuxeo.org with packages.nuxeo.com or maven-eu.nuxeo.org.

1 votes



Thanks Terry! This worked for me: changing repository path from http://maven.nuxeo.org/nexus/content/groups/public to https://packages.nuxeo.com/repository/maven-public Looks like maven-eu.nuxeo.org has some packages missing while packages.nuxeo.com has all of them.
05/17/2022

Another problem I'm facing is that even pom files downloaded from packages.nuxeo.com point to maven.nuxeo.org for their own dependencies, (e.g. https://packages.nuxeo.com/repository/maven-public/org/nuxeo/nuxeo-ecm/10.10/nuxeo-ecm-10.10.pom), due to which my cloud build eventually fails. Is there a way to address this?
05/17/2022


You'll need to update the sourcse as only https://maven.nuxeo.org works. See my answer on how to do this because the maven repo is not the only thing you have to change in the code.

0 votes



I think none among http and https servers for maven.nuxeo.org is up anymore.
05/17/2022

Works for me, but I am also building the complete nuxeo source. Including nuxeo-distribution that is missing for you. I'm gonna try packages.nuxeo.com thou too.
05/17/2022