UOC / lti-xwiki

1 stars 2 forks source link

Failed to execute goal on project authentication-lti: Could not resolve dependencies #2

Closed samuels410 closed 8 years ago

samuels410 commented 8 years ago

Hi when trying to build I am getting following errors, Name or service not known any alternative repo .

[root@vl23110 lti_certification]# mvn install [INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building authentication-lti-certification 1.4.1 [INFO] ------------------------------------------------------------------------ Downloading: http://te.artifactory.uoc.es/artifactory/repo/org/xwiki/platform/model/xwiki-platform-model/4.5.3/xwiki-platform-model-4.5.3.pom Downloading: http://te.artifactory.uoc.es/artifactory/repo/edu/uoc/lti/1.0.2/lti-1.0.2.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.955 s [INFO] Finished at: 2015-11-05T12:25:36+01:00 [INFO] Final Memory: 10M/156M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project authentication-lti: Could not resolve dependencies for project edu.uoc.xwiki:authentication-lti:jar:1.4.1: Failed to collect dependencies at org.xwiki.platform.model:xwiki-platform-model:jar:4.5.3: Failed to read artifact descriptor for org.xwiki.platform.model:xwiki-platform-model:jar:4.5.3: Could not transfer artifact org.xwiki.platform.model:xwiki-platform-model:pom:4.5.3 from/to uoc central (http://te.artifactory.uoc.es/artifactory/repo): te.artifactory.uoc.es: Name or service not known: Unknown host te.artifactory.uoc.es: Name or service not known -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

samuels410 commented 8 years ago

I have changed the https://github.com/UOC/lti-xwiki/blob/master/src/lti_certification/pom.xml 's line http://te.artifactory.uoc.es/artifactory/repo to http://maven.xwiki.org

manually downloaded two more dependencies.