Skip to content

Commit 52a6e2e

Browse files
committed
Merge branch 'main' into adopt-tutor-code
2 parents 35d7569 + a58c131 commit 52a6e2e

1 file changed

Lines changed: 33 additions & 56 deletions

File tree

pom.xml

Lines changed: 33 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<groupId>org.rascalmpl</groupId>
55
<artifactId>rascal</artifactId>
6-
<version>0.41.0-RC8-SNAPSHOT</version>
6+
<version>0.41.0-RC9-SNAPSHOT</version>
77
<packaging>jar</packaging>
88

99
<scm>
@@ -34,6 +34,7 @@
3434
<rascal.test.memory>3</rascal.test.memory>
3535
<maven.compiler.release>11</maven.compiler.release>
3636
<rascal-maven.version>0.28.9-BOOT1</rascal-maven.version>
37+
<jline.version>3.27.0</jline.version>
3738
</properties>
3839

3940
<licenses>
@@ -236,6 +237,7 @@
236237
<include>**/org/rascalmpl/test/AllSuiteParallel.java</include>
237238
<include>**/org/rascalmpl/test/library/LibraryLangPaths.java</include>
238239
<include>**/org/rascalmpl/test/value/AllTests.java</include>
240+
<include>**/org/rascalmpl/test/repl/*Test.java</include>
239241
<include>**/org/rascalmpl/*Test.java</include>
240242
</includes>
241243
</configuration>
@@ -332,19 +334,6 @@
332334
<addHeader>false</addHeader>
333335
</transformer>
334336
</transformers>
335-
<relocations>
336-
<relocation>
337-
<pattern>org.fusesource.jansi</pattern>
338-
<shadedPattern>org.rascalmpl.fusesource.jansi</shadedPattern>
339-
<excludes>
340-
<exclude>org.fusesource.jansi.internal.*</exclude>
341-
</excludes>
342-
</relocation>
343-
<relocation>
344-
<pattern>jline</pattern>
345-
<shadedPattern>org.rascalmpl.jline</shadedPattern>
346-
</relocation>
347-
</relocations>
348337
<filters>
349338
<filter>
350339
<artifact>*:*</artifact>
@@ -472,10 +461,35 @@
472461
<artifactId>gson</artifactId>
473462
<version>2.11.0</version>
474463
</dependency>
475-
<dependency>
476-
<groupId>jline</groupId>
477-
<artifactId>jline</artifactId>
478-
<version>2.14.6</version>
464+
<dependency> <!-- line reader/completion/history support -->
465+
<groupId>org.jline</groupId>
466+
<artifactId>jline-reader</artifactId>
467+
<version>${jline.version}</version>
468+
</dependency>
469+
<dependency> <!-- terminal API -->
470+
<groupId>org.jline</groupId>
471+
<artifactId>jline-terminal</artifactId>
472+
<version>${jline.version}</version>
473+
</dependency>
474+
<dependency> <!-- interaction with native APIs for console features, after jdk22 we can switch to FFM -->
475+
<groupId>org.jline</groupId>
476+
<artifactId>jline-terminal-jni</artifactId>
477+
<version>${jline.version}</version>
478+
</dependency>
479+
<dependency> <!-- styling api -->
480+
<groupId>org.jline</groupId>
481+
<artifactId>jline-style</artifactId>
482+
<version>${jline.version}</version>
483+
</dependency>
484+
<dependency> <!-- command registyr and extra features -->
485+
<groupId>org.jline</groupId>
486+
<artifactId>jline-console</artifactId>
487+
<version>${jline.version}</version>
488+
</dependency>
489+
<dependency> <!-- raw ansi commands -->
490+
<groupId>org.jline</groupId>
491+
<artifactId>jansi-core</artifactId>
492+
<version>${jline.version}</version>
479493
</dependency>
480494
<dependency>
481495
<groupId>org.yaml</groupId>
@@ -564,44 +578,7 @@
564578
<goal>shade</goal>
565579
</goals>
566580
<configuration>
567-
<transformers>
568-
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
569-
<manifestEntries>
570-
<Name>rascal</Name>
571-
<Main-Class>org.rascalmpl.shell.RascalShell</Main-Class>
572-
<Specification-Version>${project.version}</Specification-Version>
573-
<Specification-Vendor>http://www.usethesource.io</Specification-Vendor>
574-
</manifestEntries>
575-
</transformer>
576-
</transformers>
577-
<relocations>
578-
<relocation>
579-
<pattern>org.fusesource.jansi</pattern>
580-
<shadedPattern>org.rascalmpl.fusesource.jansi</shadedPattern>
581-
<excludes>
582-
<exclude>org.fusesource.jansi.internal.*</exclude>
583-
</excludes>
584-
</relocation>
585-
<relocation>
586-
<pattern>jline</pattern>
587-
<shadedPattern>org.rascalmpl.jline</shadedPattern>
588-
</relocation>
589-
</relocations>
590-
<filters>
591-
<filter>
592-
<artifact>*:*</artifact>
593-
<excludes>
594-
<exclude>META-INF/*.SF</exclude>
595-
<exclude>META-INF/*.DSA</exclude>
596-
<exclude>META-INF/*.RSA</exclude>
597-
</excludes>
598-
</filter>
599-
</filters>
600-
<artifactSet>
601-
<includes>
602-
<include>jline:*</include>
603-
</includes>
604-
</artifactSet>
581+
<skip>true</skip>
605582
</configuration>
606583
</execution>
607584
</executions>

0 commit comments

Comments
 (0)