diff --git a/images/ubuntu/Ubuntu2404-Readme.md b/images/ubuntu/Ubuntu2404-Readme.md index 77257c0f901a..15e9bc5f7548 100644 --- a/images/ubuntu/Ubuntu2404-Readme.md +++ b/images/ubuntu/Ubuntu2404-Readme.md @@ -58,7 +58,7 @@ to accomplish this. - Ant 1.10.14 - Gradle 8.11.1 - Lerna 8.1.9 -- Maven 3.8.8 +- Maven 3.9.9 ### Tools - Ansible 2.18.0 @@ -313,4 +313,3 @@ Use the following command as a part of your job to start the service: 'sudo syst | xz-utils | 5.6.1+really5.4.5-1build0.1 | | zip | 3.0-13build1 | | zsync | 0.6.2-5build1 | - diff --git a/images/ubuntu/toolsets/toolset-2004.json b/images/ubuntu/toolsets/toolset-2004.json index 13d83e5513c2..fd605fcc7837 100644 --- a/images/ubuntu/toolsets/toolset-2004.json +++ b/images/ubuntu/toolsets/toolset-2004.json @@ -73,7 +73,7 @@ "java": { "default": "11", "versions": [ "8", "11", "17", "21"], - "maven": "3.8.8" + "maven": "3.9.9" }, "android": { "cmdline-tools": "commandlinetools-linux-9477386_latest.zip", diff --git a/images/ubuntu/toolsets/toolset-2204.json b/images/ubuntu/toolsets/toolset-2204.json index 551526f793ee..8ce3f8652cee 100644 --- a/images/ubuntu/toolsets/toolset-2204.json +++ b/images/ubuntu/toolsets/toolset-2204.json @@ -70,7 +70,7 @@ "java": { "default": "11", "versions": [ "8", "11", "17", "21"], - "maven": "3.8.8" + "maven": "3.9.9" }, "android": { "cmdline-tools": "commandlinetools-linux-9477386_latest.zip", diff --git a/images/ubuntu/toolsets/toolset-2404.json b/images/ubuntu/toolsets/toolset-2404.json index f9d8d04ff164..c723fa056a50 100644 --- a/images/ubuntu/toolsets/toolset-2404.json +++ b/images/ubuntu/toolsets/toolset-2404.json @@ -65,7 +65,7 @@ "java": { "default": "17", "versions": [ "8", "11", "17", "21"], - "maven": "3.8.8" + "maven": "3.9.9" }, "android": { "cmdline-tools": "commandlinetools-linux-11076708_latest.zip", diff --git a/images/windows/scripts/build/Install-JavaTools.ps1 b/images/windows/scripts/build/Install-JavaTools.ps1 index 655e6ad072ca..00470a10b0fa 100644 --- a/images/windows/scripts/build/Install-JavaTools.ps1 +++ b/images/windows/scripts/build/Install-JavaTools.ps1 @@ -110,7 +110,7 @@ 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 diff --git a/images/windows/toolsets/toolset-2019.json b/images/windows/toolsets/toolset-2019.json index db9aa6099879..887c2c05fc74 100644 --- a/images/windows/toolsets/toolset-2019.json +++ b/images/windows/toolsets/toolset-2019.json @@ -452,7 +452,7 @@ "default": "18.*" }, "maven": { - "version": "3.8" + "version": "3.9" }, "mysql": { "version": "5.7", diff --git a/images/windows/toolsets/toolset-2022.json b/images/windows/toolsets/toolset-2022.json index 8052ea7066ae..bcfb0e39d63f 100644 --- a/images/windows/toolsets/toolset-2022.json +++ b/images/windows/toolsets/toolset-2022.json @@ -361,7 +361,7 @@ "default": "18.*" }, "maven": { - "version": "3.8" + "version": "3.9" }, "mysql": { "version": "8.0",