Please see about details.
Clone this repository in the local repository.
git clone https://github.com/glycoinfo/GlycanBuilder2.git
Move to the cloned local repository and compile the source files
cd ~/Directory_of_local_repository/GlycanBuilder2
mvn clean compile
If a certificate error such as "PKIX path validation failed" occurred during the compilation process, please you try again with the below command.
mvn clean compile -X -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true
Runable JAR (Java Archive) file is generate the below command.
mvn clean -P make-fat-jar package
When compilation in finished, jar file is created in the target folder.
[INFO] Building jar: /../../Directory_of_local_repository/GlycanBuilder2/target/glycanbuilder2-jar-with-dependencies.jar
java -jar ./target/glycanbuilder2-jar-with-dependencies.jar
java -XstartOnFirstThread -jar ./target/glycanbuilder2-jar-with-dependencies.jar