[Windows] Update maven version to 3.9 (#11321)

* [Windows] update maven version 3.9

Co-authored-by: Tim Jacomb <timja@users.noreply.github.com>

* [Windows] Updated maven version 9.0
Co-authored-by: Tim Jacomb <timja@users.noreply.github.com>

---------

Co-authored-by: Tim Jacomb <timja@users.noreply.github.com>
This commit is contained in:
vidyasagarnimmagaddi
2025-01-13 20:10:42 +05:30
committed by GitHub
parent b127d3a973
commit 131105315a
3 changed files with 2 additions and 3 deletions

View File

@@ -110,7 +110,6 @@ foreach ($jdkVersionToInstall in $jdkVersionsToInstall) {
# Install Java tools
# Force chocolatey to ignore dependencies on Ant and Maven or else they will download the Oracle JDK
Install-ChocoPackage ant -ArgumentList "--ignore-dependencies"
# Maven 3.9.x has multiple compatibilities problems
$toolsetMavenVersion = (Get-ToolsetContent).maven.version
$versionToInstall = Resolve-ChocoPackageVersion -PackageName "maven" -TargetVersion $toolsetMavenVersion