2013-09-02 3 views
0

이 Maven에 익숙하지 않습니다. 현재 SVN을 연구하고 있습니다. "mvn release : prepare"명령을 적용하려고 할 때 문제가 발생합니다. 그것은Maven Release Plugin 및 SVN commit 오류

오류 아래와 같은 오류를 보여줍니다 -

[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 1:03.733s 
[INFO] Finished at: Mon Sep 02 10:17:17 GMT+05:30 2013 
[INFO] Final Memory: 6M/81M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.2.1:prepare (default-cli) on project curo-fabric-component-rabbitmq-experiments: Unable to commit files 
[ERROR] Provider message: 
[ERROR] The svn command failed. 
[ERROR] Command output: 
[ERROR] svn: Commit failed (details follow): 
[ERROR] svn: Commit blocked by pre-commit hook (exit code 1) with output: 
[ERROR] Valid Radar/Espresso number is not given with commit. 
[ERROR] Provide Radar number as rdar://12345678 OR Provide Espresso number as <exp2://Ticket/12345678> 
[ERROR] -> [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/MojoFailureException 

가 나야 이미 나는이 명령을 신청하는 내 거길에 위치를 체크 아웃 한 도와주세요와 SVN에 제출할 수없는 .

모든 의견을 환영합니다. 미리 감사드립니다.

답변

1

에서 rdar으로 레이더 번호를 입력 : // 12345678 또는 나는 당신의 SVN 서버는 메시지의 정확한 형식에 투입하도록 요구 생각

로 에스프레소 번호를 제공합니다. 그래서 위의 형식 중 하나를 시도해야한다고 생각합니다. rdar://12345678 또는 <exp2://Ticket/12345678>

+0

답장을 보내 주셔서 감사합니다. 그러나 command와 함께 해당 매개 변수를 전달하는 방법. 이미 -Drdar = 12345678을 시도했습니다. –

+0

잘 모르겠습니다 만 http://jlorenzen.blogspot.com/2008/10/more-tips-on-using-maven2-release.html에서 '팁 # 1 - 댓글 변경 알림'을 시도해 볼 수 있습니다. 행운을 빈다 : D –