Dashboard > WG: Programmer's Cafe > ... > Maven 1.0.x > Using Maven 1.0.x to build Sakai tools
  WG: Programmer's Cafe Log In | Signup View a printable version of the current page.  
  Using Maven 1.0.x to build Sakai tools
Added by Aaron Zeckoski, last edited by Aaron Zeckoski on Aug 24, 2007  (view change)
Labels: 
(None)

  1. Open a command line shell
  2. Change directory to /opt/<sakai-src>/<tool-dir>
    • Example: cd /opt/sakai-trunk/gradebook/
  3. Execute maven sakai to clean, build, and deploy the tool
    • Note: This is the same as maven cln bld dpl
    • Note: Automated tests should be executed by maven by default


  • Quick guide to maven (related to Sakai)
    • Execute maven cln to clean up the built code
    • Execute maven bld to build the tool
    • Execute maven dpl to deploy the built tool (will fail if the tool is not built)
  • Add the maven plugin to allow for partial builds in Sakai
    Run the following command from the sakai source root:
    maven plugin:download -DartifactId=sakai -DgroupId=sakaiproject -Dversion=2.1
    • Note: This is no longer required as of Sakai 2.2 but it makes things a lot easier

as of 2.4.0 release the plugin download is still required (eg, to compile form the site-manage project's root)

Site running on a free Atlassian Confluence Open Source Project License granted to Sakai Foundation. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.5 Build:#811 Jul 25, 2007) - Bug/feature request - Contact Administrators