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

x yj xuey at hotmail.com
Tue Jun 1 07:03:10 PDT 2010


Hi,

Thanks for your quick reply. In my maven setting file,I using an example from
http://confluence.sakaiproject.org/display/BOOT/Development+Environment+Setup+Walkthrough

to set my proxy server and change to my proxy address&port. 

But "mvn -Pcafe clean install" still cant connect&download pom fileI testing my internet connection by runing this. It is fine and smoothly.
#export http_proxy=http://myproxy...:8080
# wget http://www.softwaresummit.com/2003/speakers/GillardApacheMaven.pdf

This is error I got when I run "mvn -Pcafe clean install"
=========================================

# 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
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
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM)......


Date: Tue, 1 Jun 2010 11:52:28 +0200
From: david.horwitz at uct.ac.za
To: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] got error when running "mvn -Pcafe clean	install"






  
  


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"
 		 	   		  
_________________________________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100601/6a19814e/attachment.html 


More information about the sakai-dev mailing list