You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2015/06/14 12:00:58 UTC

svn commit: r1685377 - in /commons/proper/cli/trunk: RELEASE-NOTES.txt pom.xml src/changes/changes.xml src/site/site.xml src/site/xdoc/download_cli.xml src/site/xdoc/index.xml src/site/xdoc/release_1_3_1.xml

Author: britter
Date: Sun Jun 14 10:00:57 2015
New Revision: 1685377

URL: http://svn.apache.org/r1685377
Log:
Prepare 1.3.1 bug fix release

Added:
    commons/proper/cli/trunk/src/site/xdoc/release_1_3_1.xml
      - copied, changed from r1685371, commons/proper/cli/trunk/src/site/xdoc/release_1_3.xml
Modified:
    commons/proper/cli/trunk/RELEASE-NOTES.txt
    commons/proper/cli/trunk/pom.xml
    commons/proper/cli/trunk/src/changes/changes.xml
    commons/proper/cli/trunk/src/site/site.xml
    commons/proper/cli/trunk/src/site/xdoc/download_cli.xml
    commons/proper/cli/trunk/src/site/xdoc/index.xml

Modified: commons/proper/cli/trunk/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/RELEASE-NOTES.txt?rev=1685377&r1=1685376&r2=1685377&view=diff
==============================================================================
--- commons/proper/cli/trunk/RELEASE-NOTES.txt (original)
+++ commons/proper/cli/trunk/RELEASE-NOTES.txt Sun Jun 14 10:00:57 2015
@@ -1,5 +1,5 @@
             Apache Commons CLI
-                Version 1.3
+                Version 1.3.1
                Release Notes
 
 
@@ -9,13 +9,21 @@ This document contains the release notes
 package. Commons CLI provides a simple API for working with the command line
 arguments and options.
 
-Commons CLI 1.3 is a bugfix and feature release and binary compatible with the
+Commons CLI 1.3.1 is a bug fix release and binary compatible with the
 previous versions, except for the OptionValidator class that is no longer public
-(change introduced in v1.2). Commons CLI 1.3 at least requires Java 5.0.
+(change introduced in v1.2). Commons CLI 1.3.1 at least requires Java 5.0.
 
 More information can be found on the project site at 
 http://commons.apache.org/cli.
 
+BUG FIXES
+=========
+
+o CLI-252: LongOpt falsely detected as ambiguous. Thanks to Simon Harrer.
+
+
+                Release Notes for version 1.3
+
 NOTES
 =====
 

Modified: commons/proper/cli/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/pom.xml?rev=1685377&r1=1685376&r2=1685377&view=diff
==============================================================================
--- commons/proper/cli/trunk/pom.xml (original)
+++ commons/proper/cli/trunk/pom.xml Sun Jun 14 10:00:57 2015
@@ -24,7 +24,7 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>commons-cli</groupId>
   <artifactId>commons-cli</artifactId>
-  <version>1.4-SNAPSHOT</version>
+  <version>1.3.1-SNAPSHOT</version>
   <name>Apache Commons CLI</name>
 
   <inceptionYear>2002</inceptionYear>
@@ -166,7 +166,7 @@
     <maven.compiler.source>1.5</maven.compiler.source>
     <maven.compiler.target>1.5</maven.compiler.target>
     <commons.componentid>cli</commons.componentid>
-    <commons.release.version>1.3</commons.release.version>
+    <commons.release.version>1.3.1</commons.release.version>
     <commons.release.name>commons-cli-${commons.release.version}</commons.release.name>
     <commons.osgi.symbolicName>org.apache.commons.cli</commons.osgi.symbolicName>
     <commons.jira.id>CLI</commons.jira.id>

Modified: commons/proper/cli/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/changes/changes.xml?rev=1685377&r1=1685376&r2=1685377&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/changes/changes.xml (original)
+++ commons/proper/cli/trunk/src/changes/changes.xml Sun Jun 14 10:00:57 2015
@@ -22,7 +22,7 @@
   </properties>
   <body>
 
-    <release version="1.4" date="tba" description="tba">
+    <release version="1.3.1" date="tba" description="Bug fix release for 1.3">
       <action type="fix" dev="britter" issue="CLI-252" due-to="Simon Harrer">
         LongOpt falsely detected as ambiguous
       </action>

