Adding Hibernate to project.xml

  • This describes how to add the hibernate dependency to a project.xml file for Sakai
  1. Open the appropriate project.xml file
    • This is probably the one for your manager/dao implementation
  2. Add the following to the dependencies block
    <dependency>
    	<groupId>${sakai.hibernate.groupId}</groupId>
    	<artifactId>${sakai.hibernate.artifactId}</artifactId>
    	<version>${sakai.hibernate.version}</version>
    </dependency>
    
    • The various sakai.hibernate variables are located in: master/project.properties
  3. Sample project.xml file with hibernate dependencies: Tasklist project.xml