From d2c7eb1dfab840ec690a81a1fa5a770305e438ff Mon Sep 17 00:00:00 2001 From: Dibir Magomedsaygitov <61747324+dibir-magomedsaygitov@users.noreply.github.com> Date: Mon, 30 Aug 2021 09:54:10 +0300 Subject: [PATCH] [Windows] Remove exact maven version to install (#3975) --- images/win/scripts/Installers/Install-JavaTools.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.