[Building Sakai] problem building sakai 3.0

Pablo García pablo.ju.garcia at gmail.com
Wed Aug 26 11:54:16 PDT 2009


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
>>> 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"
>>
>> -- 
>> 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
>> (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
>> 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"
>>
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/20090826/bbbb44cc/attachment.html 


More information about the sakai-dev mailing list