[Building Sakai] Jar file missing in Maven Build Working with Sakai 2.6.4, Maven2.2.1/Maven 2.0.9

Steve Swinsburg steve.swinsburg at gmail.com
Mon Jan 31 05:24:53 PST 2011


Hi Gautham,

It looks like the issue is with an rSmart module. You will need to build that module first, or ensure you have any required repositories in your pom for it to fetch the artifact. Are you specifically wanting to build the rSmart CLE or just a normal version of Sakai?

cheers,
Steve


On 01/02/2011, at 12:09 AM, Gautham wrote:

> 
> Hi,
> 
> We are getting the attached Maven Build Error while building the Sakai 2.6.4
> using Maven2.2.1/Maven 2.0.9 versions.
> 
> We have searched in the sites as directed by Mavenbuild:
> 
> [INFO] Unable to find resource 'org.sakaiproject:sakai-gmt-api:jar:2.6.4' in
> rep
> ository central (http://repo1.maven.org/maven2)
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.sakaiproject:sakai-gmt-api:jar:2.6.4
> 
>  Try downloading the file manually from the project website.
> 
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=org.sakaiproject
> -DartifactId=sakai-gmt
> -api -Dversion=2.6.4 -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-gmt-a
> pi -Dversion=2.6.4 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -Drepository
> Id=[id]
> 
>  Path to dependency:
>        1) com.rsmart:rsmart-presentable-assignment-impl:jar:2.6.4
>        2) org.sakaiproject:sakai-gmt-api:jar:2.6.4
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact:
>  com.rsmart:rsmart-presentable-assignment-impl:jar:2.6.4
> 
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2),
>  sakai-maven (http://source.sakaiproject.org/maven2),
>  sakai-maven2-snapshots (http://source.sakaiproject.org/maven2-snapshots),
>  default (http://repo1.maven.org/maven2),
>  rsmart (http://maven.rsmart.com/maven),
>  sakai-ibiblio-mirror (http://source.sakaiproject.org/maven2-ibiblio)
> 
> 
> Please suggest the changes needed to resolve this issue.
> 
> Regards,
> gautham
> http://old.nabble.com/file/p30806435/Sakai%2B264_MavenBuild_Error.docx
> Sakai+264_MavenBuild_Error.docx 
> -- 
> View this message in context: http://old.nabble.com/Jar-file-missing-in-Maven-Build-Working-with-Sakai-2.6.4%2C-Maven2.2.1-Maven-2.0.9-tp30806435p30806435.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
> 
> _______________________________________________
> 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"



More information about the sakai-dev mailing list