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.
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.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?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.
nuxeo-distribution
that is missing for you. I'm gonna try packages.nuxeo.com
thou too.find ./ -name pom.xml -exec sed -i 's/http:\/\/maven.nuxeo.org\/nexus\/content\/groups\/public/https:\/\/packages.nuxeo.com\/repository\/maven-public/g' {} \;