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

David Horwitz david.horwitz at uct.ac.za
Wed Jun 2 02:29:19 PDT 2010


Hi

maybe try adding -X to your maven opts this will add lots of debuging
output. From the error it still lokks like maven is failing to connect
to the network to me.

David

On 06/02/2010 11:26 AM, x yj wrote:
> 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. Get started.
> <http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3>
>
>
>
> _______________________________________________
> 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/20100602/cc1d2a9d/attachment.html 


More information about the sakai-dev mailing list