Create a Maven based project in Eclipse

The following section requires the eclipse Maven plugin to be installed. This may be accomplished by installing the Jboss Tools via Help Eclipse Marketplace which will install Maven as a dependency.

  1. We start Eclipse and choose the new project wizard.

  2. Filtering maven yields our desired project type

  3. Just accept the defaults

  4. We select maven-archetype-quickstart to choose a plain Java project

  5. The chosen Group Id will become our project's name.

  6. We end up with a Java project already being enabled for Junit testing.

 But wait: We are about to work with (Mysql) databases. Thus we need at least a JDBC™ driver. Maven assists us if we define an appropriate dependency as we will see in the following section.