This application is written using Java 21 and Maven. To run the executable, you will first need to install the following prerequisites:
- JDK 21
- Maven
Run the following from <REPO_ROOT>/directories
:
mvn clean install
(NOTE: this also executes the tests)
There are two options for running the executable:
-
IDE (I used IntelliJ)
- Open the pom.xml using IntelliJ (or your preferred IDE) and click the Run button.
-
Command line using Maven
-
Enter the following command from the directory in which you cloned the repo (make sure you're in the
directories
directory):mvn exec:java -Dexec.mainClass="com.endpoint.directories.Main"
-