File tree Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Expand file tree Collapse file tree 1 file changed +22
-7
lines changed Original file line number Diff line number Diff line change 7878 </distributionManagement >
7979
8080 <profiles >
81+ <!--
82+ This profile is needed to be active in IntelliJ
83+ as it does not understand that the tests have a different target version
84+ -->
8185 <profile >
82- <id >java9 </id >
86+ <id >IntelliJ </id >
8387 <activation >
8488 <activeByDefault >false</activeByDefault >
8589 </activation >
8690 <properties >
87- <maven .compiler.target>9 </maven .compiler.target>
91+ <maven .compiler.target>10 </maven .compiler.target>
8892 </properties >
8993 </profile >
9094 <profile >
115119 <profile >
116120 <id >errorprone</id >
117121 <activation >
118- <property >
119- <name >maven.compiler.errorprone</name >
120- </property >
122+ <activeByDefault >false</activeByDefault >
121123 </activation >
122124 <build >
123125 <plugins >
223225 </goals >
224226 </execution >
225227 </executions >
228+ <dependencies >
229+ <!--
230+ The transitive dependency has version 3.5,
231+ which is not compatible with Java 10.
232+ TODO Remove this when updating the javadoc plugin version.
233+ -->
234+ <dependency >
235+ <groupId >org.apache.commons</groupId >
236+ <artifactId >commons-lang3</artifactId >
237+ <version >3.7</version >
238+ </dependency >
239+ </dependencies >
226240 </plugin >
227241 <plugin >
228242 <groupId >org.apache.maven.plugins</groupId >
236250 </execution >
237251 </executions >
238252 </plugin >
253+ <!-- Check that we don't accidentally use features only available in Java 8+ -->
239254 <plugin >
240255 <groupId >org.codehaus.mojo</groupId >
241256 <artifactId >animal-sniffer-maven-plugin</artifactId >
261276 <plugin >
262277 <groupId >org.apache.maven.plugins</groupId >
263278 <artifactId >maven-enforcer-plugin</artifactId >
264- <version >1.3.1 </version >
279+ <version >3.0.0-M1 </version >
265280 <executions >
266281 <execution >
267282 <id >enforce-java</id >
303318 <plugin >
304319 <groupId >org.jacoco</groupId >
305320 <artifactId >jacoco-maven-plugin</artifactId >
306- <version >0.8.0 </version >
321+ <version >0.8.1 </version >
307322 <executions >
308323 <execution >
309324 <goals >
You can’t perform that action at this time.
0 commit comments