Modified: commons/proper/cli/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/site/site.xml?rev=1685377&r1=1685376&r2=1685377&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/site/site.xml (original)
+++ commons/proper/cli/trunk/src/site/site.xml Sun Jun 14 10:00:57 2015
@@ -37,7 +37,7 @@
             <item name="Usage scenarios"      href="/usage.html"/>
             <item name="Option properties"    href="/properties.html"/>
             <item name="Javadoc (Current ${project.version})"        href="/apidocs/index.html"/>
-            <item name="Javadoc (1.3)"        href="/javadocs/api-release/index.html"/>
+            <item name="Javadoc (1.3.1)"      href="/javadocs/api-release/index.html"/>
         </menu>
 
     </body>

Modified: commons/proper/cli/trunk/src/site/xdoc/download_cli.xml
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/site/xdoc/download_cli.xml?rev=1685377&r1=1685376&r2=1685377&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/site/xdoc/download_cli.xml (original)
+++ commons/proper/cli/trunk/src/site/xdoc/download_cli.xml Sun Jun 14 10:00:57 2015
@@ -95,32 +95,32 @@ limitations under the License.
       </p>
     </subsection>
     </section>
-    <section name="Apache Commons CLI 1.3 ">
+    <section name="Apache Commons CLI 1.3.1 ">
       <subsection name="Binaries">
         <table>
           <tr>
-              <td><a href="[preferred]/commons/cli/binaries/commons-cli-1.3-bin.tar.gz">commons-cli-1.3-bin.tar.gz</a></td>
-              <td><a href="http://www.apache.org/dist/commons/cli/binaries/commons-cli-1.3-bin.tar.gz.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/cli/binaries/commons-cli-1.3-bin.tar.gz.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/cli/binaries/commons-cli-1.3.1-bin.tar.gz">commons-cli-1.3.1-bin.tar.gz</a></td>
+              <td><a href="http://www.apache.org/dist/commons/cli/binaries/commons-cli-1.3.1-bin.tar.gz.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/cli/binaries/commons-cli-1.3.1-bin.tar.gz.asc">pgp</a></td>
           </tr>
           <tr>
-              <td><a href="[preferred]/commons/cli/binaries/commons-cli-1.3-bin.zip">commons-cli-1.3-bin.zip</a></td>
-              <td><a href="http://www.apache.org/dist/commons/cli/binaries/commons-cli-1.3-bin.zip.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/cli/binaries/commons-cli-1.3-bin.zip.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/cli/binaries/commons-cli-1.3.1-bin.zip">commons-cli-1.3.1-bin.zip</a></td>
+              <td><a href="http://www.apache.org/dist/commons/cli/binaries/commons-cli-1.3.1-bin.zip.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/cli/binaries/commons-cli-1.3.1-bin.zip.asc">pgp</a></td>
           </tr>
         </table>
       </subsection>
       <subsection name="Source">
         <table>
           <tr>
-              <td><a href="[preferred]/commons/cli/source/commons-cli-1.3-src.tar.gz">commons-cli-1.3-src.tar.gz</a></td>
-              <td><a href="http://www.apache.org/dist/commons/cli/source/commons-cli-1.3-src.tar.gz.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/cli/source/commons-cli-1.3-src.tar.gz.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/cli/source/commons-cli-1.3.1-src.tar.gz">commons-cli-1.3.1-src.tar.gz</a></td>
+              <td><a href="http://www.apache.org/dist/commons/cli/source/commons-cli-1.3.1-src.tar.gz.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/cli/source/commons-cli-1.3.1-src.tar.gz.asc">pgp</a></td>
           </tr>
           <tr>
-              <td><a href="[preferred]/commons/cli/source/commons-cli-1.3-src.zip">commons-cli-1.3-src.zip</a></td>
-              <td><a href="http://www.apache.org/dist/commons/cli/source/commons-cli-1.3-src.zip.md5">md5</a></td>
-              <td><a href="http://www.apache.org/dist/commons/cli/source/commons-cli-1.3-src.zip.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/cli/source/commons-cli-1.3.1-src.zip">commons-cli-1.3.1-src.zip</a></td>
+              <td><a href="http://www.apache.org/dist/commons/cli/source/commons-cli-1.3.1-src.zip.md5">md5</a></td>
+              <td><a href="http://www.apache.org/dist/commons/cli/source/commons-cli-1.3.1-src.zip.asc">pgp</a></td>
           </tr>
         </table>
       </subsection>

