Skip to content

Commit

Permalink
apacheGH-2533: Add argLine properties for jena-text for handling warn…
Browse files Browse the repository at this point in the history
…ings during tests
  • Loading branch information
OyvindLGjesdal authored and afs committed Oct 27, 2024
1 parent 4da9ea0 commit c58b1cb
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion jena-text/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,20 @@
<artifactId>jena</artifactId>
<version>5.3.0-SNAPSHOT</version>
</parent>

<profiles>
<!-- apache lucene emits warnings for native access and for the vector module for java version >= 21 -->
<profile><id>enable-native-and-incubator-vector</id>
<activation>
<jdk>[21,22,23]</jdk>
</activation>
<properties>
<jena.text.test.argLine>--enable-native-access=ALL-UNNAMED --add-modules jdk.incubator.vector</jena.text.test.argLine>
</properties>
</profile>
</profiles>
<properties>
<jena.text.test.argLine></jena.text.test.argLine>
<argLine></argLine>
<automatic.module.name>org.apache.jena.text</automatic.module.name>
</properties>

Expand Down Expand Up @@ -122,6 +134,7 @@
<includes>
<include>**/TS_*.java</include>
</includes>
<argLine>@{argLine} ${jena.text.test.argLine}</argLine>
</configuration>
</plugin>

Expand Down

0 comments on commit c58b1cb

Please sign in to comment.