You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ch...@apache.org on 2018/02/15 13:51:55 UTC

[1/5] commons-release-plugin git commit: Preparing 1.1. release, upversioning

Repository: commons-release-plugin
Updated Branches:
  refs/heads/1.1 [created] e227fdd20


Preparing 1.1. release, upversioning


Project: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/commit/953a31a1
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/953a31a1
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/953a31a1

Branch: refs/heads/1.1
Commit: 953a31a1a5ff92d6ec525bcda53a6b7a657dcd75
Parents: 144b5ce
Author: Rob Tompkins <ch...@gmail.com>
Authored: Thu Feb 15 08:39:26 2018 -0500
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Thu Feb 15 08:39:26 2018 -0500

----------------------------------------------------------------------
 README.md                                       |  2 +-
 pom.xml                                         | 32 ++++++++++++++++++++
 .../xdoc/download_commons-release-plugin.xml    | 26 ++++++++--------
 src/site/xdoc/index.xml                         |  2 +-
 4 files changed, 47 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/953a31a1/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index efb9785..eff3511 100644
--- a/README.md
+++ b/README.md
@@ -66,7 +66,7 @@ Alternatively you can pull it from the central Maven repositories:
 <dependency>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-release-plugin</artifactId>
-  <version>1.0</version>
+  <version>1.1</version>
 </dependency>
 ```
 

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/953a31a1/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ef35ed5..cf53666 100644
--- a/pom.xml
+++ b/pom.xml
@@ -561,6 +561,38 @@
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                    <groupId>org.apache.commons</groupId>
+                    <artifactId>commons-release-plugin</artifactId>
+                    <version>1.0</version>
+                    <configuration>
+                        <distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/commons-release-plugin/</distSvnStagingUrl>
+                        <dryRun>${dryRun}</dryRun>
+                    </configuration>
+                    <executions>
+                        <execution>
+                            <id>detatch-distributions</id>
+                            <phase>verify</phase>
+                            <goals>
+                                <goal>detach-distributions</goal>
+                            </goals>
+                        </execution>
+                        <execution>
+                            <id>compress-site</id>
+                            <phase>site</phase>
+                            <goals>
+                                <goal>compress-site</goal>
+                            </goals>
+                        </execution>
+                        <execution>
+                            <id>stage-distributions</id>
+                            <phase>deploy</phase>
+                            <goals>
+                                <goal>stage-distributions</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                    </plugin>
                 </plugins>
             </build>
         </profile>

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/953a31a1/src/site/xdoc/download_commons-release-plugin.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/download_commons-release-plugin.xml b/src/site/xdoc/download_commons-release-plugin.xml
index 1a14666..677f67b 100644
--- a/src/site/xdoc/download_commons-release-plugin.xml
+++ b/src/site/xdoc/download_commons-release-plugin.xml
@@ -111,32 +111,32 @@ limitations under the License.
       </p>
     </subsection>
     </section>
-    <section name="Apache Commons Release Plugin 1.0 ">
+    <section name="Apache Commons Release Plugin 1.1 ">
       <subsection name="Binaries">
         <table>
           <tr>
-              <td><a href="[preferred]/commons/commons-release-plugin/binaries/commons-release-plugin-1.0-bin.tar.gz">commons-release-plugin-1.0-bin.tar.gz</a></td>
-              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/binaries/commons-release-plugin-1.0-bin.tar.gz.md5">md5</a></td>
-              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/binaries/commons-release-plugin-1.0-bin.tar.gz.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/commons-release-plugin/binaries/commons-release-plugin-1.1-bin.tar.gz">commons-release-plugin-1.1-bin.tar.gz</a></td>
+              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/binaries/commons-release-plugin-1.1-bin.tar.gz.md5">md5</a></td>
+              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/binaries/commons-release-plugin-1.1-bin.tar.gz.asc">pgp</a></td>
           </tr>
           <tr>
-              <td><a href="[preferred]/commons/commons-release-plugin/binaries/commons-release-plugin-1.0-bin.zip">commons-release-plugin-1.0-bin.zip</a></td>
-              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/binaries/commons-release-plugin-1.0-bin.zip.md5">md5</a></td>
-              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/binaries/commons-release-plugin-1.0-bin.zip.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/commons-release-plugin/binaries/commons-release-plugin-1.1-bin.zip">commons-release-plugin-1.1-bin.zip</a></td>
+              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/binaries/commons-release-plugin-1.1-bin.zip.md5">md5</a></td>
+              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/binaries/commons-release-plugin-1.1-bin.zip.asc">pgp</a></td>
           </tr>
         </table>
       </subsection>
       <subsection name="Source">
         <table>
           <tr>
-              <td><a href="[preferred]/commons/commons-release-plugin/source/commons-release-plugin-1.0-src.tar.gz">commons-release-plugin-1.0-src.tar.gz</a></td>
-              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/source/commons-release-plugin-1.0-src.tar.gz.md5">md5</a></td>
-              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/source/commons-release-plugin-1.0-src.tar.gz.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/commons-release-plugin/source/commons-release-plugin-1.1-src.tar.gz">commons-release-plugin-1.1-src.tar.gz</a></td>
+              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/source/commons-release-plugin-1.1-src.tar.gz.md5">md5</a></td>
+              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/source/commons-release-plugin-1.1-src.tar.gz.asc">pgp</a></td>
           </tr>
           <tr>
-              <td><a href="[preferred]/commons/commons-release-plugin/source/commons-release-plugin-1.0-src.zip">commons-release-plugin-1.0-src.zip</a></td>
-              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/source/commons-release-plugin-1.0-src.zip.md5">md5</a></td>
-              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/source/commons-release-plugin-1.0-src.zip.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/commons-release-plugin/source/commons-release-plugin-1.1-src.zip">commons-release-plugin-1.1-src.zip</a></td>
+              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/source/commons-release-plugin-1.1-src.zip.md5">md5</a></td>
+              <td><a href="https://www.apache.org/dist/commons/commons-release-plugin/source/commons-release-plugin-1.1-src.zip.asc">pgp</a></td>
           </tr>
         </table>
       </subsection>

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/953a31a1/src/site/xdoc/index.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 69400f0..39bb932 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -79,7 +79,7 @@
 <plugin>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-release-plugin</artifactId>
-  <version>1.0</version>
+  <version>1.1</version>
   <configuration>
     <distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/foo</distSvnStagingUrl>
     <dryRun>${dryRun}</dryRun>


[2/5] commons-release-plugin git commit: Preparing 1.1. release notes

Posted by ch...@apache.org.
Preparing 1.1. release notes


Project: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/commit/c8302464
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/c8302464
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/c8302464

Branch: refs/heads/1.1
Commit: c830246426c395cc09906c40b9ebb5babe2b12b6
Parents: 953a31a
Author: Rob Tompkins <ch...@gmail.com>
Authored: Thu Feb 15 08:44:08 2018 -0500
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Thu Feb 15 08:44:08 2018 -0500

----------------------------------------------------------------------
 RELEASE-NOTES.txt       | 13 ++++++++++++-
 src/changes/changes.xml |  2 +-
 2 files changed, 13 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/c8302464/RELEASE-NOTES.txt
----------------------------------------------------------------------
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 597efd1..e4281ad 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -1,5 +1,5 @@
                          Apache Commons Release Plugin
-                                  Version 1.0
+                                  Version 1.1
                                  Release Notes
 
 INTRODUCTION
@@ -15,6 +15,17 @@ together for the purpose of removing the manual steps required to produce an Apa
 
 Changes in this version include:
 
+FIXED BUGS
+==========
+
+o COMMONSSITE-101: Make -Dcommons.release.dryRun=true our commit toggle
+
+=============================================================================
+
+                         Apache Commons Release Plugin
+                                  Version 1.0
+                                 Release Notes
+
 NEW FEATURES
 ============
 

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/c8302464/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 6b19359..69e3aeb 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -25,7 +25,7 @@
   </properties>
 
   <body>
-    <release version="1.1" date="YYYY-MM-DD" description="tbd">
+    <release version="1.1" date="2018-02-15" description="1.1">
       <action issue="COMMONSSITE-101" type="fix" dev="chtompki">Make -Dcommons.release.dryRun=true our commit toggle</action>
     </release>
 


[3/5] commons-release-plugin git commit: Upversion pom: 1.1-SNAPSHOT -> 1.1

Posted by ch...@apache.org.
Upversion pom: 1.1-SNAPSHOT -> 1.1


Project: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/commit/8e9d9e57
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/8e9d9e57
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/8e9d9e57

Branch: refs/heads/1.1
Commit: 8e9d9e57165d1ca52ec760926af414601f324d88
Parents: c830246
Author: Rob Tompkins <ch...@gmail.com>
Authored: Thu Feb 15 08:46:08 2018 -0500
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Thu Feb 15 08:46:08 2018 -0500

----------------------------------------------------------------------
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/8e9d9e57/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index cf53666..d00448a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
     </parent>
     <artifactId>commons-release-plugin</artifactId>
     <packaging>maven-plugin</packaging>
-    <version>1.1-SNAPSHOT</version>
+    <version>1.1</version>
     <name>Apache Commons Release Plugin</name>
 
     <description>


[4/5] commons-release-plugin git commit: Prepare site for 1.1

Posted by ch...@apache.org.
Prepare site for 1.1


Project: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/commit/6ed02a89
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/6ed02a89
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/6ed02a89

Branch: refs/heads/1.1
Commit: 6ed02a89b4b6c01e297d21946833439e26f3115c
Parents: 8e9d9e5
Author: Rob Tompkins <ch...@gmail.com>
Authored: Thu Feb 15 08:47:24 2018 -0500
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Thu Feb 15 08:47:24 2018 -0500

----------------------------------------------------------------------
 .../release-notes/RELEASE-NOTES-1.1.txt         | 47 ++++++++++++++++++++
 src/site/xdoc/release-history.xml               |  3 ++
 2 files changed, 50 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/6ed02a89/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
----------------------------------------------------------------------
diff --git a/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt b/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
new file mode 100644
index 0000000..e4281ad
--- /dev/null
+++ b/src/site/resources/release-notes/RELEASE-NOTES-1.1.txt
@@ -0,0 +1,47 @@
+                         Apache Commons Release Plugin
+                                  Version 1.1
+                                 Release Notes
+
+INTRODUCTION
+============
+This document contains the release notes for the 1.0 version of Apache commons-release-plgin.
+The commons-release-plugin is meant to be a mechanism for automating The Apache Commons Project's
+release process.
+
+The Apache Commons Release Plugin is a collection of Java based Maven mojos for Apache Commons
+Release process. These mojos are intended to be used as a collection of steps to be strung
+together for the purpose of removing the manual steps required to produce an Apache Commons Release.
+
+
+Changes in this version include:
+
+FIXED BUGS
+==========
+
+o COMMONSSITE-101: Make -Dcommons.release.dryRun=true our commit toggle
+
+=============================================================================
+
+                         Apache Commons Release Plugin
+                                  Version 1.0
+                                 Release Notes
+
+NEW FEATURES
+============
+
+o COMMONSSITE-96:   Create commons-release-component project skeleton.
+o COMMONSSITE-99:   Prepare Standard Build integrations, travis, jacoco, checkstyle, etc.
+o COMMONSSITE-97:   Documentation for commons-release-plugin.
+
+
+Historical list of changes: http://commons.apache.org/release-plugin/changes-report.html
+
+For complete information on the Apache commons-release-plugin, including instructions on how
+to submit bug reports, patches, or suggestions for improvement, see the Apache commons-release-plugin's
+website:
+
+http://commons.apache.org/release-plugin/
+
+Have fun!
+-Apache Commons Release Plugin team
+

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/6ed02a89/src/site/xdoc/release-history.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/release-history.xml b/src/site/xdoc/release-history.xml
index b3d4fd1..c5afc9b 100644
--- a/src/site/xdoc/release-history.xml
+++ b/src/site/xdoc/release-history.xml
@@ -25,6 +25,9 @@ limitations under the License.
             <table>
                 <tr><th>Version</th><th>Release date</th><th>Required Java Version</th><th>Javadoc</th><th>Release notes</th></tr>
                 <tr>
+                    <td>1.1</td><td>2-15-2018</td><td>7.0</td><td><a href="javadocs/api-1.1/">api-1.1</a></td><td><a href="release-notes/RELEASE-NOTES-1.1.txt">release notes for 1.1</a></td>
+                </tr>
+                <tr>
                     <td>1.0</td><td>1-10-2018</td><td>7.0</td><td><a href="javadocs/api-1.0/">api-1.0</a></td><td><a href="release-notes/RELEASE-NOTES-1.0.txt">release notes for 1.0</a></td>
                 </tr>
             </table>


[5/5] commons-release-plugin git commit: (docs) updates to documentation

Posted by ch...@apache.org.
(docs) updates to documentation


Project: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/commit/e227fdd2
Tree: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/tree/e227fdd2
Diff: http://git-wip-us.apache.org/repos/asf/commons-release-plugin/diff/e227fdd2

Branch: refs/heads/1.1
Commit: e227fdd20e664b6a7795db258d2c20d69c204a42
Parents: 6ed02a8
Author: Rob Tompkins <ch...@gmail.com>
Authored: Thu Feb 15 08:51:29 2018 -0500
Committer: Rob Tompkins <ch...@gmail.com>
Committed: Thu Feb 15 08:51:29 2018 -0500

----------------------------------------------------------------------
 src/site/xdoc/development.xml | 7 +++++--
 src/site/xdoc/index.xml       | 5 ++---
 2 files changed, 7 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/e227fdd2/src/site/xdoc/development.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/development.xml b/src/site/xdoc/development.xml
index 8404c11..441dd5c 100644
--- a/src/site/xdoc/development.xml
+++ b/src/site/xdoc/development.xml
@@ -57,7 +57,7 @@ public class CommonsDistributionDetachmentMojo extends AbstractMojo {
         imported to the Mojo by the existent maven variables or the declared <code>&lt;configuration&gt;</code>. For
         example, we have a boolean variable named <code>dryRun</code> declared as:
 <source><![CDATA[
-@Parameter
+@Parameter(property = "commons.release.dryRun", defaultValue = "false")
 private Boolean dryRun;
 ]]></source>
         that can be configured by
@@ -65,11 +65,14 @@ private Boolean dryRun;
 <plugin>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-release-plugin</artifactId>
-  <version>1.0</version>
+  <version>1.1</version>
   <configuration>
     <dryRun>true</dryRun>
   </configuration>
 </plugin>]]></source>
+
+        And, because we've set the <code>property here</code> (as in the 1.1 release), you can, on the command line,
+        use the following <code>-Dcommons.release.dryRun=true</code>.
       </p>
 
     </section>

http://git-wip-us.apache.org/repos/asf/commons-release-plugin/blob/e227fdd2/src/site/xdoc/index.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index 39bb932..db319e7 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -82,7 +82,6 @@
   <version>1.1</version>
   <configuration>
     <distSvnStagingUrl>scm:svn:https://dist.apache.org/repos/dist/dev/commons/foo</distSvnStagingUrl>
-    <dryRun>${dryRun}</dryRun>
   </configuration>
   <executions>
     <execution>
@@ -126,14 +125,14 @@
                     <li>
                         running the following command:
 <source><![CDATA[
-mvn -Duser.name=<yourApacheId> [-Duser.password=<yourApacheIdsPassword] [-DdryRun=true -Ptest-deploy] -Prelease clean test site deploy
+mvn -Duser.name=<yourApacheId> [-Duser.password=<yourApacheIdsPassword] [-Dcommons.release.dryRun=true -Ptest-deploy] -Prelease clean test site deploy
 ]]></source>
                     </li>
                 </ol>
             If the component is new, then, before running this maven command, you would want to create
             the requisite subversion directory <code>https://dist.apache.org/repos/dist/dev/commons/foo</code>. Notice,
             that the way to perform a dry run of the release you need to include
-            <code>-DdryRun=true -Ptest-deploy</code>.
+            <code>-Dcommons.release.dryRun=true -Ptest-deploy</code>.
             </p>
         </section>