Adding springframework to project.xml

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