[Building Sakai] got error when running "mvn -Pcafe clean install"

David Horwitz david.horwitz at uct.ac.za
Tue Jun 1 02:52:28 PDT 2010


Hi,

It looks like maven can't connect to the internet to download the
plugins it needs. Check the proxy settings in your {maven home}/settings.xml

D

On 06/01/2010 11:46 AM, x yj wrote:
>
>
>
>
> Please help this.
>
>
>
> I am trying to install Sakai
> and following the instructions in http://confluence.sakaiproject.org/display/BOOT/Development+Environment+Setup+Walkthrough
>
>
>
> I got following error when running "mvn -Pcafe clean install"
> to build and deploy it to my tomcat.
>
>
>
> ====================================================
>
>  mvn -Pcafe clean install
>
> [INFO] Scanning for projects...
>
> [WARNING] 
>
>         Profile with id: 'cafe' has not been
> activated.
>
>
>
> [INFO] ------------------------------------------------------------------------
>
> [INFO] Building Maven Default Project
>
> [INFO]    task-segment: [clean, install]
>
> [INFO] ------------------------------------------------------------------------
>
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom
>
> [WARNING] Unable to get resource
> 'org.apache.maven.plugins:maven-clean-plugin:pom:2.2' from repository central
> (http://repo1.maven.org/maven2): Error transferring file: Connection timed out
>
> ......
>
> ====================================================
>
>
>
> Can anyone point me what could possible go wrong? I can open the  pom's
> URL in firefox but why always get "Error transferring file: Connection
> timed out"?
>
>
>
> This is my system setting
>
>
>
> # echo $HTTP_PROXY
>
> http://.....:8080
>
>
>
> # mvn --version
>
> Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100)
>
> Java version: 1.6.0_20
>
> Java home: /usr/java/jdk1.6.0_20/jre
>
> Default locale: en_US, platform encoding: UTF-8
>
> OS name: "linux" version: "2.6.18-53.1.14.el5" arch:
> "i386" Family: "unix"
>
>
>
> Tomcat
>
> # sh version.sh
>
> Using CATALINA_BASE:   /usr/local/tomcat
>
> Using CATALINA_HOME:   /usr/local/tomcat
>
> Using CATALINA_TMPDIR: /usr/local/tomcat/temp
>
> Using JRE_HOME:       /usr/java/jdk1.6.0_20
>
> Server version: Apache Tomcat/6.0.18
>
> Server built:   Jul 22 2008 02:00:36
>
> Server number:  6.0.18.0
>
> OS Name:        Linux
>
> OS Version:     2.6.18-53.1.14.el5
>
> Architecture:   i386
>
> JVM Version:    1.6.0_20-b02
>
> JVM Vendor:     Sun Microsystems Inc.
>
>
>
> # svn --version
>
> svn, version 1.6.11 (r934486)
>
>    compiled Apr 20 2010, 00:33:28
>
>
>
>
>
> Thanks
>
> Yj
>
>  		 	   		  
> _________________________________________________________________
> The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
> http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4
>   
>
>
> _______________________________________________
> 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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100601/4f147b90/attachment.html 


More information about the sakai-dev mailing list