[Building Sakai] dashboard build error

Sanghyun Jeon euksa99 at gmail.com
Fri Oct 19 17:20:25 PDT 2012


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]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20121019/5c04b16b/attachment.html 


More information about the sakai-dev mailing list