Compiling sbt-republish
- Download the source code.
1wget 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.
- Install the required components.
1yum install autoconf unzip -y
- Decompress the source code package.
1unzip sbt-republish-master.zip - Go to the directory where the sbt-republish source code is located.
1cd sbt-republish-master
- 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.
Parent topic: Incremental-compiler Porting Guide (CentOS 7.6)