3.2. Update the Parent Module

To start with, we're going to have dependencies on JPA Objects, on a JDBC driver, and on SLF4J (used by Hibernate). Add these to a <properties> section:

<properties>
  <jpaobjects.version>1.0.0</jpaobjects.version>                     <!-- or whatever -->
  <postgresql.jdbc.version>8.3-603.jdbc3</postgresql.jdbc.version>   <!-- eg for PostgreSQL JDBC driver -->
  <slf4j.version>1.4.3</slf4j.version>           
</properties>

Next, in the parent module's <dependencyManagement> section, add in entries for:

Lastly, add a reference to the new Maven submodule that will hold the JPA repository implementations:

<modules>
  <module>dom</module>
  <module>fixture</module>
  <module>service</module>
  <module>service-jpa</module>  <!-- JPA implementations -->
  <module>commandline</module>
  <module>webapp</module>
</modules>