[gradebook2-dev] How to solve the problem when install Gradebook2
Jim Eng
jimeng at umich.edu
Thu Oct 28 09:18:55 PDT 2010
The problem was in the edu-services jars. This is solved in 2.7.x if you update.
Jim
On Oct 28, 2010, at 12:08 PM, Thomas Amsler wrote:
> I might have time to look into this later today. You could cross list this in sakai-dev as well since other's had issues building tools against 2.7.x.
>
> I think Jim Eng ran into similar issues:
>
> http://sakai-project-mail-list-archives.1343168.n2.nabble.com/Building-Sakai-Problem-with-pom-xml-at-root-of-edu-services-td5655862.html
> -- Thomas
>
>
> On Thu, Oct 28, 2010 at 2:15 AM, kyo tin <kyotin_cb at yahoo.com> wrote:
>
> 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
>
>
> _______________________________________________
> gradebook2-dev mailing list
> gradebook2-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/gradebook2-dev
>
>
> _______________________________________________
> gradebook2-dev mailing list
> gradebook2-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/gradebook2-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/gradebook2-dev/attachments/20101028/6f2f9ab0/attachment.html
More information about the gradebook2-dev
mailing list