File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 75
75
<artifactId >error_prone_core</artifactId >
76
76
<!-- 2.32.0 and 2.33.0 break our java 11 build with compiler errors, I reported this to the
77
77
errorprone team, but try upgrading to new versions in the future-->
78
+ <!-- This version is only compatible with JDKs < 24. We have a profile below that disables
79
+ errorprone for JDKs >= 24. -->
78
80
<version >2.31.0</version >
79
81
</dependency >
80
82
<dependency >
159
161
</modules >
160
162
161
163
<profiles >
164
+ <profile >
165
+ <!-- the current errorprone version does not support JDK 24 onwards -->
166
+ <id >no-errorprone-jdk-24-onwards</id >
167
+ <activation >
168
+ <jdk >[24,)</jdk >
169
+ </activation >
170
+ <build >
171
+ <plugins >
172
+ <plugin >
173
+ <artifactId >maven-compiler-plugin</artifactId >
174
+ <configuration >
175
+ <fork >true</fork >
176
+ <compilerArgs combine.children=" append" >
177
+ <!-- we only use the basic compilation flags without activating errorprone -->
178
+ <arg >-XDcompilePolicy=simple</arg >
179
+ </compilerArgs >
180
+ </configuration >
181
+ </plugin >
182
+ </plugins >
183
+ </build >
184
+ </profile >
162
185
<profile >
163
186
<id >include-samples</id >
164
187
<modules >
168
191
<profile >
169
192
<id >jdk9</id >
170
193
<activation >
171
- <jdk >[1.9,)</jdk >
194
+ <jdk >[1.9,23 )</jdk >
172
195
</activation >
173
196
<build >
174
197
<plugins >
You can’t perform that action at this time.
0 commit comments