Skip to content

Commit 74a8c97

Browse files
committed
Adding release notes, and making the src dist end with -src/
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/cli/branches/cli-1.0.x@546558 13f79535-47bb-0310-9956-ffa450edef68
1 parent c864bd2 commit 74a8c97

3 files changed

Lines changed: 36 additions & 6 deletions

File tree

RELEASE-NOTES.txt

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
$Id$
22

33
Commons CLI Package
4-
Version 1.0
4+
Version 1.1
55
Release Notes
66

77

@@ -10,17 +10,40 @@ INTRODUCTION:
1010
This document contains the release notes for this version of the Commons
1111
CLI package. Commons CLI provides a simple API for working with the command line arguments and options.
1212

13-
This is the first release of the CLI component, therefore all features are new,
14-
there are no bug-fixes, nothing is deprecated and there are no changes.
13+
This is a bugfix release of CLI.
1514

1615
For more information, read the documentation on the project site at
1716
http://jakarta.apache.org/commons/cli/
1817

1918
NEW FEATURES:
2019

20+
CLI-78 - Setting description of a Option.
21+
2122
BUG FIXES:
2223

2324
DEPRECATIONS:
2425

2526
CHANGES:
2627

28+
CLI-2 - Wrong usage summary.
29+
CLI-5 - Dependecy on commons-lang-2.0 but commons-lang-1.0 is obtained.
30+
CLI-8 - Line separator as first char for helpformatter (footer) throws exception.
31+
CLI-13 - CommandLine.getOptionValue() behaves contrary to docs.
32+
CLI-21 - clone method in Option should use super.clone().
33+
CLI-23 - Passing properties in Parser does not work for options with a single argument.
34+
CLI-26 - Only long options without short option seems to be noticed.
35+
CLI-28 - Infinite Loop in Command-Line processing.
36+
CLI-29 - Options should not be able to be added more than once.
37+
CLI-35 - HelpFormatter doesn't sort options properly.
38+
CLI-38 - HelpFormatter doesn't function correctly for options with only LongOpt.
39+
CLI-44 - Document enhancement.
40+
CLI-45 - Documentation errors.
41+
CLI-51 - Parameter value "-something" misinterpreted as a parameter.
42+
CLI-56 - clone() method doesn't fully clone contents.
43+
CLI-59 - No Javadoc for HelpFormatter!.
44+
CLI-65 - Parser breaks up command line parms into single characters.
45+
CLI-67 - Missing arguments in HelpFormatter.renderOptions(..).
46+
CLI-69 - Error parsing option arguments.
47+
CLI-71 - A weakness of parser.
48+
CLI-129 - CLI_1_BRANCH build.xml doesn't work.
49+
CLI-130 - Remove the Commons Lang dependency.

maven.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,25 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
-->
17-
<project default="jar:jar">
17+
<project default="jar:jar"
18+
xmlns:j="jelly:core">
1819

19-
<!-- Ensures that the conf directory and NOTICE.txt are included in the
20+
<!-- Ensures that the release notes and NOTICE.txt are included in the
2021
source distro.
2122
-->
2223
<postGoal name="dist:prepare-src-filesystem">
24+
<j:set var="maven.dist.src.assembly.dir" value="${pom.getPluginContext('maven-dist-plugin').getVariable('maven.dist.src.assembly.dir')}" />
2325
<copy todir="${maven.dist.src.assembly.dir}">
2426
<fileset file="${basedir}/NOTICE.txt"/>
27+
<fileset file="${basedir}/RELEASE-NOTES.txt"/>
2528
</copy>
2629
</postGoal>
2730

28-
<!-- Ensures that NOTICE.txt is added to the binary distro -->
31+
<!-- Ensures that release notes NOTICE.txt is added to the binary distro -->
2932
<preGoal name="dist:build-bin">
3033
<copy todir="${maven.dist.bin.assembly.dir}">
3134
<fileset file="${basedir}/NOTICE.txt"/>
35+
<fileset file="${basedir}/RELEASE-NOTES.txt"/>
3236
</copy>
3337
</preGoal>
3438

project.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ maven.compile.target=1.3
1616

1717
maven.jarResources.basedir=${basedir}/src/java
1818

19+
# Make the source distro unzip to a different directory
20+
maven.dist.src.assembly.dir=${maven.dist.assembly.dir}/src/${maven.final.name}-src
21+
1922
# Reset the checkstyle properties to use the default sun settings
2023
maven.checkstyle.properties=
2124
maven.checkstyle.format=sun

0 commit comments

Comments
 (0)