[Building Sakai] problem building sakai 3.0

Bristow, Paul PBristow at csu.edu.au
Mon Sep 21 00:17:51 PDT 2009


I should clarify that this is only my personal mirror of sakai 3 (from which Ian can merge my change).

I’d recommend everyone else work off http://github.com/ieb/open-experiments

----------------------------------------------------
Paul Bristow
Applications Architect
Division of Information Technology
Charles Sturt University
Ph: 02 6051 9959
Fax: 02 6051 9919
pbristow at csu.edu.au
www.csu.edu.au
----------------------------------------------------
From: sakai-dev-bounces at collab.sakaiproject.org [mailto:sakai-dev-bounces at collab.sakaiproject.org] On Behalf Of Bristow, Paul
Sent: Monday, 21 September 2009 5:13 PM
To: Ian Boston
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] problem building sakai 3.0

New repo is at http://github.com/pbristow/open-experiments

It’s bringing in eclipselink from columbia


Current commit also modifies slingtests/osgikernel/app-bundles/pom.xml to bring in proxy module

----------------------------------------------------
Paul Bristow
Applications Architect
Division of Information Technology
Charles Sturt University
Ph: 02 6051 9959
Fax: 02 6051 9919
pbristow at csu.edu.au
www.csu.edu.au
----------------------------------------------------
From: Ian Boston [mailto:ianboston at googlemail.com] On Behalf Of Ian Boston
Sent: Monday, 21 September 2009 3:08 PM
To: Bristow, Paul
Cc: Pablo García; sakai-dev at collab.sakaiproject.org; Walsh, Mark; Ian Boston
Subject: Re: [Building Sakai] problem building sakai 3.0

Hey Paul what's your git repo URL so I can pull the patch. We should probably choose a reliable end point for this rather than rely on a redirect.

Ian


Sent from my iPhone

On 21 Sep 2009, at 05:11, "Bristow, Paul" <PBristow at csu.edu.au<mailto:PBristow at csu.edu.au>> wrote:
Pablo,

Sorry to respond so late ;)

It seems not all eclipse mirrors mirror the eclipselink stuff

The sakai 3 root pom.xml configures a repo at http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo as recommended by eclipselink

But www.eclipse.org<http://www.eclipse.org> redirects this to a mirror, in my case http://mirror.pacific.net.au/eclipse/rt/eclipselink/maven.repo returning 404 not found.

You can download the osgi bundle from http://www.eclipse.org/eclipselink/downloads/index.php which should work or you could probably point your repo directly at a mirror that has eclipselink – I see ftp://mirror.cc.vt.edu/pub/eclipse/rt/eclipselink/maven.repo/ and http://mirror.cc.columbia.edu/pub/software/eclipse/rt/eclipselink/maven.repo/ have content.

I’ve just put the columbia url in open-experiments/slingtests/osgikernel/pom.xml line 485 and it seems to have solved the problem

I think some people having functional mirrors and others not is why this problem hasn’t been solved earlier. I think I must have managed to get the jar while a different mirror was active but having just deleted my repo had the same problem you had

----------------------------------------------------
Paul Bristow
Applications Architect
Division of Information Technology
Charles Sturt University
Ph: 02 6051 9959
Fax: 02 6051 9919
pbristow at csu.edu.au<mailto:pbristow at csu.edu.au>
www.csu.edu.au<http://www.csu.edu.au>
----------------------------------------------------

YOU MUST READ THIS NOTICE

