Admins will be upgrading ORNL GitLab Servers on Saturday, 16 May 2026, from 7 AM until 11 AM EST. Repositories will experience intermittent outages during this time.
# This is adapted from https://github.com/volth/nixpkgs/blob/6aa470dfd57cae46758b62010a93c5ff115215d7/pkgs/applications/networking/cluster/hadoop/default.nix#L20-L32
fetchedMavenDeps=stdenv.mkDerivation{
name="exhibitor-${version}-maven-deps";
inheritsrcnativeBuildInputs;
buildPhase=''
cd ${pomFileDir};
while timeout --kill-after=21m 20m mvn package -Dmaven.repo.local=$out/.m2; [ $? = 124 ]; do
echo "maven hangs while downloading :("
done
'';
installPhase=''find $out/.m2 -type f \! -regex '.+\(pom\|jar\|xml\|sha1\)' -delete'';# delete files with lastModified timestamps inside