【发布时间】:2016-05-13 04:59:36
【问题描述】:
已添加
如果我的分支是default,maven:prepare 成功完成。
/已添加
我在 Idea 中有 maven 项目。使用水银。 我创建了分支“MAVEN_RELEASE”来尝试使用 maven-release-plugin 发布它。并得到以下错误。请遵循 hg push 行。问题的原因是 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)我应该在做maven release prepeare之前做deploy action吗?
【问题讨论】:
标签: java maven intellij-idea mercurial maven-release-plugin