Prepare website for CLI 1.4 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1786157 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/site/site.xml b/src/site/site.xml
index b36c871..d78d53f 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -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.1)" href="/javadocs/api-release/index.html"/>
+ <item name="Javadoc (1.4)" href="/javadocs/api-release/index.html"/>
</menu>
</body>
diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml
index aa3717b..705b14f 100644
--- a/src/site/xdoc/index.xml
+++ b/src/site/xdoc/index.xml
@@ -78,7 +78,8 @@
The Javadoc API documents are available online:
</p>
<ul>
- <li><a href="javadocs/api-release/index.html">CLI 1.3.1 (current release)</a></li>
+ <li><a href="javadocs/api-release/index.html">CLI 1.4 (current release)</a></li>
+ <li><a href="javadocs/api-1.3.1/index.html">CLI 1.3.1</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>
@@ -92,10 +93,10 @@
<section name="Releases">
<p>
- The latest version is v1.3.1 -
+ The latest version is v1.4 -
<a href="http://commons.apache.org/cli/download_cli.cgi">Download now!</a>
<br/>
- The <a href="release_1_3_1.html">release notes</a> are also available.
+ The <a href="release_1_4.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>.
diff --git a/src/site/xdoc/release_1_4.xml b/src/site/xdoc/release_1_4.xml
new file mode 100644
index 0000000..3d6b0c0
--- /dev/null
+++ b/src/site/xdoc/release_1_4.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<document>
+ <properties>
+ <title>Release notes for CLI 1.4</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.4.</p>
+
+<source>
+INTRODUCTION:
+
+This document contains the release notes for this version of the Commons CLI
+package. Commons CLI provides a simple API for working with the command line
+arguments and options.
+
+Commons CLI 1.4 is a feature 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.4 at least requires Java 5.0.
+
+More information can be found on the project site at
+http://commons.apache.org/cli.
+
+
+NEW FEATURES
+============
+
+o CLI-269: Introduce CommandLine.Builder
+o CLI-267: Add an addRequiredOption method to Options.
+ Thanks to Ricardo Ribeiro.
+
+
+BUG FIXES
+=========
+
+o CLI-265: Optional argument picking up next regular option as its argument.
+ Thanks to Martin Sandiford.
+o CLI-266: HelpFormatter.setOptionComparator(null) doesn't display the values
+ in inserted order. Thanks to Ravi Teja.
+</source>
+
+</section>
+
+</body>
+</document>