Forum Problems Installing LAMS: LAMS + Sakai 2.5 Integration


 
You may request notification for LAMS + Sakai 2.5 Integration.
Search: 

1: LAMS + Sakai 2.5 Integration
05/18/09 02:14 AM
[ Reply | Forward ]
Hi Guys,I have sakai 2.5 installed on debian system.

when I run mvn clean install sakai:deploy. I got this Build Error Message.

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.sakaiproject:sakai-mock:jar:2.5.0

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.sakaiproject -DartifactId=sakai-mock -Dversion=2.5.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.sakaiproject -DartifactId=sakai-mock -Dversion=2.5.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) org.sakaiproject:sakai-lamstwo-logic-impl:jar:1.3-SNAPSHOT
2) org.sakaiproject:sakai-mock:jar:2.5.0

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

for artifact:
org.sakaiproject:sakai-lamstwo-logic-impl:jar:1.3-SNAPSHOT

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

Posted by Miyelani Given Shirinda

2: Re: LAMS + Sakai 2.5 Integration
In response to 1 02/20/11 10:22 AM
[ Reply | Forward ]
Try upgrading the maven and see.
Also see if the code from the trunk helps you.

cd to your sakai source directory and run the following command

svn co https://source.sakaiproject.org/contrib/lams/trunk/ lams
Then, cd lams
vi pom.xml and make sure you change 2.7.8 to 2.5.0(to what ever is mentioned in sakai-source/master/pom.xml)

Then compile.

mvn clean install sakai:deploy

Abdul Khader

Posted by Abdul Khader

Reply to first post on this page
Back to Problems Installing LAMS