Modified: commons/proper/cli/trunk/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/site/xdoc/index.xml?rev=1685377&r1=1685376&r2=1685377&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/site/xdoc/index.xml (original)
+++ commons/proper/cli/trunk/src/site/xdoc/index.xml Sun Jun 14 10:00:57 2015
@@ -78,7 +78,8 @@ usage: ls
         The Javadoc API documents are available online:
       </p>
       <ul>
-        <li><a href="javadocs/api-release/index.html">CLI 1.3 (current release)</a></li>
+        <li><a href="javadocs/api-release/index.html">CLI 1.3.1 (current release)</a></li>
+        <li><a href="javadocs/api-1.3/index.html">CLI 1.3</a></li>
         <li><a href="javadocs/api-1.2/index.html">CLI 1.2</a></li>
         <li><a href="javadocs/api-1.1/index.html">CLI 1.1</a></li>
         <li><a href="javadocs/api-1.0/index.html">CLI 1.0</a></li>
@@ -91,10 +92,10 @@ usage: ls
 
     <section name="Releases">
       <p>
-        The latest version is v1.3. -
+        The latest version is v1.3.1 -
         <a href="http://commons.apache.org/cli/download_cli.cgi">Download now!</a>
         <br/>
-        The <a href="release_1_3.html">release notes</a> are also available.
+        The <a href="release_1_3_1.html">release notes</a> are also available.
       </p>
       <p>
         For previous releases, see the <a href="http://archive.apache.org/dist/commons/cli/">Apache Archive</a>.

Copied: commons/proper/cli/trunk/src/site/xdoc/release_1_3_1.xml (from r1685371, commons/proper/cli/trunk/src/site/xdoc/release_1_3.xml)
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/site/xdoc/release_1_3_1.xml?p2=commons/proper/cli/trunk/src/site/xdoc/release_1_3_1.xml&p1=commons/proper/cli/trunk/src/site/xdoc/release_1_3.xml&r1=1685371&r2=1685377&rev=1685377&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/site/xdoc/release_1_3.xml (original)
+++ commons/proper/cli/trunk/src/site/xdoc/release_1_3_1.xml Sun Jun 14 10:00:57 2015
@@ -17,14 +17,14 @@ limitations under the License.
 -->
 <document>
  <properties>
-  <title>Release notes for CLI 1.3</title>
+  <title>Release notes for CLI 1.3.1</title>
   <author email="dev@commons.apache.org">Commons Documentation Team</author>
  </properties>
 <body>
 
 <section name="Release notes">
 
-  <p>These are the release notes for Commons CLI 1.3.</p>
+  <p>These are the release notes for Commons CLI 1.3.1.</p>
 
 <source>
 INTRODUCTION:
@@ -33,119 +33,17 @@ This document contains the release notes
 package. Commons CLI provides a simple API for working with the command line
 arguments and options.
 
-Commons CLI 1.3 is a bugfix and feature release and binary compatible with the
+Commons CLI 1.3.1 is a bug fix release and binary compatible with the
 previous versions, except for the OptionValidator class that is no longer public
-(change introduced in v1.2). Commons CLI 1.3 at least requires Java 5.0.
+(change introduced in v1.2). Commons CLI 1.3.1 at least requires Java 5.0.
 
 More information can be found on the project site at
 http://commons.apache.org/cli.
 
