jira-importer commented on issue #901: URL: https://github.com/apache/maven-scm/issues/901#issuecomment-2964632027
**[Rafael Alcántara](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rafael.alcantara)** commented I am using release-plugin 2.4 and scm-plugin 1.8.1, but get this very same error: ``` [INFO] Tagging release with the label rhea-index-1.3.6... [INFO] Executing: /bin/sh -c cd /Users/rafa/projects/rhea/rhea-index && svn --username ralcantara --no-auth-cache --non-interactive copy --file /var/folders/mp/sncwnzl94t7cd98md0l_yfk40000gs/T/maven-scm-1553602371.commit svn+ssh://svn.code.sf.net/p/rhea-ebi/code/trunk/rhea-index svn+ssh://[email protected]/p/rhea-ebi/code/tags/rhea-index-1.3.6 [INFO] Working directory: /Users/rafa/projects/rhea/rhea-index [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.308s [INFO] Finished at: Thu Feb 14 13:49:58 GMT 2013 [INFO] Final Memory: 10M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4:prepare (default-cli) on project rhea-index: Unable to tag SCM [ERROR] Provider message: [ERROR] The svn tag command failed. [ERROR] Command output: [ERROR] svn: Source and dest appear not to be in the same repository (src: 'svn+ssh://svn.code.sf.net/p/rhea-ebi/code/trunk/rhea-index'; dst: 'svn+ssh://[email protected]/p/rhea-ebi/code/tags/rhea-index-1.3.6') ``` As you see I use the -Dusername mvn option, but the result is exactly the same if I don't (my username appears in the svn info). I have also added these two lines to my .ssh/config file, to no avail: ``` Host svn.code.sf.net User ralcantara ``` The error comes obviously from svn. If I try to run the very same command, I get the very same error: ``` svn cp svn+ssh://svn.code.sf.net/p/rhea-ebi/code/trunk/rhea-index svn+ssh://[email protected]/p/rhea-ebi/code/tags/rhea-index-1.3.6 svn: Source and dest appear not to be in the same repository (src: 'svn+ssh://svn.code.sf.net/p/rhea-ebi/code/trunk/rhea-index'; dst: 'svn+ssh://[email protected]/p/rhea-ebi/code/tags/rhea-index-1.3.6') ``` However, just removing my username makes it work like a charm: ``` svn cp svn+ssh://svn.code.sf.net/p/rhea-ebi/code/trunk/rhea-index svn+ssh://svn.code.sf.net/p/rhea-ebi/code/tags/rhea-index-1.3.6 -m 'rhea-index-1.3.6' Committed revision 3060. ``` , and also adding my username to both URLs: ``` svn cp svn+ssh://[email protected]/p/rhea-ebi/code/trunk/rhea-index svn+ssh://[email protected]/p/rhea-ebi/code/tags/rhea-index-dltm -m DeleteMe Committed revision 3061. ``` As I said, the remote username already appears in my svn info: ``` svn info Path: . URL: svn+ssh://[email protected]/p/rhea-ebi/code/trunk/rhea-index Repository Root: svn+ssh://[email protected]/p/rhea-ebi/code ``` Can we make maven-scm-plugin smarter so that it adds the username to the URL while tagging? This looks very much like SCM-217... Thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
