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

Compiling sbt-republish

  1. Download the source code.
    1
    wget https://github.com/typesafehub/sbt-republish/archive/master.zip -O sbt-republish-master.zip
    

    Currently, the version 0.13.15 is only available in the master branch. Pay attention to the version number change when compiling version 0.13.15 by referring to this document.

  2. Install the required components.
    1
    yum install autoconf unzip -y
    
  3. Decompress the source code package.
    1
    unzip sbt-republish-master.zip
    
  4. Go to the directory where the sbt-republish source code is located.
    1
    cd sbt-republish-master
    
  5. Compile the source code.
    1
    2
    3
    4
    mkdir -p ~/.ivy2/cache/jline/jline/jars/
    wget http://mirrors.huaweicloud.com/kunpeng/maven/jline/jline/2.14.3/jline-2.14.3.jar  -O  ~/.ivy2/cache/jline/jline/jars/jline-2.14.3.jar
    wget http://mirrors.huaweicloud.com/kunpeng/maven/jline/jline/2.14.3/jline-2.14.3.pom -O ~/.ivy2/cache/jline/jline/jars/jline-2.14.3.pom
    sbt package
    

    The operation is successful if information similar to the following is displayed:

    The compiled incremental-compiler-0.13.15.jar file is in incremental-compiler/target/incremental-compiler-0.13.15.jar.