Skip to content

Commit 413e7c9

Browse files
committed
[GR-68921] Use Maven 3.3.9 on Windows, Maven 3.9.10 does not work on Windows
1 parent e24767b commit 413e7c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/common.jsonnet

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,14 @@ local common_json = import "../common.json";
247247
},
248248

249249
maven:: {
250+
local this = self,
250251
packages+: (if self.os == "linux" && self.arch == "amd64" then {
251252
maven: '==3.9.10',
252253
} else {}),
253254
# no maven package available on other platforms
254255
downloads+: (if self.os != "linux" || self.arch != "amd64" then {
255-
MAVEN_HOME: {name: 'maven', version: '3.9.10', platformspecific: false},
256+
# GR-68921: 3.9.10 does not work on Windows
257+
MAVEN_HOME: {name: 'maven', version: (if this.os == "windows" then '3.3.9' else '3.9.10'), platformspecific: false},
256258
} else {}),
257259
setup+: (if self.os != "linux" || self.arch != "amd64" then [
258260
['set-export', 'PATH', (if self.os == "windows" then '$MAVEN_HOME\\bin;$PATH' else '$MAVEN_HOME/bin:$PATH')],

0 commit comments

Comments
 (0)