Using the IntelliJ IDEA
From the options available below, you can select the import project where it opens a new window.
Our project contains a pom.xml file and hence I opened it as a maven project. Once the directory is selected, it opens to another window as shown below.
I selected the Import project from an external model and selected the maven option.
The application automatically detects the directory and the type of dependencies in the project. The settings were automatically put to default according to the files.
I didn't import any other extra tests to incorporate into the project and in the next step, the application automatically detects relevant SDK, in this case I used the default Java 1.8 JDK available on my system. The following image shows how IDE takes in the SDK to run the project.
And going through the next steps, I opened the lh-toolkit on the IDE.