[gradebook2-dev] How to solve the problem when install Gradebook2

kyo tin kyotin_cb at yahoo.com
Thu Oct 28 02:15:17 PDT 2010


Dear all, 
Today, I tried to install gradebook2 to sakai 2.7.1. I changed the sakai version in the root pom.xml from 2.8-snapshot to 2.7.1. When I install from command line: mvn clean install, maven can't solve artifact  
org.sakaiproject.edu-services.sections:sections-integrationsupport:jar:1.1.0-a02
Here is the screen: 
[INFO] ------------------------------------------------------------------------
[INFO] Building Sakai Gradebook2 Shared Data Model
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1258 actually) to copy filtered resources, i.e. build is platform depende
nt!
[INFO] Copying 56 resources
[INFO] Copying 7 resources
[INFO] artifact org.sakaiproject.edu-services.sections:sections-integrationsupport: checking for updates from
apache-repo
[WARNING] repository metadata for: 'artifact org.sakaiproject.edu-services.sections:sections-integrationsuppor
t' could not be retrieved from repository: apache-repo due to an error: Error transferring file: Server return
ed HTTP response code: 504 for URL: http://myfaces.zones.apache.org/dist/maven-repository/org/sakaiproject/edu
-services/sections/sections-integrationsupport/maven-metadata.xml
[INFO] Repository 'apache-repo' will be blacklisted
Downloading: http://source.sakaiproject.org/maven2-snapshots/org/sakaiproject/edu-services/sections/sections-i
ntegrationsupport/1.1.0-a02/sections-integrationsupport-1.1.0-a02.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.sakaiproject.edu-services.sections:sections-integrationsupport:jar:1.1.0-a02

  Try downloading the file manually from:
      http://source.sakaiproject.org/maven2/

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.sakaiproject.edu-services.sections -DartifactId=sections-integrat
ionsupport -Dversion=1.1.0-a02 -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.edu-services.sections -DartifactId=sections-integratio
nsupport -Dversion=1.1.0-a02 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.sakaiproject.gradebook2:gradebook2-model:jar:1.3.1
        2) org.sakaiproject.edu-services.gradebook:gradebook-service-impl:jar:1.0.6
        3) org.sakaiproject.edu-services.sections:sections-integrationsupport:jar:1.1.0-a02

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

for artifact:
  org.sakaiproject.gradebook2:gradebook2-model:jar:1.3.1

from the specified remote repositories:
  default (http://repo1.maven.org/maven2),
  sakai-maven2-snapshots (http://source.sakaiproject.org/maven2-snapshots),
  ibiblio (http://mirrors.ibiblio.org/pub/mirrors/maven2),
  central (http://repo1.maven.org/maven2),
  sakai-maven (http://source.sakaiproject.org/maven2),
  ucd-maven (http://maven2.ucdavis.edu/maven2)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 3 seconds
[INFO] Finished at: Thu Oct 28 16:08:24 ICT 2010
[INFO] Final Memory: 20M/495M
[INFO] ------------------------------------------------------------------------
----------------------------------------------------------------------------------

Nguyen Trong Tin

HoChiMinh City University Of Technology

MT07KH05 - 50702487

Phone:0906.345.360


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/gradebook2-dev/attachments/20101028/92b57201/attachment.html 


More information about the gradebook2-dev mailing list