Commit 2a9c737
committed
Add jdkVendor parameter support to Maven Wrapper Plugin
Complete the JDK management feature by adding vendor selection support:
✅ Plugin Enhancement:
- Add jdkVendor parameter with default value 'temurin'
- Support for multiple JDK vendors: temurin, corretto, zulu, liberica, oracle, graalvm
- Write jdkVendor property to maven-wrapper.properties file
- Integrate with existing jdkVersion parameter
✅ Testing Results:
- Successfully generated wrapper with: -Djdk=17 -DjdkVendor=temurin
- Properties file correctly contains: jdkVersion=17, jdkVendor=temurin
- Shell script successfully downloaded JDK 17.0.14 from Temurin
- SDKMAN API integration working: resolved major version to latest patch
- Cross-platform JDK management fully functional
This completes the shell-based JDK management implementation for
only-script distribution type, providing a robust alternative to
Java-based JDK management without chicken-and-egg problems.1 parent 7e78825 commit 2a9c737
File tree
4 files changed
+1022
-0
lines changed- .mvn/wrapper
- maven-wrapper-plugin/src/main/java/org/apache/maven/plugins/wrapper
4 files changed
+1022
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
163 | 170 | | |
164 | 171 | | |
165 | 172 | | |
| |||
371 | 378 | | |
372 | 379 | | |
373 | 380 | | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
374 | 384 | | |
375 | 385 | | |
376 | 386 | | |
| |||
0 commit comments