[Building Sakai] got error when running "mvn -Pcafe clean install"
x yj
xuey at hotmail.com
Tue Jun 1 07:46:49 PDT 2010
Hi,
This is exactly what I did in Setting.xml. Only two sections have been defined
in my Setting.xml, which is <profile> for Tomcat and
<proxies><proxy>…And I use the example from the URL.
As my system already installed subversion before I start to install Sakai, so I skip
subversion installation part in the instruction in here
http://confluence.sakaiproject.org/display/BOOT/Development+Environment+Setup+Walkthrough
Could this possible cause the error? But
my Svn looks fine.
When I try
#svn --version
svn, version 1.6.11 (r934486)
compiled Apr 20 2010, 00:33:28
…….
Thanks for your help.
Yj
==========================
Hi
See this section:
http://confluence.sakaiproject.org/display/BOOT/Maven+2.x+settings.xml+file
In the guide and make sure your settings file has a proxies section.
Maven won't use the environment variable.
D
On 06/01/2010 04:03 PM, x yj wrote:
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 file
I 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)......
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100601/5a1c8825/attachment.html
More information about the sakai-dev
mailing list