Author: sebb
Date: Tue Oct  3 10:27:47 2023
New Revision: 1912716

URL: http://svn.apache.org/viewvc?rev=1912716&view=rev
Log:
RM details should be in settings.xml, not the POM

Modified:
    commons/cms-site/trunk/content/xdoc/releases/prepare.xml

Modified: commons/cms-site/trunk/content/xdoc/releases/prepare.xml
URL: 
http://svn.apache.org/viewvc/commons/cms-site/trunk/content/xdoc/releases/prepare.xml?rev=1912716&r1=1912715&r2=1912716&view=diff
==============================================================================
--- commons/cms-site/trunk/content/xdoc/releases/prepare.xml (original)
+++ commons/cms-site/trunk/content/xdoc/releases/prepare.xml Tue Oct  3 
10:27:47 2023
@@ -240,16 +240,41 @@ mvn versions:display-plugin-updates -U</
         
&lt;project.build.sourceEncoding&gt;${commons.encoding}&lt;/project.build.sourceEncoding&gt;
         &lt;!-- This is used by reporting plugins --&gt;
         
&lt;project.reporting.outputEncoding&gt;${commons.encoding}&lt;/project.reporting.outputEncoding&gt;
-        <!-- Commons Release Plugin -->
+        &lt;!-- Commons Release Plugin --&gt;
+        &lt;!-- Previous version of the component (used for reporting binary 
compatibility check)--&gt;
         &lt;commons.bc.version&gt;1.5&lt;/commons.bc.version&gt;
         
&lt;commons.release.isDistModule&gt;true&lt;/commons.release.isDistModule&gt;
         
&lt;commons.distSvnStagingUrl&gt;scm:svn:https://dist.apache.org/repos/dist/dev/commons/${commons.componentid}&lt;/commons.distSvnStagingUrl&gt;
-        &lt;commons.releaseManagerName&gt;***Release Manager 
Name***&lt;/commons.releaseManagerName&gt;
-        &lt;commons.releaseManagerKey&gt;***Release Manager GPG Key 
Signature***&lt;/commons.releaseManagerKey&gt;
 
       &lt;properties&gt; </pre>
       </p>
       <p>
+      Ensure your Release Manager details are defined in your Maven 
<code>~/.m2/settings.xml</code> file
+      (These are used by the vote-txt goal)
+      Properties have to be defined in a profile. For example:
+      </p>
+      <source><![CDATA[
+      <settings>
+        ...
+        <profiles>
+          ...
+          <profile>
+            <id>active-profile</id>
+            <properties>
+              <commons.releaseManagerName>Your 
Name</commons.releaseManagerName>
+              <commons.releaseManagerKey>Your Signing Key Hex 
ID</commons.releaseManagerKey>
+            </properties>
+          </profile>
+        </profiles>
+
+        <activeProfiles>
+          <!-- define active profile name -->
+          <activeProfile>active-profile</activeProfile>
+        </activeProfiles>
+        ...
+      </settings>
+      ]]></source>
+      <p>
       Make sure that the release version is set to the new release and that 
the compile and source targets
       are set correctly. Generate and check in a new download page for the 
component:
       <pre>


Reply via email to