[Building Sakai] Simple Extension to Sakai

Zach A. Thomas zach.thomas at gmail.com
Mon Sep 19 12:46:31 PDT 2011


You're going to want to change pom.xml: look for the <version> tag inside the <parent> tag and change the version number to whichever version of Sakai you're building with, 2.7.1 in your case.

Zach
On Sep 19, 2011, at 1:51 PM, Liz Wendland wrote:

> Hi,
> 
> Sorry it took so long to get back to this...
> 
> I checked out that project.  Followed the README (which had me put the 
> project directory under my sakai source tree).  Typing mvn install 
> fails.  Can you see where I went wrong?
> 
> -----------
> mvn install
> [INFO] Scanning for projects...
> Downloading: 
> http://repo1.maven.org/maven2/org/sakaiproject/master/2.5.3/master-2.5.3.pom
> [INFO] Unable to find resource 'org.sakaiproject:master:pom:2.5.3' in 
> repository central (http://repo1.maven.org/maven2)
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
> 
> 
> Project ID: org.sakaiproject.entitybroker:entitywebapp:pom:0.1
> 
> Reason: Cannot find parent: org.sakaiproject:master for project: 
> org.sakaiproject.entitybroker:entitywebapp:pom:0.1 for project 
> org.sakaiproject.entitybroker:entitywebapp:pom:0.1
> 
> <snip>
> -------
> 
> 
> 
> On 8/18/11 11:00 AM, Aaron Zeckoski wrote:
>> This is pretty simple:
>> https://source.sakaiproject.org/contrib/programmerscafe/entity-webapp/trunk/
>> 
>> It you wanted a JSP UI then you might go this route instead:
>> https://source.sakaiproject.org/contrib/programmerscafe/trunk/samples/helloWorldUser/
>> 
>> -AZ
>> 
>> 
>> On Thu, Aug 18, 2011 at 10:47 AM, ewendland<liz at duke.edu>  wrote:
>>> Hi,
>>> 
>>> I want to build a super simple extension to Sakai - I would like to use the
>>> EventTrackingService to be able to trap various events in Sakai and report
>>> them to another external application via a web service call to that
>>> application.
>>> 
>>> My problem is getting something that compiles within the Sakai project
>>> framework.  I have downloaded Sakai 2.7.1, and build it with all the Maven
>>> hoo-hah etc.  I have a nice Sakai instance running.  I then attempted to get
>>> some of the example code to build and that is where I am failing.  I always
>>> have the wrong version of one thing or another.  I am not experienced with
>>> Maven so I am having trouble converting the examples' Maven 1 scripts to
>>> Maven 2 and when I google or look at the Wiki I get conflicting advice.
>>> 
>>> This extension does not need a UI or anything fancy.   Does anyone have any
>>> advice on how to get the simplest jar in the world to build in Sakai?
>>> Perhaps an example with no Spring/Wicket/JSF and that uses Maven2?
>>> 
>>> Thanks in advance for any help.
>>> 
>>> --
>>> View this message in context: http://sakai-project-mail-list-archives.1343168.n2.nabble.com/Simple-Extension-to-Sakai-tp6699637p6699637.html
>>> Sent from the DG: Development / Buidling Sakai (sakai-dev at collab.sakaiproject.org) mailing list archive at Nabble.com.
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>> 
>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>>> 
>> 
>> 
> 
> 
> -- 
> Liz Wendland
> Duke University Office of Information Technology
> liz at duke.edu
> 919-613-6218
> 
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



More information about the sakai-dev mailing list