Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions wasmtime4j-panama/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
</executions>
</plugin>

<!-- Compiler plugin with Java 23+ and preview features -->
<!-- Compiler plugin with Java 22+ and preview features -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down Expand Up @@ -199,22 +199,22 @@
</plugins>
</build>

<!-- Profile to skip Panama module if Java version < 23 -->
<!-- Profile to skip Panama module if Java version < 22 -->
<profiles>
<profile>
<id>panama-available</id>
<activation>
<jdk>[23,)</jdk>
<jdk>[22,)</jdk>
</activation>
</profile>
<profile>
<id>panama-unavailable</id>
<activation>
<jdk>[,23)</jdk>
<jdk>[,22)</jdk>
</activation>
<build>
<plugins>
<!-- Skip compilation if Java < 23 -->
<!-- Skip compilation if Java < 22 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand All @@ -229,7 +229,7 @@
</execution>
</executions>
</plugin>
<!-- Skip testing if Java < 23 -->
<!-- Skip testing if Java < 22 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand All @@ -244,4 +244,4 @@
</build>
</profile>
</profiles>
</project>
</project>