File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 59
59
</developers >
60
60
61
61
<properties >
62
+ <!-- some of plugins requires JDK 11 -->
63
+ <recommendedJavaBuildVersion >11</recommendedJavaBuildVersion >
64
+
62
65
<!-- override from parent pom, here we need more control -->
63
66
<maven-enforcer-plugin .version>3.2.1</maven-enforcer-plugin .version>
64
67
<!-- we need dot less properties for .vm -->
210
213
</plugins >
211
214
</build >
212
215
</profile >
216
+
217
+ <profile >
218
+ <id >java11+</id >
219
+ <activation >
220
+ <jdk >[11,)</jdk >
221
+ </activation >
222
+
223
+ <build >
224
+ <!-- - newer versions of plugins requires JDK 11 -->
225
+ <plugins >
226
+ <plugin >
227
+ <groupId >com.diffplug.spotless</groupId >
228
+ <artifactId >spotless-maven-plugin</artifactId >
229
+ </plugin >
230
+ <plugin >
231
+ <groupId >org.apache.maven.plugins</groupId >
232
+ <artifactId >maven-checkstyle-plugin</artifactId >
233
+ <configuration >
234
+ <configLocation >${checkstyle.spotless.config} </configLocation >
235
+ </configuration >
236
+ </plugin >
237
+ </plugins >
238
+ </build >
239
+ </profile >
213
240
</profiles >
214
241
</project >
You can’t perform that action at this time.
0 commit comments