Rate This Document
Findability
Accuracy
Completeness
Readability

Jline-2.13

Dependency: Jline-2.13 depends on Jansi-1.11, and Jansi-1.11 depends on Jansi-native-1.5.

  1. Compile jansi-native-1.5 and Jansi 1.11. For details, see Jansi Porting Guide (CentOS & openEuler).

    During the compilation, change the command to the following:

    1
    mvn package -Dmaven.javadoc.skip=true
    

    After the compilation is complete, copy the generated jansi-1.11.jar file to the local Maven repository.

  2. Download the Jline-2.13 source package.
    1
    wget https://github.com/jline/jline2/archive/jline-2.13.tar.gz
    
  3. Decompress the source package.
    1
    tar -zxvf jline-2.13.tar.gz
    
  4. Go to the directory generated after the decompression.
    1
    cd jline2-jline-2.13
    
  5. Perform the compilation.
    1
    mvn install package -DskipTests -Dmaven.javadoc.skip=true
    

    A JAR package is generated in the ./target/jline-2.13.jar directory.