@@ -33,7 +33,7 @@ under the License.
3333
3434 <groupId >org.apache.datasketches</groupId >
3535 <artifactId >datasketches-java</artifactId >
36- <version >7.1 .0-SNAPSHOT</version >
36+ <version >8.0 .0-SNAPSHOT</version >
3737 <packaging >jar</packaging >
3838
3939 <name >${project.artifactId} </name >
@@ -83,7 +83,7 @@ under the License.
8383 </developers >
8484
8585 <properties >
86- <datasketches-memory .version>4.1 .0</datasketches-memory .version>
86+ <datasketches-memory .version>6.0 .0</datasketches-memory .version>
8787
8888 <!-- Test -->
8989 <testng .version>7.10.2</testng .version>
@@ -94,11 +94,11 @@ under the License.
9494
9595 <!-- System-wide properties -->
9696 <maven .version>3.6.3</maven .version>
97- <java .version>17 </java .version>
98- <add-modules >--add-modules=jdk.incubator.foreign</ add-modules >
97+ <java .version>21 </java .version>
98+ <jvm-ffm-flag >--enable-preview</ jvm-ffm-flag >
9999 <maven .compiler.source>${java.version} </maven .compiler.source>
100100 <maven .compiler.target>${java.version} </maven .compiler.target>
101- <argLine >-Xmx4g -Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 ${add-modules }</argLine >
101+ <argLine >-Xmx4g -Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 ${jvm-ffm-flag }</argLine >
102102 <charset .encoding>UTF-8</charset .encoding>
103103 <project .build.sourceEncoding>${charset.encoding} </project .build.sourceEncoding>
104104 <project .build.resourceEncoding>${charset.encoding} </project .build.resourceEncoding>
@@ -164,7 +164,7 @@ under the License.
164164 <version >${maven-compiler-plugin.version} </version >
165165 <configuration >
166166 <compilerArgs >
167- <arg >${add-modules } </arg >
167+ <arg >${jvm-ffm-flag } </arg >
168168 </compilerArgs >
169169 </configuration >
170170 </plugin >
@@ -238,7 +238,7 @@ under the License.
238238 <docfilessubdirs >true</docfilessubdirs >
239239 <show >public</show >
240240 <additionalOptions >
241- <additionalOption >${add-modules } </additionalOption >
241+ <additionalOption >${jvm-ffm-flag } </additionalOption >
242242 </additionalOptions >
243243 </configuration >
244244 <executions >
@@ -284,7 +284,7 @@ under the License.
284284 <artifactId >maven-surefire-plugin</artifactId >
285285 <version >${maven-surefire-failsafe-plugins.version} </version >
286286 <configuration >
287- <argLine >${add-modules } </argLine >
287+ <argLine >${jvm-ffm-flag } </argLine >
288288 <trimStackTrace >false</trimStackTrace >
289289 <useManifestOnlyJar >false</useManifestOnlyJar >
290290 <redirectTestOutputToFile >true</redirectTestOutputToFile >
0 commit comments