我第一次尝试在我的系统上构建一个OpenTripPlanner版本。有几个依赖项错误,我可以通过手动下载jar并将其添加到.m2/repository
但是,我无法解决第二个依赖性错误。以下是maven构建的错误日志
[INFO] opentripplanner-geocoder .......................... SUCCESS [ 1.976 s]
[INFO] opentripplanner-gui ............................... FAILURE [ 11.088 s]
[INFO] opentripplanner-webapp ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 53.144 s
[INFO] Finished at: 2015-02-18T15:33:08-05:00
[INFO] Final Memory: 25M/412M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project opentripplanner-gui: Could not resolve dependencies for project org.opentripplanner:opentripplanner-gui:jar:0.6.0-SNAPSHOT: Failed to collect dependencies at org.processing:core:jar:1.0.7: Failed to read artifact descriptor for org.processing:core:jar:1.0.7: Could not transfer artifact org.processing:core:pom:1.0.7 from/to axis (http://people.apache.org/repo/m1-ibiblio-rsync-repository/org.apache.axis2/): connect timed out -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :opentripplanner-gui
我知道它与core-1.0.7.jar
有关,但我无法绕过它
答案 0 :(得分:0)
事实证明,只需要将存储库从OpenGeo切换到Conveyal。帮助我解决问题的讨论主题:https://groups.google.com/forum/#!topic/opentripplanner-users/pKPGut4iCyQ