diff --git a/images/win/scripts/Installers/Install-JavaTools.ps1 b/images/win/scripts/Installers/Install-JavaTools.ps1 index bab2f13bc..f2e2bcaa1 100644 --- a/images/win/scripts/Installers/Install-JavaTools.ps1 +++ b/images/win/scripts/Installers/Install-JavaTools.ps1 @@ -103,7 +103,7 @@ foreach ($jdkVersion in $jdkVersions) { # Install Java tools # Force chocolatey to ignore dependencies on Ant and Maven or else they will download the Oracle JDK Choco-Install -PackageName ant -ArgumentList "-i" -Choco-Install -PackageName maven -ArgumentList "-i", "--version=3.8.1" +Choco-Install -PackageName maven -ArgumentList "-i" Choco-Install -PackageName gradle # Move maven variables to Machine. They may not be in the environment for this script so we need to read them from the registry.