mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 20:34:06 +00:00
Merge pull request #80728 from timokau/maven-jdk-overridable
maven: make jdk overridable
This commit is contained in:
commit
ec6bf457bf
@ -5,7 +5,7 @@ unpackPhase
|
||||
mkdir -p $out/maven
|
||||
cp -r $name/* $out/maven
|
||||
|
||||
makeWrapper $out/maven/bin/mvn $out/bin/mvn --set JAVA_HOME "$jdk"
|
||||
makeWrapper $out/maven/bin/mvn $out/bin/mvn --set-default JAVA_HOME "$jdk"
|
||||
|
||||
# Add the maven-axis and JIRA plugin by default when using maven 1.x
|
||||
if [ -e $out/maven/bin/maven ]
|
||||
|
Loading…
Reference in New Issue
Block a user