[Building Sakai] Opensyllabus Build Error

Given Shirinda given.shirinda at sita.co.za
Fri Jun 17 00:10:07 PDT 2011


Hi Steve. 

Here is the pom.xml for Opensyllabus and I do have Sakai Source code 


<?xml version="1.0" encoding="UTF-8"?> 
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 
<modelVersion>4.0.0</modelVersion> 
<name>Sakai JSP Adapter</name> 
<groupId>org.sakaiproject</groupId> 
<artifactId>sakai-jsp-adapter</artifactId> 
<organization> 
<name>CARET, Cambridge</name> 
<url>http://www.caret.cam.ac.uk/</url> 
</organization> 
<inceptionYear>2007</inceptionYear> 
<description> 
the JSP Webapp Adapter for Sakai (allows running normal JSPs within Sakai), original code by Andrew 
Thornton (andrew at caret.cam.ac.uk), cleanup and stuff by Aaron Zeckoski (aaron at caret.cam.ac.uk) 
</description> 
<version>0.11-SNAPSHOT</version> 
<packaging>jar</packaging> 

<properties> 
<servletapi.version>2.4</servletapi.version> 
<sakai.kernel.version>1.0.11</sakai.kernel.version> 
</properties> 

<dependencies> 

<dependency> 
<groupId>javax.servlet</groupId> 
<artifactId>servlet-api</artifactId> 
<version>${servletapi.version}</version> 
<scope>provided</scope> 
</dependency> 

<dependency> 
<groupId>org.sakaiproject.kernel</groupId> 
<artifactId>sakai-kernel-api</artifactId> 
<version>${sakai.kernel.version}</version> 
<scope>provided</scope> 
</dependency> 

</dependencies> 

<build> 
<sourceDirectory>src/java</sourceDirectory> 
<resources> 
<!-- include the readme.txt file and the java source files --> 
<resource> 
<directory>${basedir}</directory> 
<includes> 
<include>README.txt</include> 
<include>project.xml</include> 
<include>project.properties</include> 
<include>src/**/*.java</include> 
</includes> 
</resource> 
</resources> 
</build> 

<distributionManagement> 
<repository> 
<id>Sakai-Maven2</id> 
<name>Sakaiproject Maven 2 repository</name> 
<url>dav:https://source.sakaiproject.org/maven2</url> 
</repository> 
<site> 
<id>local site</id> 
<url>file:/tmp/jspadapter/site/</url> 
</site> 
</distributionManagement> 

<!-- ensure sakai jars can be found --> 
<repositories> 
<repository> 
<id>sakai-maven</id> 
<name>Sakai Maven Repo</name> 
<layout>default</layout> 
<url>http://source.sakaiproject.org/maven2</url> 
<snapshots> 
<enabled>false</enabled> 
</snapshots> 
</repository> 
</repositories> 

<!-- define source code repository location --> 
<scm> 
<connection>scm:svn:https://source.sakaiproject.org/contrib/caret/sakai-jsp-adapter/trunk/</connection> 
<developerConnection>scm:svn:https://source.sakaiproject.org/contrib/caret/sakai-jsp-adapter/trunk/</developerConnection> 
<url>https://source.sakaiproject.org/contrib/caret/sakai-jsp-adapter/trunk/</url> 
</scm> 

</project> 


----- Original Message -----

From: "Steve Swinsburg" <steve.swinsburg at gmail.com> 
To: "Given Shirinda" <given.shirinda at sita.co.za> 
Sent: Friday, 17 June, 2011 9:04:08 AM 
Subject: Re: [Building Sakai] Opensyllabus Build Error 

Hi Given, 


It sounds like the poms are setup to look in a different location for the Sakai maven plugin info. Can you paste the parent block of the pom.xml? 
Also, at the same level as the opensyllabus directory, do you have the sakai source code? 


cheers, 
Steve 





On 16 Jun 2011, at 23:32, Given Shirinda wrote: 




Hi Team. 

I have a problem on integrating opensyllabus tool.When building it,I got this build error. 


root at given-desktop:/opt/wud/sakai-2.7.x/opensyllabus# mvn clean install sakai:deploy -Dmaven.tomcat.home=%CATALINA_HOME% 
[INFO] Scanning for projects... 
[INFO] Searching repository for plugin with prefix: 'sakai'. 
[INFO] ------------------------------------------------------------------------ 
[ERROR] BUILD ERROR 
[INFO] ------------------------------------------------------------------------ 
[INFO] The plugin 'org.apache.maven.plugins:maven-sakai-plugin' does not exist or no valid version could be found 
[INFO] ------------------------------------------------------------------------ 
[INFO] For more information, run Maven with the -e switch 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: < 1 second 
[INFO] Finished at: Fri Jun 17 08:29:23 SAST 2011 
[INFO] Final Memory: 1M/252M 



-- 


Miyelani Given Shirinda 
Linux Engineer 
Tel :012 482 3035 
Cell:0730133879 
@: given.shirinda at sita.co.za 
Alt@: given.shirinda at gmail.com 

"The key to happiness is having dreams. The key to success is making your dreams?come true." 


	State Information Technology Agency (Proprietary) Limited, Reg No 1999/001899/07, 
459 Tsitsa Street, Erasmuskloof, Pretoria, South Africa, PO Box 26100, Monument Park, 0105, South Africa 
Tel: +27 12 482 3000 ? Fax +27 12 482 2100, www.sita.co.za 
Directors : Ms ZP Manase (Chairperson), Ms F Potgieter-Gqubule (Deputy Chairperson), Mr B Mosley-Lefatola (Managing), Ms SV Bvuma, Mr PR Kgame, Mr CCW Kruger, Mr WS Mabena, Ms K Mdlulwa, Ms T Moloko, Prof MI Mphahlele, Ms KR Mthimunye, Ms N Ntsinde, Mr G Pillay 
Alternates :Ms NM Mhlakaza, Ms BM Malongete, Mr DC Niddrie, Mr G Pillay 
Company Secretary : Ms T Zide 
E-mail Disclaimer: This email and any attachments thereto may contain confidential and proprietary information and is intended for the recipient only. If you are not the intended recipient, kindly delete the entire communication and notify the sender thereof immediately as the information contained in this communication is protected by law and may be privileged. You are further reminded that copying, distribution or disclosure of the contents of this email may be unlawful and result in legal action against you, in the case of you not being the intended recipient. As information sent by email is corruptible, SITA does not accept responsibility for such corruption, destruction, loss or interference of whatsoever kind and howsoever caused. SITA is a member of the Internet Service Provider's Association (ISPA), and as a result has adopted ISPA's Code of Conduct. 
Please consider the environment before you print this email or any documents. _______________________________________________ 
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" 





-- 


Miyelani Given Shirinda 
Linux Engineer 
Tel :012 482 3035 
Cell:0730133879 
@:given.shirinda at sita.co.za 
Alt@:given.shirinda at gmail.com 

"The key to happiness is having dreams. The key to success is making your dreams?come true." 

.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110617/76fe6672/attachment.html 


More information about the sakai-dev mailing list