2016-05-13 47 views
0

新增Maven發佈插件。分支發行失敗(+缺少分行名稱的第一個字母)

如果我的分支默認maven:prepare成功完成。

/加

我有想法Maven項目。使用mercurial。 我已經創建了分支「MAVEN_RELEASE」,試圖用maven-release-plugin發佈它。並得到以下錯誤。請按照hg推一行。問題的原因是AVEN_RELEASE(無第一個字母)?

[INFO] [INFO] BUILD SUCCESS 
[INFO] [INFO] ------------------------------------------------------------------------ 
[INFO] [INFO] Total time: 02:16 min 
[INFO] [INFO] Finished at: 2016-05-12T17:53:53+06:00 
[INFO] [INFO] Final Memory: 63M/216M 
[INFO] [INFO] ------------------------------------------------------------------------ 
[INFO] Checking in modified POMs... 
[INFO] EXECUTING: cmd.exe /X /C "hg branch" 
[INFO] EXECUTING: cmd.exe /X /C "hg outgoing" 
[WARNING] A different branch than AVEN_RELEASE was found in outgoing changes, branch name was MAVEN_RELEASE. Only local branch named AVEN_RELEASE will be pushed. 
[INFO] EXECUTING: cmd.exe /X /C "hg commit --message "[maven-release-plugin] prepare release sea-bni-1.0.5" C:\EA\IdeaProjects\sea-eclipse\pom.xml C:\EA\IdeaProjects\sea-eclipse\jnlp-apps\pom.xml C:\EA\IdeaProjects\sea-eclipse\jnlp-apps\arm-data-entry\pom.xml C:\EA\IdeaProjects\sea-eclipse\jnlp-apps\sea-print\pom.xml C:\EA\IdeaProjects\sea-eclipse\sea-web\pom.xml C:\EA\IdeaProjects\sea-eclipse\the-ear\pom.xml" 
[INFO] EXECUTING: cmd.exe /X /C "hg push -rAVEN_RELEASE http://oksapp.bingo.ru/hg/sea-eclipse" 
[ERROR] 
EXECUTION FAILED 
    Execution of cmd : push failed with exit code: 255. 
    Working directory was: 
    C:\EA\IdeaProjects\sea-eclipse 
    Your Hg installation seems to be valid and complete. 
    Hg version: 3.5.2 (OK) 

第二個問題,請: 2)我應該做的部署做行家發佈prepeare行動之前,執行?

回答