Open the POM and select the pom.xml
tab. Add the missing POM sections, as described in Chapter 5, and save it. Saving the POM will trigger the m2clipse update of the project configuration.
Then create packages under the src/main/java
source folder and add the Java sources in their respective packages.
The result should look like the following screenshot:
Notice that the JRE System Library was updated to reflect the maven-compiler-plugin settings and that the Maven Dependencies classpath container has the dependencies that are declared in the POM.