2013-05-20 3 views
0

official tutorial 다음에 OpenTripPlanner를 설치하려고합니다. 올바르게 저장소를 복제 한 다음 Eclipse에서 프로젝트를 가져 왔지만 모든 패키지를 빌드 할 수 없습니다. 오류 중 하나는 그래서 나는 Maven tutorial와 tryed했지만 내가 실행할 때 "mvn install integration-test -DskipTests -P interactive"나는 얻을 "가져 오기 org.geotools가 해결 될 수 없다"입니다 :OpenTripPlanner 튜토리얼 오류 시작

[ERROR] BUILD ERROR 
[INFO] ------------------------------------------------------------------------ 
[INFO] Error building POM (may not be this project's POM). 


Project ID: org.geotools:library:pom:null 

Reason: Cannot find parent: org.geotools:modules for project: org.geotools:library:pom:null for project org.geotools:library:pom:null 


[INFO] ------------------------------------------------------------------------ 
[INFO] For more information, run Maven with the -e switch 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 7 seconds 
[INFO] Finished at: Mon May 20 15:53:31 CEST 2013 
[INFO] Final Memory: 44M/473M 
[INFO] ------------------------------------------------------------------------ 

인터넷 검색을, 나는 아무것도 비슷한 찾을 수없는 것 그래서, 뭐가 문제 야?

+0

이 버전 변수가 설정되어 있습니까? –

+0

@iant, yes, 코드는 Git 저장소에 게시 된 것과 동일합니다. https://github.com/openplans/OpenTripPlanner/ 8.0-M4 Yuri

답변

1

geotools.version (및 기타) 속성이 주 메뉴()에 설정되어 있지 않은 것으로 보입니다. 아마 허드슨 빌더가 settings.xml에서 오는 변수를 사용하고있을 것입니다.

수동으로 정의 해보십시오 :

mvn install integration-test -DskipTests -Pinteractive -Dgeotools.version=9.1 -Dspring.version=3.1.1.RELEASE 
+0

그렇다면 github 사이트의 버그보고;) – ccancellieri

+0

그것은 작동합니다! 정말 고맙습니다! 이제 github에서 버그를 엽니 다. :) – Yuri