This email has been sent by Charles Sturt University (ABN 83 878 708 551). This email
(and any attachment) is confidential and is intended for the use of the addressee(s)
only. If you are not the intended recipient of this email you must not copy,
distribute, take any action in reliance on it or disclose it to anyone. Any
confidentiality is not waived or lost by reason of mistaken delivery to you. The
views expressed in this email are not necessarily those of Charles Sturt University.
It is very important that before opening any attachments to this email you check them
for viruses and defects. CSU does not accept liability for any corruption or viruses
or any consequence which arise as a result of this email transmission. Email
communications with CSU may be subject to automated email filtering, which could result
in the delay or deletion of a legitimate email before it is read by its intended
recipient at CSU. Please tell us if you have concerns about this automatic filtering.
The Commonwealth Register of Institutions and Courses for Overseas Students (CRICOS)
Provider Number is 00005F (NSW), 025973E (QLD), and 01947G (VIC) for Charles Sturt
University.
----------------------------------------------------
From: sakai-dev-bounces at collab.sakaiproject.org<mailto:sakai-dev-bounces at collab.sakaiproject.org> [mailto:sakai-dev-bounces at collab.sakaiproject.org] On Behalf Of Pablo García
Sent: Thursday, 27 August 2009 4:54 AM
To: sakai-dev at collab.sakaiproject.org<mailto:sakai-dev at collab.sakaiproject.org>
Subject: Re: [Building Sakai] problem building sakai 3.0

hi,
when I try to compile the Sakai K2/Sling as http://confluence.sakaiproject.org/display/KERNDOC/K2+Developer+Getting+Started page gives me this error:

[INFO] Unable to find resource 'org.eclipse.persistence:org.eclipse.persistence.jpa:jar:1.1.0' in repository maven repo (http://repo1.maven.org/maven2/)
Downloading: http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/maven.repo/org/eclipse/persistence/org.eclipse.persistence.jpa/1.1.0/org.eclipse.persistence.jpa-1.1.0.jar
[INFO] Unable to find resource 'org.eclipse.persistence:org.eclipse.persistence.jpa:jar:1.1.0' in repository EclipseLink Repo (http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/maven.repo)
Downloading: http://repo1.maven.org/maven2/org/eclipse/persistence/org.eclipse.persistence.jpa/1.1.0/org.eclipse.persistence.jpa-1.1.0.jar
[INFO] Unable to find resource 'org.eclipse.persistence:org.eclipse.persistence.jpa:jar:1.1.0' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.eclipse.persistence:org.eclipse.persistence.jpa:jar:1.1.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.eclipse.persistence -DartifactId=org.eclipse.persistence.jpa -Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.eclipse.persistence -DartifactId=org.eclipse.persistence.jpa -Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.sakaiproject.kernel:org.sakaiproject.kernel.persistence:bundle:0.1-SNAPSHOT
        2) org.eclipse.persistence:org.eclipse.persistence.jpa:jar:1.1.0

----------
1 required artifact is missing.

for artifact:
  org.sakaiproject.kernel:org.sakaiproject.kernel.persistence:bundle:0.1-SNAPSHOT

