Skip to content

Commit ada1b7e

Browse files
Add JDK 21 as a selectable option to Maven tasks (#20693)
* Add JDK21 to Maven4 * Update Maven4 version * Update MavenV2/MavenV3 * Update Maven2 version
1 parent 92673cc commit ada1b7e

File tree

18 files changed

+76
-46
lines changed

18 files changed

+76
-46
lines changed

Tasks/MavenV2/task.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"version": {
1919
"Major": 2,
2020
"Minor": 249,
21-
"Patch": 0
21+
"Patch": 1
2222
},
2323
"releaseNotes": "Configuration of the SonarQube analysis was moved to the [SonarQube](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube) or [SonarCloud](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarcloud) extensions, in task `Prepare Analysis Configuration`",
2424
"demands": [
@@ -229,6 +229,7 @@
229229
"visibleRule": "javaHomeSelection = JDKVersion",
230230
"options": {
231231
"default": "default",
232+
"1.21": "JDK 21",
232233
"1.17": "JDK 17",
233234
"1.11": "JDK 11",
234235
"1.10": "JDK 10 (out of support)",

Tasks/MavenV2/task.loc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"version": {
1919
"Major": 2,
2020
"Minor": 249,
21-
"Patch": 0
21+
"Patch": 1
2222
},
2323
"releaseNotes": "ms-resource:loc.releaseNotes",
2424
"demands": [
@@ -229,6 +229,7 @@
229229
"visibleRule": "javaHomeSelection = JDKVersion",
230230
"options": {
231231
"default": "default",
232+
"1.21": "JDK 21",
232233
"1.17": "JDK 17",
233234
"1.11": "JDK 11",
234235
"1.10": "JDK 10 (out of support)",

Tasks/MavenV3/task.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 3,
20-
"Minor": 247,
21-
"Patch": 0
20+
"Minor": 249,
21+
"Patch": 5
2222
},
2323
"releaseNotes": "Configuration of the SonarQube analysis was moved to the [SonarQube](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube) or [SonarCloud](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarcloud) extensions, in task `Prepare Analysis Configuration`",
2424
"demands": [
@@ -229,6 +229,7 @@
229229
"visibleRule": "javaHomeSelection = JDKVersion",
230230
"options": {
231231
"default": "default",
232+
"1.21": "JDK 21",
232233
"1.17": "JDK 17",
233234
"1.11": "JDK 11",
234235
"1.10": "JDK 10 (out of support)",

Tasks/MavenV3/task.loc.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 3,
20-
"Minor": 247,
21-
"Patch": 0
20+
"Minor": 249,
21+
"Patch": 5
2222
},
2323
"releaseNotes": "ms-resource:loc.releaseNotes",
2424
"demands": [
@@ -229,6 +229,7 @@
229229
"visibleRule": "javaHomeSelection = JDKVersion",
230230
"options": {
231231
"default": "default",
232+
"1.21": "JDK 21",
232233
"1.17": "JDK 17",
233234
"1.11": "JDK 11",
234235
"1.10": "JDK 10 (out of support)",

Tasks/MavenV4/task.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 4,
20-
"Minor": 247,
21-
"Patch": 0
20+
"Minor": 249,
21+
"Patch": 5
2222
},
2323
"releaseNotes": "Configuration of the SonarQube analysis was moved to the [SonarQube](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube) or [SonarCloud](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarcloud) extensions, in task `Prepare Analysis Configuration`",
2424
"demands": [
@@ -237,6 +237,7 @@
237237
"visibleRule": "javaHomeSelection = JDKVersion",
238238
"options": {
239239
"default": "default",
240+
"1.21": "JDK 21",
240241
"1.17": "JDK 17",
241242
"1.11": "JDK 11",
242243
"1.10": "JDK 10 (out of support)",

Tasks/MavenV4/task.loc.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 4,
20-
"Minor": 247,
21-
"Patch": 0
20+
"Minor": 249,
21+
"Patch": 5
2222
},
2323
"releaseNotes": "ms-resource:loc.releaseNotes",
2424
"demands": [
@@ -237,6 +237,7 @@
237237
"visibleRule": "javaHomeSelection = JDKVersion",
238238
"options": {
239239
"default": "default",
240+
"1.21": "JDK 21",
240241
"1.17": "JDK 17",
241242
"1.11": "JDK 11",
242243
"1.10": "JDK 10 (out of support)",

_generated/MavenV3.versionmap.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Default|3.247.0
2-
Node20-225|3.247.1
1+
Default|3.249.5
2+
Node20-225|3.249.6

_generated/MavenV3/task.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 3,
20-
"Minor": 247,
21-
"Patch": 0
20+
"Minor": 249,
21+
"Patch": 5
2222
},
2323
"releaseNotes": "Configuration of the SonarQube analysis was moved to the [SonarQube](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube) or [SonarCloud](https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarcloud) extensions, in task `Prepare Analysis Configuration`",
2424
"demands": [
@@ -229,6 +229,7 @@
229229
"visibleRule": "javaHomeSelection = JDKVersion",
230230
"options": {
231231
"default": "default",
232+
"1.21": "JDK 21",
232233
"1.17": "JDK 17",
233234
"1.11": "JDK 11",
234235
"1.10": "JDK 10 (out of support)",
@@ -519,7 +520,8 @@
519520
"NoTestResults": "No test result files matching %s were found, so publishing JUnit test results is being skipped."
520521
},
521522
"_buildConfigMapping": {
522-
"Default": "3.247.0",
523-
"Node20-225": "3.247.1"
523+
"Default": "3.249.5",
524+
"LocalPackages": "3.249.4",
525+
"Node20-225": "3.249.6"
524526
}
525527
}

_generated/MavenV3/task.loc.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 3,
20-
"Minor": 247,
21-
"Patch": 0
20+
"Minor": 249,
21+
"Patch": 5
2222
},
2323
"releaseNotes": "ms-resource:loc.releaseNotes",
2424
"demands": [
@@ -229,6 +229,7 @@
229229
"visibleRule": "javaHomeSelection = JDKVersion",
230230
"options": {
231231
"default": "default",
232+
"1.21": "JDK 21",
232233
"1.17": "JDK 17",
233234
"1.11": "JDK 11",
234235
"1.10": "JDK 10 (out of support)",
@@ -519,7 +520,8 @@
519520
"NoTestResults": "ms-resource:loc.messages.NoTestResults"
520521
},
521522
"_buildConfigMapping": {
522-
"Default": "3.247.0",
523-
"Node20-225": "3.247.1"
523+
"Default": "3.249.5",
524+
"LocalPackages": "3.249.4",
525+
"Node20-225": "3.249.6"
524526
}
525527
}

_generated/MavenV3_Node20/.npmrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
scripts-prepend-node-path=true
2+
3+
registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/
4+
5+
always-auth=true

0 commit comments

Comments
 (0)