Skip to content

Commit 6a620e7

Browse files
authored
Provide jdk8 jar by excluding the FFM support (fixes #937) (#949)
1 parent 9393ed6 commit 6a620e7

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

jline/pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@
8282
<artifactId>jline-terminal-jna</artifactId>
8383
<scope>test</scope>
8484
</dependency>
85+
<dependency>
86+
<groupId>org.jline</groupId>
87+
<artifactId>jline-terminal-ffm</artifactId>
88+
<scope>test</scope>
89+
</dependency>
8590
<dependency>
8691
<groupId>org.jline</groupId>
8792
<artifactId>jline-reader</artifactId>
@@ -436,6 +441,26 @@
436441
<additionalOptions>--enable-preview --release 21 -Xdoclint:none</additionalOptions>
437442
</configuration>
438443
</plugin>
444+
<plugin>
445+
<groupId>org.apache.maven.plugins</groupId>
446+
<artifactId>maven-jar-plugin</artifactId>
447+
<executions>
448+
<execution>
449+
<id>default-jar</id>
450+
</execution>
451+
<execution>
452+
<id>jdk8</id>
453+
<goals>
454+
<goal>jar</goal>
455+
</goals>
456+
<phase>package</phase>
457+
<configuration>
458+
<classifier>jdk8</classifier>
459+
<excludes>**/ffm/*.class</excludes>
460+
</configuration>
461+
</execution>
462+
</executions>
463+
</plugin>
439464
</plugins>
440465
</build>
441466

0 commit comments

Comments
 (0)