Note that there are some explanatory texts on larger screens.

plurals
  1. POMaven release plugin fails when creating tag
    primarykey
    data
    text
    <p>I'm trying to use Maven release plugin 2.0 to tag the version and hopefully deploy the resulting jar to the repository.</p> <p>I got stuck at release:prepare, getting this cryptic error</p> <pre><code>[INFO] Checking in modified POMs... [INFO] Executing: cmd.exe /X /C "svn --non-interactive commit --file C:\Users\ME~1\AppData\Local\Temp\maven-scm-950614965.commit --targets C:\Users\ME~1\AppData\Local\Temp\maven-scm-35306-targets" [INFO] Working directory: c:\workspace\release-test-trunk [INFO] Tagging release with the label release-test-1.3.0... [INFO] Executing: cmd.exe /X /C "svn --non-interactive copy --file C:\Users\ME~1\AppData\Local\Temp\maven-scm-829250416.commit --revision 1885 http://myserver/myproject/sandbox/release-test/trunk http://myserver/myproject/sandbox/release-test/tags/release-test-1.3.0" [INFO] Working directory: c:\workspace\release-test-trunk [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Unable to tag SCM Provider message: The svn tag command failed. Command output: svn: OPTIONS of 'http://myserver/myproject/sandbox/release-test': 200 OK (http://myserver) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 20 seconds [INFO] Finished at: Tue Aug 24 19:31:55 GMT 2010 [INFO] Final Memory: 14M/56M [INFO] ------------------------------------------------------------------------ </code></pre> <ul> <li>The tag folder does exist and is empty</li> <li>I executed the command "mvn clean release:clean release:prepare" to be sure have a fresh run</li> <li>Every time I got the error I executed "mvn release:rollback" to have everything back to normal</li> <li>It doesn't seem to be a credentials problem, the pom file is effectively commited with the "-SNAPSHOT" removed and the scm information switched to the tag folder</li> </ul> <p>The strange part is I don't understand how the pom file is commited since I did not specify any credentials neither in the pom nor in the settings.xml file located in maven local install</p> <p>I saw many people having a similar issue but with the "folder already exist" error message. Mine doesn't tell me what the error is precisely.</p> <p>Do you have any ideas ?</p> <p>Many thanks.</p> <p><strong>EDIT</strong>: @Colin If I browse svn://myserver/myproject/sandbox/release-test using tortoise svn for example it works fine. However if I type <a href="http://myserver/myproject/sandbox/release-test" rel="nofollow noreferrer">http://myserver/myproject/sandbox/release-test</a> in Firefox the page is not found. Also I think it should be ok since the pom file gets commited before trying to create the tag. My scm section in the pom file :</p> <pre><code>&lt;scm&gt; &lt;connection&gt;scm:svn:http://myserver/myproject/sandbox/release-test/tags/release-test-1.3.0&lt;/connection&gt; &lt;developerConnection&gt;scm:svn:http://myserver/myproject/sandbox/release-test/tags/release-test-1.3.0&lt;/developerConnection&gt; &lt;url&gt;http://myserver/myproject/sandbox/release-test/tags/release-test-1.3.0&lt;/url&gt; &lt;/scm&gt; </code></pre> <p>I tried removing the "http:" but that didn't work.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload