[Windows] Remove exact maven version to install (#3975)

This commit is contained in:
Dibir Magomedsaygitov
2021-08-30 09:54:10 +03:00
committed by GitHub
parent 1cbea05824
commit d2c7eb1dfa

View File

@@ -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.