from the specified remote repositories:
  EclipseLink Repo (http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/maven.repo),
  central (http://repo1.maven.org/maven2),
  maven repo (http://repo1.maven.org/maven2/),
  apache-snapshots (http://repository.apache.org/snapshots/)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 minutes 16 seconds
[INFO] Finished at: Wed Aug 26 15:39:21 ART 2009
[INFO] Final Memory: 42M/249M
[INFO] ------------------------------------------------------------------------

Thanks
Pablo is referring to a 3akai milestone 1 release built on top of Sakai 2.6 (not K2/Sling) and featuring prototype "3akai/3.0-like" UX work.  Current K2/Sling R&D work on the next generation Sakai represents a fundamental rethink of how we engineer Sakai services and capabilities and is not reflected in the milestone 1 release.

The maven failure that Pablo describes is real and is a result of our reorganization of the Maven 2 repo and the creation of a separate snapshot repo (the rather ancient K1 1.0RC2-SNAPSHOT is not included) .  I've written Pablo about it and will see about updating the snapshot repo once I've finished cutting Sakai 2.5.5/2.6.0.

Sakai K2/Sling experimental work

http://confluence.sakaiproject.org/display/KERNDOC/K2+Developer+Getting+Started

3akai Milestone 1 Release (largely obsolete in my opinion)

http://confluence.sakaiproject.org/display/DOC/3akai

Cheers,

Anthony




On Jul 16, 2009, at 11:11 AM, James Marca wrote:


On Tue, Jul 14, 2009 at 01:06:42PM -0300, Pablo García wrote:

Hello everybody,
I have the following error in the installation of Sakai 3.0 using "mvn clean
install-Dmaven.test.skip = true-Dmaven.tomcat.home = / opt / tomcat Sakai:
deploy":

For what it's worth, I followed the instructions on the Confluence
Wiki under developer documentation for K2 exactly, downloading and
building the two dependecy projects, etc, and had no problems getting
K2/S3 to compile and load.

There are runtime bugs of course, but that's to be expected.

James



[INFO]
------------------------------------------------------------------------
[INFO] Building sakai-sections-integrationsupport
[INFO]    task-segment: [clean, install, sakai:deploy]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory
/opt/sakai-src-3.0.0-milestone01/sections/sections-impl/integration-support/target
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 3 resources
Downloading:
http://source.sakaiproject.org/maven2/org/sakaiproject/kernel/impl/sakai-util-impl/1.0RC2-SNAPSHOT/sakai-util-impl-1.0RC2-SNAPSHOT.pom
[INFO] Unable to find resource
'org.sakaiproject.kernel.impl:sakai-util-impl:pom:1.0RC2-SNAPSHOT' in
repository sakai-maven (http://source.sakaiproject.org/maven2)
Downloading:
http://source.sakaiproject.org/maven2/org/sakaiproject/kernel/impl/sakai-util-impl/1.0RC2-SNAPSHOT/sakai-util-impl-1.0RC2-SNAPSHOT.jar
[INFO] Unable to find resource
'org.sakaiproject.kernel.impl:sakai-util-impl:jar:1.0RC2-SNAPSHOT' in
repository sakai-maven (http://source.sakaiproject.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.sakaiproject.kernel.impl:sakai-util-impl:jar:1.0RC2-SNAPSHOT

 Try downloading the file manually from the project website.

 Then, install it using the command:
     mvn install:install-file -DgroupId=org.sakaiproject.kernel.impl
-DartifactId=sakai-util-impl -Dversion=1.0RC2-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file

 Alternatively, if you host your own repository you can deploy the file
there:
     mvn deploy:deploy-file -DgroupId=org.sakaiproject.kernel.impl
-DartifactId=sakai-util-impl -Dversion=1.0RC2-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

 Path to dependency:
       1)
org.sakaiproject:sakai-sections-integrationsupport:jar:3.0.0-milestone01
       2) org.sakaiproject.kernel.impl:sakai-util-impl:jar:1.0RC2-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
 org.sakaiproject:sakai-sections-integrationsupport:jar:3.0.0-milestone01

from the specified remote repositories:
 central (http://repo1.maven.org/maven2),
 apache-repo (http://myfaces.zones.apache.org/dist/maven-repository),
 sakai-maven (http://source.sakaiproject.org/maven2),
 default (http://repo1.maven.org/maven2),
 sakai-ibiblio-mirror (http://source.sakaiproject.org/maven2-ibiblio)



[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 minutes 47 seconds
[INFO] Finished at: Tue Jul 14 12:11:58 ART 2009
[INFO] Final Memory: 110M/254M
[INFO]
------------------------------------------------------------------------


Thank you very much
Pablo from Rosario, Argentina


_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org<mailto: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<mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of "unsubscribe"

--
James E. Marca, PhD
Researcher
Institute of Transportation Studies
AIRB Suite 4000
University of California
Irvine, CA 92697-3600
jmarca at translab.its.uci.edu<mailto:jmarca at translab.its.uci.edu>
(949) 824-6287

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org<mailto: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<mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of "unsubscribe"















________________________________














_______________________________________________

sakai-dev mailing list

sakai-dev at collab.sakaiproject.org<mailto: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<mailto: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/20090921/b4a1514e/attachment.html 


More information about the sakai-dev mailing list