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

Gautham gautham at sankhya.net
Mon Jan 31 05:37:24 PST 2011


Hi Steve,

We are trying to Maven build the contents of 
"rSmart-CLE-2.6.4.0-source.tar" after unzipping them. 

We will be trying to develop/reuse the  Sakai functionality for SBI project
requirements.

Please provide any documentation that guide us in developing new sakai
tools.

Thanks,
Gautham


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-tp30806435p30806646.html
Sent from the Sakai - Development mailing list archive at Nabble.com.



More information about the sakai-dev mailing list