[Building Sakai] dashboard build error

Beth Kirschner bkirschn at umich.edu
Mon Oct 22 05:53:46 PDT 2012


The Dashboard tool was developed to work only with Sakai 2.9 (and above), though I know there are some other institutions that have backported some of the functionality needed to build it with Sakai 2.8.

- Beth

On Oct 19, 2012, at 8:20 PM, Sanghyun Jeon wrote:

> I am trying to build dashboard (svn co https://source.sakaiproject.org/contrib/dashboard/branches/1.0.x/ dashboard) with sakai 2.8.x-all 
> 
> I am having the below build error. Any suggestion?
> 
> [INFO] Unable to find resource 'org.sakaiproject.announcement:sakai-announcement-api:jar:2.8-SNAPSHOT' in repository sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots)
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.sakaiproject.message:sakai-message-api:jar:2.8-SNAPSHOT
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=org.sakaiproject.message -DartifactId=sakai-message-api -Dversion=2.8-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.message -DartifactId=sakai-message-api -Dversion=2.8-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>         1) org.sakaiproject.dash:dashboard-api:jar:1.0-SNAPSHOT
>         2) org.sakaiproject.message:sakai-message-api:jar:2.8-SNAPSHOT
> 
> 2) org.sakaiproject.assignment:sakai-assignment-api:jar:2.8-SNAPSHOT
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=org.sakaiproject.assignment -DartifactId=sakai-assignment-api -Dversion=2.8-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.assignment -DartifactId=sakai-assignment-api -Dversion=2.8-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>         1) org.sakaiproject.dash:dashboard-api:jar:1.0-SNAPSHOT
>         2) org.sakaiproject.assignment:sakai-assignment-api:jar:2.8-SNAPSHOT
> 
> 3) org.sakaiproject.calendar:sakai-calendar-api:jar:2.8-SNAPSHOT
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=org.sakaiproject.calendar -DartifactId=sakai-calendar-api -Dversion=2.8-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.calendar -DartifactId=sakai-calendar-api -Dversion=2.8-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>         1) org.sakaiproject.dash:dashboard-api:jar:1.0-SNAPSHOT
>         2) org.sakaiproject.calendar:sakai-calendar-api:jar:2.8-SNAPSHOT
> 
> 4) org.sakaiproject.announcement:sakai-announcement-api:jar:2.8-SNAPSHOT
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command: 
>       mvn install:install-file -DgroupId=org.sakaiproject.announcement -DartifactId=sakai-announcement-api -Dversion=2.8-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.announcement -DartifactId=sakai-announcement-api -Dversion=2.8-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency: 
>         1) org.sakaiproject.dash:dashboard-api:jar:1.0-SNAPSHOT
>         2) org.sakaiproject.announcement:sakai-announcement-api:jar:2.8-SNAPSHOT
> 
> ----------
> 4 required artifacts are missing.
> 
> for artifact: 
>   org.sakaiproject.dash:dashboard-api:jar:1.0-SNAPSHOT
> 
> from the specified remote repositories:
>   default (http://repo1.maven.org/maven2),
>   sakai-maven2-snapshots (http://source.sakaiproject.org/maven2-snapshots),
>   central (http://repo1.maven.org/maven2),
>   sakai-maven (http://source.sakaiproject.org/maven2),
>   sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots),
>   projectlombok.org (http://projectlombok.org/mavenrepo)
> 
> 
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4 minutes 44 seconds
> [INFO] Finished at: Fri Oct 19 16:46:24 PDT 2012
> [INFO] Final Memory: 216M/640M
> [INFO] ------------------------------------------------------------------------
> [root at SakaiLocalDev sakai-2.8.x-all]# :q!
> -bash: :q!: command not found
> [root at SakaiLocalDev sakai-2.8.x-all]# 
> 
> _______________________________________________
> 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