-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtoolchains_mac.xml
132 lines (114 loc) · 4.92 KB
/
toolchains_mac.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?xml version="1.0" encoding="UTF-8"?>
<!--
| This is the toolchains file for Maven. It can be specified at two levels:
|
| 1. User Level. This toolchains.xml file provides configuration for a single user,
| and is normally provided in ${user.home}/.m2/toolchains.xml.
|
| NOTE: This location can be overridden with the CLI option:
|
| -t /path/to/user/toolchains.xml
|
| 2. Global Level. This toolchains.xml file provides configuration for all Maven
| users on a machine (assuming they're all using the same Maven
| installation). It's normally provided in
| ${maven.conf}/toolchains.xml.
|
| NOTE: This location can be overridden with the CLI option:
|
| -gt /path/to/global/toolchains.xml
|
|-->
<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 http://maven.apache.org/xsd/toolchains-1.1.0.xsd
http://maven.apache.org/TOOLCHAINS/1.1.0 ">
<!--
| With toolchains you can refer to installations on your system. This
| way you don't have to hardcode paths in your pom.xml.
|
| Every toolchain consist of 3 elements:
| * type: the type of tool. An often used value is 'jdk'. Toolchains-aware
| plugins should document which type you must use.
|
| * provides: A list of key/value-pairs.
| Based on the toolchain-configuration in the pom.xml Maven will search for
| matching <provides/> configuration. You can decide for yourself which key-value
| pairs to use. Often used keys are 'version', 'vendor' and 'arch'. By default
| the version has a special meaning. If you configured in the pom.xml '1.5'
| Maven will search for 1.5 and above.
|
| * configuration: Additional configuration for this tool.
| Look for documentation of the toolchains-aware plugin which configuration elements
| can be used.
|
| See also https://maven.apache.org/guides/mini/guide-using-toolchains.html
|
| General example
-->
<toolchain>
<type>jdk</type>
<provides>
<version>8</version>
<vendor>graalvmee</vendor>
</provides>
<configuration>
<!-- As of Apache Maven 3.6.1, env. variables cannot be used in toolchains -->
<jdkHome>/Library/Java/JavaVirtualMachines/graalvm-ee-19.1.1/Contents/Home/</jdkHome>
<!-- Env. variables will be usable after Apache Maven 3.6.2 only -->
<!-- <jdkHome>${env.GRAALVM_EE_HOME}</jdkHome> -->
</configuration>
</toolchain>
<toolchain>
<type>jdk</type>
<provides>
<version>8</version>
<vendor>oracle</vendor>
</provides>
<configuration>
<!-- As of Apache Maven 3.6.1, env. variables cannot be used in toolchains -->
<jdkHome>/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/</jdkHome>
<!-- Env. variables will be usable after Apache Maven 3.6.2 only -->
<!-- <jdkHome>${ORACLE_JAVA8_HOME}</jdkHome> -->
</configuration>
</toolchain>
<toolchain>
<type>jdk</type>
<provides>
<version>11</version>
<vendor>oracle</vendor>
</provides>
<configuration>
<!-- As of Apache Maven 3.6.1, env. variables cannot be used in toolchains -->
<jdkHome>/Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home/</jdkHome>
<!-- Env. variables will be usable after Apache Maven 3.6.2 only -->
<!-- <jdkHome>${ORACLE_JAVA11_HOME}</jdkHome> -->
</configuration>
</toolchain>
<toolchain>
<type>jdk</type>
<provides>
<version>8</version>
<vendor>AdoptOpenJDKHotspot</vendor>
</provides>
<configuration>
<!-- As of Apache Maven 3.6.1, env. variables cannot be used in toolchains -->
<jdkHome>/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/</jdkHome>
<!-- Env. variables will be usable after Apache Maven 3.6.2 only -->
<!-- <jdkHome>${ADOPTHOTSPOT_JAVA8_HOME}</jdkHome> -->
</configuration>
</toolchain>
<toolchain>
<type>jdk</type>
<provides>
<version>8</version>
<vendor>AdoptOpenJDKOpenJ9</vendor>
</provides>
<configuration>
<!-- As of Apache Maven 3.6.1, env. variables cannot be used in toolchains -->
<jdkHome>/Library/Java/JavaVirtualMachines/adoptopenjdk-8-openj9.jdk/Contents/Home/</jdkHome>
<!-- Env. variables will be usable after Apache Maven 3.6.2 only -->
<!-- <jdkHome>${ADOPTOPENJ9_JAVA8_HOME}</jdkHome> -->
</configuration>
</toolchain>
</toolchains>