I have an action on my project that performs a build whenever a commit is pushed to our develop branch.
As of this weekend, that action is randomly failing during the build/test phase. And normally the failure is for the same artifact: file-management 3.0.0
I’ve sat an watched the build run and Github will sit on the following line for a very long time:
[INFO] --- jacoco-maven-plugin:0.8.5:report (report) @ comixed-library --- [INFO] Loading execution data file /home/runner/work/comixed/comixed/comixed-library/target/jacoco.exec [INFO] Analyzed bundle 'comixed-library' with 56 classes [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ comixed-library --- Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/shared/file-management/3.0.0/file-management-3.0.0.pom
Then, ultimately, the build times out and fails.
But this same build runs flawlessly locally, including downloading the artifact (tested by deleting my local repo and running a full build). What’s confusing to me is that this isn’t even a dependency of my project, at least not a direct or indirect on according to
What can I do to fix this?