Note that there are some explanatory texts on larger screens.

plurals
  1. POMaven Release Plugin - svn: E200007: Source and destination URLs appear not to point to the same repository
    primarykey
    data
    text
    <p>I'm getting this error during the mvn release:prepare goal:</p> <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4.2:prepare (default-cli) on project env-status-checks: Unable to tag SCM [ERROR] Provider message: [ERROR] The svn tag command failed. [ERROR] Command output: [ERROR] svn: E200007: Source and destination URLs appear not to point to the same repository. </code></pre> <p>That's the failing SVN command</p> <pre><code>[INFO] Tagging release with the label env-status-checks-0.0.1... [INFO] Executing: cmd.exe /X /C "svn --username akanchev --password ***** --no-auth-cache --non-interactive copy --file C:\Windows\TEMP\maven-scm-1102804858.commit --revision 9260 svn://svn.XXXX.local/qa/XX-tf/trunk/env-status-checks http://svn.XXXX.local/qa/XX-tf/tags/env-status-checks-0.0.1" [INFO] Working directory: C:\Users\Administrator\.jenkins\jobs\Test release\workspace [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ </code></pre> <p>The pom.xml config for the maven release plugin is:</p> <pre><code>&lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-release-plugin&lt;/artifactId&gt; &lt;version&gt;2.4.2&lt;/version&gt; &lt;configuration&gt; &lt;tagBase&gt;http://svn.XXXX.local/qa/XX-tf/tags&lt;/tagBase&gt; &lt;/configuration&gt; &lt;/plugin&gt; </code></pre> <p>And that's the SVN scm:</p> <pre><code>&lt;scm&gt; &lt;connection&gt;scm:svn:svn://svn.XXX.local/qa/wh-tf/trunk/env-status-checks&lt;/connection&gt; &lt;developerConnection&gt;scm:svn:svn://svn.XXX.local/qa/XX-tf/trunk/env-status-checks&lt;/developerConnection&gt; &lt;url&gt;scm:svn:svn://svn.XXX.local/qa/XX-tf/&lt;/url&gt; &lt;/scm&gt; </code></pre> <p>FINAL SOLUTION (thanks Ben):</p> <p>I was actually fooled by the maven guide for the release plugin. In the example there</p> <pre><code>&lt;tagBase&gt;https://svn.mycompany.com/repos/myapplication/releases&lt;/tagBase&gt; </code></pre> <p>What worked properly for me is:</p> <p>TAG base</p> <pre><code>&lt;tagBase&gt;svn://svn.XXXX.local/qa/XX-tf/tags/&lt;/tagBase&gt; </code></pre> <p>SCM connection </p> <pre><code>&lt;scm&gt; &lt;connection&gt;scm:svn:svn://svn.XXXX.local/qa/XX-tf/trunk/env-status-checks&lt;/connection&gt; &lt;/scm&gt; </code></pre>
    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.
    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