...
Adding a contrib tool to your build is a straightforward process. For example, to add SiteStats to you Sakai build checkout the latest release tag into your $SAKAI-HOME sakai-2.6.0 base folder:
No Format |
---|
cd $SAKAI-HOMEsakai-2.6.0 svn co https://source.sakaiproject.org/contrib/ufp/sitestats/tags/sitestats_2-0-rc1/ sitestats |
Then edit the Edit SiteStats' base pom file sitestats/pom.xml
updating the <parent> pom's <version> value to the appropriate Sakai version:
Code Block | ||||
---|---|---|---|---|
| ||||
<!-- Parent: Sakai master pom -->
<parent>
<artifactId>master</artifactId>
<groupId>org.sakaiproject</groupId>
<!-- EDIT ME: Sakai Version -->
<version>2.6.0</version>--> <!-- For 2.6.0 release -->
<!-- <version>2.6.1-SNAPSHOT</version> --> <!-- For 2.6.x branch -->
<!-- <version>2.7.0-SNAPSHOT</version> --> <!-- For TRUNK -->
</parent>
|
Then install SiteStats artifacts in your local Maven repository followed by deployment to your servlet container (e.g. Tomcat):
No Format |
---|
cd sitestats
mvn clean install sakai:deploy
|