mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
[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:
committed by
GitHub
parent
b127d3a973
commit
131105315a
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user