Merge pull request #133686 from Stunkymonkey/java-maven-phases

buildMaven: deprecate phases
This commit is contained in:
Jörg Thalheim 2021-08-13 05:35:51 +01:00 committed by GitHub
commit ddc18b7bbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ in stdenv.mkDerivation rec {
find = ''find ${concatStringsSep " " (map (x: x + "/m2") flatDeps)} -type d -printf '%P\n' | xargs -I {} mkdir -p $out/m2/{}'';
copy = ''cp -rsfu ${concatStringsSep " " (map (x: x + "/m2/*") flatDeps)} $out/m2'';
phases = [ "unpackPhase" "buildPhase" ];
dontInstall = true;
buildPhase = ''
mkdir -p $out/target