[Building Sakai] Error building sakai 3

D. Stuart Freeman stuart.freeman at et.gatech.edu
Sat Jun 19 10:00:57 PDT 2010


That file won't be in the central maven repo, it's a datestamped artifact
that gets published to the sakai repo.  We do this when we need to use
features that aren't yet in a released version of Sling.  The jar should
automatically be pulled by maven because the repository is listed in the
pom, but if you need to download it manually it's at
https://source.sakaiproject.org/maven2/org/apache/sling/org.apache.sling.jcr.base/2.0.7-20100524/

On Sat, Jun 19, 2010 at 06:38:36PM +0200, Mai Giménez wrote:
>    Hi, I would need some help.
>    I'm really confused about sakai 3. The documentation is not very clear and
>    I'm trying to install sakai 3.
>    I'm following this ->
>    [1]http://confluence.sakaiproject.org/display/3AK/Sakai+3+UX+Prototype+development
>    but while I'm triying to build� on maven. I've got this error:
> 
>    Downloading:
>    [2]http://repo1.maven.org/maven2/org/apache/sling/org.apache.sling.jcr.resource/2.0.7-20100524/org.apache.sling.jcr.resource-2.0.7-20100524.jar
>    [INFO] Unable to find resource
>    'org.apache.sling:org.apache.sling.jcr.resource:jar:2.0.7-20100524' in
>    repository central ([3]http://repo1.maven.org/maven2)
>    �������
>    [INFO]
>    ------------------------------------------------------------------------
>    [ERROR] BUILD ERROR
>    [INFO]
>    ------------------------------------------------------------------------
>    [INFO] Failed to resolve artifact.
> 
>    Missing:
>    ----------
>    1) org.apache.sling:org.apache.sling.jcr.base:jar:2.0.7-20100524
> 
>    � Try downloading the file manually from the project website.
> 
>    � Then, install it using the command:
>    ����� mvn install:install-file -DgroupId=org.apache.sling
>    -DartifactId=org.apache.sling.jcr.base -Dversion=2.0.7-20100524
>    -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.apache.sling
>    -DartifactId=org.apache.sling.jcr.base -Dversion=2.0.7-20100524
>    -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>    � Path to dependency:
>    � ��� 1)
>    org.sakaiproject.nakamura:org.sakaiproject.nakamura.utils:bundle:0.6-SNAPSHOT
>    � ��� 2) org.apache.sling:org.apache.sling.jcr.base:jar:2.0.7-20100524
> 
>    2) org.apache.sling:org.apache.sling.jcr.resource:jar:2.0.7-20100524
> 
>    � Try downloading the file manually from the project website.
> 
>    � Then, install it using the command:
>    ����� mvn install:install-file -DgroupId=org.apache.sling
>    -DartifactId=org.apache.sling.jcr.resource -Dversion=2.0.7-20100524
>    -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.apache.sling
>    -DartifactId=org.apache.sling.jcr.resource -Dversion=2.0.7-20100524
>    -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>    � Path to dependency:
>    � ��� 1)
>    org.sakaiproject.nakamura:org.sakaiproject.nakamura.utils:bundle:0.6-SNAPSHOT
>    � ��� 2) org.apache.sling:org.apache.sling.jcr.resource:jar:2.0.7-20100524
> 
>    I couldn't find the version of this library on apache web site. Anyone
>    could help?
>    Thank you very much
> 
> References
> 
>    Visible links
>    1. http://confluence.sakaiproject.org/display/3AK/Sakai+3+UX+Prototype+development
>    2. http://repo1.maven.org/maven2/org/apache/sling/org.apache.sling.jcr.resource/2.0.7-20100524/org.apache.sling.jcr.resource-2.0.7-20100524.jar
>    3. http://repo1.maven.org/maven2

> _______________________________________________
> 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"


-- 
D. Stuart Freeman
Georgia Institute of Technology
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100619/ec79190d/attachment.bin 


More information about the sakai-dev mailing list