-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtoolchains.xml
More file actions
23 lines (22 loc) · 858 Bytes
/
toolchains.xml
File metadata and controls
23 lines (22 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8"?>
<toolchains xmlns="http://maven.apache.org/TOOLCHAINS/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/TOOLCHAINS/1.1.0 https://maven.apache.org/xsd/toolchains-1.1.0.xsd">
<!--
Copy this file to your Maven user home so builds use JDK 21:
Windows: %USERPROFILE%\.m2\toolchains.xml
Linux/macOS: ~/.m2/toolchains.xml
Update <jdkHome> to your actual JDK 21 path.
-->
<toolchain>
<type>jdk</type>
<provides>
<version>21</version>
<vendor>openjdk</vendor>
</provides>
<configuration>
<!-- Example path: adjust as needed -->
<jdkHome>C:\Program Files\Java\jdk-21</jdkHome>
</configuration>
</toolchain>
</toolchains>