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

* [Windows] update maven version 3.9

Co-authored-by: Tim Jacomb <[email protected]>

* [Windows] Updated maven version 9.0
Co-authored-by: Tim Jacomb <[email protected]>

---------

Co-authored-by: Tim Jacomb <[email protected]>
This commit is contained in:
vidyasagarnimmagaddi
2025-01-13 07:40:42 -07:00
committed by GitHub
co-authored by Tim Jacomb
parent b127d3a973
commit 131105315a
3 changed files with 2 additions and 3 deletions
@@ -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