- Install and configure JDK 1.8+
- Install and configure Apache Maven 3.5.2+
- Download and start the latest Selenium standalone server
- Download the latest version of Eclipse and install TestNG plugin
- Read Carina documentation
If generation is successfully complete, you would see a new project folder with a name equal to the artifactId attribute specified during generation, so navigate to that folder (where pom.xml is located) and execute the following Maven task:
mvn clean eclipse:eclipse
By executing this command, Maven should resolve all dependencies, downloading required libraries to your local repository and generating Eclipse classpath. Before importing new project to Eclipse, you should link your IDE to your Maven repository by executing the following task:
mvn -Dworkspace=<path_to_workspace> eclipse:configure-workspace
Here you have to specify the absolute path to the Eclipse workspace. After that, restart Eclipse IDE. Now you can import generated projects such as "Existing Java Project" into Eclipse IDE. Generate Eclipse workspace using command:
mvn clean eclipse:eclipse