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
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.
maven-eu.nuxeo.orghas some packages missing while
packages.nuxeo.comhas all of them.
maven.nuxeo.orgfor 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?
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.