[ https://jira.codehaus.org/browse/MRELEASE-494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=341728#comment-341728 ]
Baptiste Mathus commented on MRELEASE-494: ------------------------------------------ For the record, now that SCM-741 is fixed, that issue actually only needs the maven-release-plugin to use the to be released maven-scm-1.10 version. > Should fail during release:prepare if scm:url doesn't match working copy > ------------------------------------------------------------------------ > > Key: MRELEASE-494 > URL: https://jira.codehaus.org/browse/MRELEASE-494 > Project: Maven Release Plugin > Issue Type: Bug > Components: prepare > Affects Versions: 2.0-beta-9 > Environment: Subversion SCM; working in a branch > Reporter: David M. Lee > > The release plugin should check scm:url against the output of {{svn info}}. > If they don't match, it should fail with an error. > We had a situation where the pom file in a branch was screwed up during a > merge, such that scm:url was incorrect. In our case, it pointed to the trunk > instead of the branch. > This caused release:prepare to silently do the wrong thing. It would still > do the normal edit/commit in the working copy of the branch, but then it > would do the copy using the scm:url. In our case, this meant that the tag > was copied from the trunk instead of the branch. > In fact, release:perform also completed successfully; our only indication > that there was a problem was the version number of the released artifacts. > We cannot set remotetagging=false due to the Subversion bug trying to copy > with svn > 1.5. -- This message was sent by Atlassian JIRA (v6.1.6#6162)