Skip to content

Commit

Permalink
Provide jdk8 jar by excluding the FFM support (fixes #937) (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Apr 17, 2024
1 parent 9393ed6 commit 6a620e7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions jline/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@
<artifactId>jline-terminal-jna</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline-terminal-ffm</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jline</groupId>
<artifactId>jline-reader</artifactId>
Expand Down Expand Up @@ -436,6 +441,26 @@
<additionalOptions>--enable-preview --release 21 -Xdoclint:none</additionalOptions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>default-jar</id>
</execution>
<execution>
<id>jdk8</id>
<goals>
<goal>jar</goal>
</goals>
<phase>package</phase>
<configuration>
<classifier>jdk8</classifier>
<excludes>**/ffm/*.class</excludes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 6a620e7

Please sign in to comment.