From 2e2fb133890aeb7f2999b36a37ad221d50f15ece Mon Sep 17 00:00:00 2001 From: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com> Date: Fri, 10 Mar 2023 14:03:57 +0100 Subject: [PATCH] [Ubuntu] print maven version on Ubuntu 22.04 (#7265) --- .../linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 b/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 index ac7c8daa6..5c48fa0c8 100644 --- a/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 +++ b/images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1 @@ -88,8 +88,8 @@ if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) { if ((Test-IsUbuntu20) -or (Test-IsUbuntu22)) { $projectManagement.AddToolVersion("Lerna", $(Get-LernaVersion)) } +$projectManagement.AddToolVersion("Maven", $(Get-MavenVersion)) if ((Test-IsUbuntu18) -or (Test-IsUbuntu20)) { - $projectManagement.AddToolVersion("Maven", $(Get-MavenVersion)) $projectManagement.AddToolVersion("Sbt", $(Get-SbtVersion)) }