Maven release plugin fails when creating tag

前端 未结 1 733
滥情空心
滥情空心 2021-01-20 01:44

I\'m trying to use Maven release plugin 2.0 to tag the version and hopefully deploy the resulting jar to the repository.

I got stuck at release:prepare,

相关标签:
1条回答
  • 2021-01-20 01:49

    The problem isn't really maven here. It's more about svn itself. Maven stops its operation when svn send this error message :

    svn: OPTIONS of 'http://myserver/myproject/sandbox/release-test': 200 OK (http://myserver)

    Are you absolutly sure about the http://myserver/myproject/sandbox/release-test adress ?

    If http://myserver/myproject/sandbox/release-test doesn't exists svn won't commit anything. Just replace the http:// by svn://

    <scm>
        <connection>scm:svn:svn://myserver/myproject/sandbox/release-test/tags/release-test-1.3.0</connection>
        <developerConnection>scm:svn:svn://myserver/myproject/sandbox/release-test/tags/release-test-1.3.0</developerConnection>
        <url>svn://myserver/myproject/sandbox/release-test/tags/release-test-1.3.0</url>
    </scm>
    

    Links :
    svnforum.org
    An SVN error (200 OK) when checking out from my online repo
    Tortoise svn Subversion Update Error

    0 讨论(0)
提交回复
热议问题