File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,14 @@ Copyright (c) 2012 - Jeremy Long. All Rights Reserved.
92
92
<configurationDirectory >plugins/*</configurationDirectory >
93
93
<includeConfigurationDirectoryInClasspath >true</includeConfigurationDirectoryInClasspath >
94
94
<unixScriptTemplate >${project.basedir} /src/main/conf/unixBinTemplate</unixScriptTemplate >
95
+ <!--
96
+ -—enable-native-access=ALL-UNNAMED
97
+ Java 21+: Needed by Lucene indexes unless we do -Dorg.apache.lucene.store.MMapDirectory.enableMemorySegments=false
98
+ to go back to regular ByteBuffer (non-native) usage.
99
+ -XX:+IgnoreUnrecognizedVMOptions
100
+ Java <21: Allow use of enable-native-access on Java 11 JVMs without errors
101
+ -->
102
+ <extraJvmArguments >--enable-native-access=ALL-UNNAMED -XX:+IgnoreUnrecognizedVMOptions</extraJvmArguments >
95
103
</configuration >
96
104
<executions >
97
105
<execution >
You can’t perform that action at this time.
0 commit comments