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

x yj xuey at hotmail.com
Wed Jun 2 02:26:48 PDT 2010


Hi,

Thank you for your kind and quick response‎.

My Sakai is : <version>2.8-SNAPSHOT</version>

I checkout it from here : svn checkout https://source.sakaiproject.org/svn/cafe/trunk/ cafe_trunk



I run mvn from checkout folder which is "cafe_trunk"

error I got:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[root at UiLaTD01 cafe_trunk]# mvn -Pcafe clean install
[INFO] Scanning for projects...
[INFO] snapshot org.sakaiproject.purepoms:sakai-standard-tool:2.8-SNAPSHOT: checking for updates from sakai-maven2-snapshots
[WARNING] repository metadata for: 'snapshot org.sakaiproject.purepoms:sakai-standard-tool:2.8-SNAPSHOT' could not be retrieved from repository: sakai-maven2-snapshots due to an error: Error transferring file: Connection timed out
[INFO] Repository 'sakai-maven2-snapshots' will be blacklisted
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.sakaiproject.scheduler:scheduler:pom:2.8-SNAPSHOT

Reason: Cannot find parent: org.sakaiproject.purepoms:sakai-standard-tool for project: org.sakaiproject.scheduler:scheduler:pom:2.8-SNAPSHOT for project org.sakaiproject.scheduler:scheduler:pom:2.8-SNAPSHOT

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Hi,
What version Sakai are you trying to build? Also,
 as Mathiew suggested, from what directory are you issuing the mvn 
command from?
cheers,Steve


On
 02/06/2010, at 12:48 AM, Mathieu Cantin wrote:

Hi,



In the setup walktrough page at : 

http://confluence.sakaiproject.org/display/BOOT/Development+Environment+Setup+Walkthrough
Make sure you have performed step 8 and check the project root
directory pom.xml file.  It should have a profile defined with id
"cafe".  Also, make sure you are in this directory before performing :
mvn clean install -Pcafe.

The error :     Profile with id: 'cafe' has not been activated.   shows
up when no profile with this id is defined in the pom.xml.



If all this is correct and this error still shows up I don't know what
the problem is.



Mathieu Cantin 		 	   		  
_________________________________________________________________
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/20100602/5e46e4c8/attachment.html 


More information about the sakai-dev mailing list