我要评分
获取效率
正确性
完整性
易理解

Jansi-1.4

Table 1 describes the Jansi version dependency.

Table 1 Jansi version dependencies

Jansi Version

Jansi Native Version

Jansi 1.4

Jansi-native 1.0

  1. Compile the Jansi-native source code.
    1. Download the Jansi-native 1.0 source package.
      1
      wget https://github.com/fusesource/jansi-native/archive/jansi-native-1.0.tar.gz
      
    2. Decompress the source package.
      1
      tar -zxvf jansi-native-1.0.tar.gz
      
    3. Go to the directory where the Jansi-native source package is located.
      1
      cd jansi-native-jansi-native-1.0
      
    4. Perform the compilation.
      1
      mvn install -Dplatform=linux64 package
      

      A JAR package is generated in the ./target/jansi-native-1.0-linux64.jar directory.

    5. Copy the jansi-native-1.0.jar and jansi-native-1.0-linux64.jar packages to the local Maven repository LOCAL_M2_PATH/org/fusesource/jansi/jansi-native/1.0/.
  2. Compile the Jansi 1.4 source code.
    1. Download the Jansi 1.4 source package from GitHub.
      1
      wget https://github.com/fusesource/jansi/archive/jansi-1.4.tar.gz
      
    2. Decompress the source package.
      1
      tar -zxvf jansi-1.4.tar.gz
      
    3. Go to the directory where the Jansi-1.4 source package is located.
      1
      cd jansi-jansi-1.4
      
    4. Open the pom.xml file.
      vi pom.xml
    5. Press i to enter the insert mode and comment out lines 125 to 148.

    6. Press Esc, type :wq!, and press Enter to save the file and exit.
    7. Perform the compilation.
      1
      mvn clean install
      

      A JAR package is generated in the ./target/jansi-1.4.jar directory.