You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by st...@apache.org on 2011/07/01 13:47:49 UTC

svn commit: r1141907 - /maven/release/trunk/maven-release-plugin/src/site/fml/faq.fml

Author: stephenc
Date: Fri Jul  1 11:47:49 2011
New Revision: 1141907

URL: http://svn.apache.org/viewvc?rev=1141907&view=rev
Log:
[MRELEASE-499] Add to FAQ: prepare fails because of inheriting parent scm

Modified:
    maven/release/trunk/maven-release-plugin/src/site/fml/faq.fml

Modified: maven/release/trunk/maven-release-plugin/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/maven/release/trunk/maven-release-plugin/src/site/fml/faq.fml?rev=1141907&r1=1141906&r2=1141907&view=diff
==============================================================================
--- maven/release/trunk/maven-release-plugin/src/site/fml/faq.fml (original)
+++ maven/release/trunk/maven-release-plugin/src/site/fml/faq.fml Fri Jul  1 11:47:49 2011
@@ -48,5 +48,14 @@ mvn -N -Darguments=-N release:perform
 </source>
       </answer>
     </faq>
+    <faq id="inheritScm">
+      <question>Why is release:prepare failing when trying to tag with "svn: Path '...' does not exist in revision ..."</question>
+      <answer>
+        <p>If the pom.xml has no scm-section but inherits one from its parent, the prepare will fail when trying to tag.
+           The message will be something like:</p>
+        <pre>svn: Path '...' does not exist in revision ...</pre>
+        <p>To fix it, roll-back the release, add the <code>scm</code> section to the pom.xml, commit and retry the release.</p>
+      </answer>
+    </faq>
   </part>
 </faqs>
\ No newline at end of file