Step 1: Create a Java Maven project.
Import the “simple-jaxb” folder that has the pom.xml it into eclipse as an “existing maven project”.
Step 2: Modify the “pom.xml” file to look like as shown below. The “maven-jaxb2-plugin” generates JAXB annotated Java objects from the XML schema “books.xsd”.
…