@@ -201,7 +201,12 @@ Jean-Yves Tinevez and Michael Zinsmaier.</license.copyrightOwners>
201201 <!-- NB: Deploy releases to the SciJava Maven repository. -->
202202 <releaseProfiles >deploy-to-scijava</releaseProfiles >
203203
204- <imglib2-roi .version>0.9.0</imglib2-roi .version>
204+ <!-- TODO remove when pom-scijava-base is updated -->
205+ <scijava .jvm.version>8</scijava .jvm.version>
206+ <scijava .jvm.build.version>[1.8.0-101,)</scijava .jvm.build.version>
207+
208+ <maven-enforcer-plugin .version>3.0.0-M3</maven-enforcer-plugin .version>
209+ <jacoco-maven-plugin .version>0.8.6</jacoco-maven-plugin .version>
205210 </properties >
206211
207212 <repositories >
@@ -240,6 +245,10 @@ Jean-Yves Tinevez and Michael Zinsmaier.</license.copyrightOwners>
240245 <groupId >org.ojalgo</groupId >
241246 <artifactId >ojalgo</artifactId >
242247 </dependency >
248+ <dependency >
249+ <groupId >net.imglib2</groupId >
250+ <artifactId >imglib2-cache</artifactId >
251+ </dependency >
243252
244253 <!-- Test dependencies -->
245254 <dependency >
@@ -250,13 +259,11 @@ Jean-Yves Tinevez and Michael Zinsmaier.</license.copyrightOwners>
250259 <dependency >
251260 <groupId >org.openjdk.jmh</groupId >
252261 <artifactId >jmh-core</artifactId >
253- <version >1.19</version >
254262 <scope >test</scope >
255263 </dependency >
256264 <dependency >
257265 <groupId >org.openjdk.jmh</groupId >
258266 <artifactId >jmh-generator-annprocess</artifactId >
259- <version >1.19</version >
260267 <scope >test</scope >
261268 </dependency >
262269 </dependencies >
@@ -271,4 +278,16 @@ Jean-Yves Tinevez and Michael Zinsmaier.</license.copyrightOwners>
271278 </plugin >
272279 </plugins >
273280 </build >
281+
282+ <profiles >
283+ <profile >
284+ <id >java-9</id >
285+ <activation >
286+ <jdk >[9,)</jdk >
287+ </activation >
288+ <properties >
289+ <maven .compiler.release>${scijava.jvm.version} </maven .compiler.release>
290+ </properties >
291+ </profile >
292+ </profiles >
274293</project >
0 commit comments