1. Download and install JDK 8

  2. Download latest Eclipse for Java development

  3. Clone the git repo

  4. In Eclipse Package Explorer right click → New → Project → General → Project and give the project a name that is not a Maven module in the project. The name of the branch for example.

  5. Drag and drop the cloned repo to the project you created in Eclipse

  6. Select create links when prompted by Eclipse

  7. Right click on the screenshot-maven-plugin folder in Eclipse Package Explorer and Import…​ → Maven → Existing Maven Projects. Press the Next button

  8. Press the Finish button

Your Eclipse workspace should now be populated with the modules of the screenshot-maven-plugin project. The dependency jars should be automatically downloaded by Maven.

See screenshots in action by open the class ResourceConstantsUsage and hover the mouse over the ColorConstants class.

colorconstants hover