From 5dd73017bb29eaccacb63cfa4ffec241c253ec01 Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Wed, 19 Nov 2025 16:22:00 -0500 Subject: [PATCH] fix(build): prioritize Maven central repository This should greatly reduce the number of 404s seen on clasweb logs. We now have the following numbers of 404 responses, before and after this change: ``` For https://clasweb.jlab.org/.clas12maven: - before change: 166 - after change: 28 For https://clasweb.jlab.org/.jhep/maven: - before change: 165 - after change: 11 ``` I confirmed that the 28 remaining 404s from clas12maven and the 11 from jhep/maven are coming from cases where Maven searches clas12maven first, then finds the dependency on jhep/maven, or vice versa. We may need a repository management solution (Nexus, Artifactory) to stop those. --- common-tools/coat-libs/pom.xml | 8 -------- pom.xml | 4 ++++ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/common-tools/coat-libs/pom.xml b/common-tools/coat-libs/pom.xml index 337f3d20a5..75656d016f 100644 --- a/common-tools/coat-libs/pom.xml +++ b/common-tools/coat-libs/pom.xml @@ -13,14 +13,6 @@ 13.4.1-SNAPSHOT - - - freehep-repo-public - https://clasweb.jlab.org/.clas12maven/ - - - - diff --git a/pom.xml b/pom.xml index 074926a901..9af48fe824 100644 --- a/pom.xml +++ b/pom.xml @@ -19,6 +19,10 @@ + + central + https://repo.maven.apache.org/maven2 + clas12maven https://clasweb.jlab.org/.clas12maven