-NOTES
-=====
-
-A new parser is available: DefaultParser. It combines the features of the
-GnuParser and the PosixParser. It also provides additional features like
-partial matching for the long options, and long options without
-separator (i.e like the JVM memory settings: -Xmx512m). This new parser
-deprecates the previous ones.
-
-DEPRECATIONS
-============
-
-o org.apache.commons.cli.BasicParser
-    replaced by org.apache.commons.cli.DefaultParser
-
-o org.apache.commons.cli.GnuParser
-    replaced by org.apache.commons.cli.DefaultParser
-
-o org.apache.commons.cli.OptionBuilder
-    replaced by org.apache.commons.cli.Option.builder()
-                org.apache.commons.cli.Option.builder(String)
-                org.apache.commons.cli.Option.Builder
-
-o org.apache.commons.cli.Parser
-    replaced by org.apache.commons.cli.DefaultParser
-
-o org.apache.commons.cli.PosixParser
-    replaced by org.apache.commons.cli.DefaultParser
-
-
-NEW FEATURES
-============
-
-o CLI-161: PosixParser doesn't stop the parsing on "--" tokens following an
-           option with an argument
-o CLI-167: Support options like Java memory settings (-Xmx512M)
-o CLI-181: Unified Parser
-o CLI-224: Added new fluent API to create Option instances via builder class
-           Option.Builder. This replaces the now deprecated OptionBuilder.
-           Thanks to Duncan Jones, Brian Blount.
-o CLI-160: PosixParser now supports partial long options (--ver instead of
-           --version).
-o CLI-169: HelpFormatter now supports setting the displayed separator of long
-           options. Thanks to J. Lewis Muir.
-o CLI-214: Added new method Options.addOption(String, String). Thanks to
-           Alexandru Mocanu.
-
-
 BUG FIXES
 =========
 
-o CLI-248: Dead links on doc page.
-o CLI-234: Fixed code example in javadoc of
-           "Option#Builder#valueSeparator(char)". Thanks to Greg Thomas.
-o CLI-241: Clarified behavior of "OptionValidator#validateOption(String)"
-           in case of null input. Thanks to Beluga Behr.
-o CLI-202: Default options will now work correctly with required options that
-           are missing.
-o CLI-203: Default options will now work correctly together with option groups.
-o CLI-205: HelpFormatter.setArgName(String) now correctly sets the argument
-           name.
-o CLI-204: Passing default values for not defined options to a parser will now
-           trigger a ParseException instead of a NullPointerException.
-o CLI-201: Default properties provided as input to the Parser.parse() methods
-           are now correctly processed.
-o CLI-215: CommandLine.getParsedOptionValue() now returns a String object if no
-           option type has been explicitly set. Thanks to Manuel Müller.
-o CLI-212: HelpFormatter now prints command-line options in the same order as
-           they have been added. Thanks to Per Cederberg.
-o CLI-186: Standard help text now shows mandatory arguments also for the first
-           option. Thanks to Kristoff Kiefer.
-o CLI-207: HelpFormatter does not strip anymore leading whitespace in the
-           footer text. Thanks to Uri Moszkowicz.
-o CLI-185: Strip quotes contained in argument values only if there is exactly
-           one at the beginning and one at the end. Thanks to
-           Einar M. R. Rosenvinge.
-o CLI-184: Negative numerical arguments take precedence over numerical options.
-o CLI-193: Fix possible StringIndexOutOfBoundsException in HelpFormatter.
-           Thanks to Travis McLeskey.
-o CLI-183: OptionGroups no longer throw an AlreadySelectedException when reused
-           for several parsings.
-o CLI-182: OptionGroup now selects properly an option with no short name.
-
-
-CHANGES
-=======
-
-o CLI-240: Small cleanup of Option class. Thanks to Beluga Behr.
-o CLI-230: Options.getRequiredOptions() now returns an unmodifiable list.
-o CLI-218: Clarify javadoc for CommandLine.getOptionValue() that the first
-           specified argument will be returned. Thanks to Sven.
-o CLI-227: Changed unit tests to junit 4 annotation style. Thanks to
-           Duncan Jones.
-o CLI-209: The javadoc of OptionBuilder now states that the class is not
-           thread-safe. Thanks to Thomas Herre.
-o CLI-200: Fixed typo in javadoc of class CommandLine. Thanks to
-           Gerard Weatherby.
-o CLI-223: Source code now uses generic types instead of raw types where
-           possible. Thanks to Gerard Weatherby.
-o CLI-220  Corrected javadoc for return type of
-           MissingOptionException.getMissingOptions(). Thanks to Joe Casadonte.
-o CLI-197: Improve description of parameter "stopAtNonOption" in method
-           CommandLine.parse(Options, String[], boolean). Thanks to
-           Anders Larsson.
-o CLI-231: Removed DoubleCheckedLocking test from checkstyle configuration.
-           Thanks to Duncan Jones.
+o CLI-252: LongOpt falsely detected as ambiguous. Thanks to Simon Harrer.
 </source>
 
 </section>