You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2020/08/01 13:44:43 UTC

[commons-release-plugin] branch master updated: Plugin is now in Parent POM

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-release-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new 923fb02  Plugin is now in Parent POM
923fb02 is described below

commit 923fb02ec8fe8a93dd3ed8bc314184b41b6509c5
Author: Sebb <se...@apache.org>
AuthorDate: Sat Aug 1 14:44:36 2020 +0100

    Plugin is now in Parent POM
---
 src/site/xdoc/index.xml | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index ddd5431..f458442 100755
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -75,15 +75,13 @@
         <section name="Using the plugin">
             <p>
             Configure the plugin as the last plugin in the<code>&lt;build&gt;</code> section of the <code>pom.xml</code>
+            </p>
+            <p>N.B. This is now done in the Commons Parent POM, so is not needed in the component POM.</p>
 <source><![CDATA[
 <plugin>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-release-plugin</artifactId>
   <version>1.7</version>
-  <configuration>
-    <distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/foo</distSvnStagingUrl>
-    <isDistModule>true</isDistModule>
-  </configuration>
   <executions>
     <execution>
       <id>clean-staging</id>
@@ -109,7 +107,16 @@
   </executions>
 </plugin>
 ]]></source>
+            <p>
+            The following properties need to be defined in the component POM if not already defined
             </p>
+<source><![CDATA[
+    <properties>
+          <!-- Previous version of the component (used for reporting binary compatibility check)-->
+          <commons.bc.version>m.n</commons.bc.version>
+          <commons.release.isDistModule>true</commons.release.isDistModule>
+    </properties>
+]]></source>
             <p>
             After the above configuration performing the release would occur by (<i>note.</i> more
             in depth details can be found at