You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2012/03/13 21:39:06 UTC
svn commit: r1300346 -
/maven/release/trunk/maven-release-plugin/src/site/fml/faq.fml
Author: rfscholte
Date: Tue Mar 13 20:39:05 2012
New Revision: 1300346
URL: http://svn.apache.org/viewvc?rev=1300346&view=rev
Log:
Add FAQ-entry for the project.scm.id property
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=1300346&r1=1300345&r2=1300346&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 Tue Mar 13 20:39:05 2012
@@ -46,6 +46,24 @@ mvn -N -Darguments=-N release:perform
</source>
</answer>
</faq>
+ <faq id="credentials">
+ <question>How can I hide my username and password?</question>
+ <answer>
+ <p>Add a server-entry to your <code>settings.xml</code>, where you define your credentials (see <a href="http://maven.apache.org/settings.html#Servers">settings.xml#servers</a> for more details).
+ Since you can't set an id for the <code>scm</code> in your <code>pom.xml</code>, you should add a property pointing to the server-id.
+ </p>
+<source>
+<![CDATA[
+ <project>
+ ...
+ <properties>
+ <project.scm.id>my-scm-server<project.scm.id>
+ </properties>
+ </project>
+]]>
+</source>
+ </answer>
+ </faq>
<faq id="inheritScm">
<question>Why is <code>release:prepare</code> failing when trying to tag with
<code>"svn: Path '...' does not exist in revision ..."</code></question>