Introduction
This guide provides detailed instructions on how to build the CloudSim-HO-Research-V2 project from source.Prerequisites
Before you begin, make sure you have the following software installed on your system:- Java Development Kit (JDK) 21: You can download it from the Oracle website. To verify your installation, run
java -version. - Apache Maven 3.9+: You can download it from the Maven website. To verify your installation, run
mvn -version. - Git: You can download it from the Git website. To verify your installation, run
git --version.
Cloning the Repository
To get started, clone the repository from GitHub:Building the Project
Standard Build
To perform a standard build, which includes compiling the code, running the tests, and packaging the project into a JAR file, run the following command:Skipping Tests
If you want to speed up the build process, you can skip the tests by using the-DskipTests flag:
Building the Executable JAR
The project is configured to create an executable JAR file with all the dependencies included. This JAR file will be located in thetarget directory and will be named cloudsim-ho-research-v2-1.0-SNAPSHOT.jar.
Troubleshooting
Build Failures
If the build fails, please make sure you have the correct versions of Java and Maven installed. You can also try cleaning the project by runningmvn clean and then building it again.