Skip to content

Commit 595c54b

Browse files
committed
Prepare for the next release candidate
1 parent bf4440d commit 595c54b

5 files changed

Lines changed: 67 additions & 24 deletions

File tree

CONTRIBUTING.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@
4141
Contributing to Apache Commons CLI
4242
======================
4343

44-
You have found a bug or you have an idea for a cool new feature? Contributing code is a great way to give something back to
45-
the open source community. Before you dig right into the code there are a few guidelines that we need contributors to
46-
follow so that we can have a chance of keeping on top of things.
44+
Have you found a bug or have an idea for a cool new feature? Contributing code is a great way to give something back to the open-source community.
45+
Before you dig right into the code, we need contributors to follow a few guidelines to have a chance of keeping on top of things.
4746

4847
Getting Started
4948
---------------
@@ -62,7 +61,7 @@ Making Changes
6261

6362
+ Create a _topic branch_ for your isolated work.
6463
* Usually you should base your branch on the `master` branch.
65-
* A good topic branch name can be the JIRA bug id plus a keyword, e.g. `CLI-123-InputStream`.
64+
* A good topic branch name can be the JIRA bug ID plus a keyword, e.g. `CLI-123-InputStream`.
6665
* If you have submitted multiple JIRA issues, try to maintain separate branches and pull requests.
6766
+ Make commits of logical units.
6867
* Make sure your commit messages are meaningful and in the proper format. Your commit message should contain the key of the JIRA issue.
@@ -72,7 +71,7 @@ Making Changes
7271
+ Create minimal diffs - disable _On Save_ actions like _Reformat Source Code_ or _Organize Imports_. If you feel the source code should be reformatted create a separate PR for this change first.
7372
+ Check for unnecessary whitespace with `git diff` -- check before committing.
7473
+ Make sure you have added the necessary tests for your changes, typically in `src/test/java`.
75-
+ Run all the tests with `mvn clean verify` to assure nothing else was accidentally broken.
74+
+ Run all the tests with `mvn clean verify` to ensure nothing else was accidentally broken.
7675

7776
Making Trivial Changes
7877
----------------------

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Apache Commons CLI
4545

4646
[![Java CI](https://github.com/apache/commons-cli/actions/workflows/maven.yml/badge.svg)](https://github.com/apache/commons-cli/actions/workflows/maven.yml)
4747
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/commons-cli/commons-cli/badge.svg?gav=true)](https://maven-badges.herokuapp.com/maven-central/commons-cli/commons-cli/?gav=true)
48-
[![Javadocs](https://javadoc.io/badge/commons-cli/commons-cli/1.8.0.svg)](https://javadoc.io/doc/commons-cli/commons-cli/1.8.0)
48+
[![Javadocs](https://javadoc.io/badge/commons-cli/commons-cli/1.9.0.svg)](https://javadoc.io/doc/commons-cli/commons-cli/1.9.0)
4949
[![CodeQL](https://github.com/apache/commons-cli/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/apache/commons-cli/actions/workflows/codeql-analysis.yml)
5050
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/apache/commons-cli/badge)](https://api.securityscorecards.dev/projects/github.com/apache/commons-cli)
5151

@@ -62,20 +62,20 @@ Getting the latest release
6262
--------------------------
6363
You can download source and binaries from our [download page](https://commons.apache.org/proper/commons-cli/download_cli.cgi).
6464

65-
Alternatively, you can pull it from the central Maven repositories:
65+
Alternatively, you can pull it from the central Maven repositories:
6666

6767
```xml
6868
<dependency>
6969
<groupId>commons-cli</groupId>
7070
<artifactId>commons-cli</artifactId>
71-
<version>1.8.0</version>
71+
<version>1.9.0</version>
7272
</dependency>
7373
```
7474

7575
Building
7676
--------
7777

78-
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
78+
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
7979
The required Java version is found in the `pom.xml` as the `maven.compiler.source` property.
8080

8181
From a command shell, run `mvn` without arguments to invoke the default Maven goal to run all tests and checks.
@@ -88,7 +88,9 @@ There are some guidelines which will make applying PRs easier for us:
8888
+ No tabs! Please use spaces for indentation.
8989
+ Respect the existing code style for each file.
9090
+ Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
91-
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running ```mvn```.
91+
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running `mvn`.
92+
+ Before you pushing a PR, run `mvn` (by itself), this runs the default goal, which contains all build checks.
93+
+ To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false`
9294

9395
If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas).
9496
You can learn more about contributing via GitHub in our [contribution guidelines](CONTRIBUTING.md).

RELEASE-NOTES.txt

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1+
Apache Commons CLI Version 1.9.0 Release Notes
2+
3+
Apache Commons CLI provides a simple API for presenting, processing, and validating a Command Line Interface.
4+
5+
This release contains new features and bug fixes and requires Java 8 or above.
6+
7+
8+
New Features
9+
------------
10+
11+
* Add OptionGroup.isSelected(). Thanks to Gary Gregory.
12+
* You can now extend HelpFormatter.Builder. Thanks to Gary Gregory.
13+
* Add 'since' attribute to Option to track when an Option was introduced #292 Thanks to Claude Warren.
14+
15+
Fixed Bugs
16+
----------
17+
18+
* CLI-334: Fix Javadoc pathing #280. Thanks to Eric Pugh.
19+
* CLI-335: Updated properties documentation #285. Thanks to Claude Warren.
20+
* CLI-336: Deprecation not always reported #284. Thanks to Claude Warren, Gary Gregory.
21+
* Replace internal StringBuffer with StringBuilder. Thanks to Gary Gregory.
22+
23+
Updates
24+
-------
25+
26+
* Bump org.apache.commons:commons-parent from 70 to 72 #283. Thanks to Gary Gregory, Dependabot.
27+
28+
29+
Historical list of changes: https://commons.apache.org/proper/commons-cli/changes-report.html
30+
31+
For complete information on Apache Commons CLI, including instructions on how to submit bug reports,
32+
patches, or suggestions for improvement, see the Apache Commons CLI website:
33+
34+
https://commons.apache.org/proper/commons-cli/
35+
36+
Download page: https://commons.apache.org/proper/commons-cli/download_cli.cgi
37+
38+
Have fun!
39+
The Apache Commons Team
40+
41+
------------------------------------------------------------------------------
42+
143
Apache Commons CLI Version 1.8.0 Release Notes
244

345
Apache Commons CLI provides a simple API for presenting, processing, and validating a Command Line Interface.

src/changes/changes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<title>Apache Commons CLI Release Notes</title>
2323
</properties>
2424
<body>
25-
<release version="1.9.0" date="YYYY-MM-DD" description="This release contains new features and bug fixes and requires Java 8 or above.">
25+
<release version="1.9.0" date="2024-08-10" description="This release contains new features and bug fixes and requires Java 8 or above.">
2626
<!-- ADD -->
2727
<action type="add" dev="ggregory" due-to="Gary Gregory">Add OptionGroup.isSelected().</action>
2828
<action type="add" dev="ggregory" due-to="Gary Gregory">You can now extend HelpFormatter.Builder.</action>

src/site/xdoc/download_cli.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -113,32 +113,32 @@ limitations under the License.
113113
</p>
114114
</subsection>
115115
</section>
116-
<section name="Apache Commons CLI 1.8.0 ">
116+
<section name="Apache Commons CLI 1.9.0 ">
117117
<subsection name="Binaries">
118118
<table>
119119
<tr>
120-
<td><a href="[preferred]/commons/cli/binaries/commons-cli-1.8.0-bin.tar.gz">commons-cli-1.8.0-bin.tar.gz</a></td>
121-
<td><a href="https://downloads.apache.org/commons/cli/binaries/commons-cli-1.8.0-bin.tar.gz.sha512">sha512</a></td>
122-
<td><a href="https://downloads.apache.org/commons/cli/binaries/commons-cli-1.8.0-bin.tar.gz.asc">pgp</a></td>
120+
<td><a href="[preferred]/commons/cli/binaries/commons-cli-1.9.0-bin.tar.gz">commons-cli-1.9.0-bin.tar.gz</a></td>
121+
<td><a href="https://downloads.apache.org/commons/cli/binaries/commons-cli-1.9.0-bin.tar.gz.sha512">sha512</a></td>
122+
<td><a href="https://downloads.apache.org/commons/cli/binaries/commons-cli-1.9.0-bin.tar.gz.asc">pgp</a></td>
123123
</tr>
124124
<tr>
125-
<td><a href="[preferred]/commons/cli/binaries/commons-cli-1.8.0-bin.zip">commons-cli-1.8.0-bin.zip</a></td>
126-
<td><a href="https://downloads.apache.org/commons/cli/binaries/commons-cli-1.8.0-bin.zip.sha512">sha512</a></td>
127-
<td><a href="https://downloads.apache.org/commons/cli/binaries/commons-cli-1.8.0-bin.zip.asc">pgp</a></td>
125+
<td><a href="[preferred]/commons/cli/binaries/commons-cli-1.9.0-bin.zip">commons-cli-1.9.0-bin.zip</a></td>
126+
<td><a href="https://downloads.apache.org/commons/cli/binaries/commons-cli-1.9.0-bin.zip.sha512">sha512</a></td>
127+
<td><a href="https://downloads.apache.org/commons/cli/binaries/commons-cli-1.9.0-bin.zip.asc">pgp</a></td>
128128
</tr>
129129
</table>
130130
</subsection>
131131
<subsection name="Source">
132132
<table>
133133
<tr>
134-
<td><a href="[preferred]/commons/cli/source/commons-cli-1.8.0-src.tar.gz">commons-cli-1.8.0-src.tar.gz</a></td>
135-
<td><a href="https://downloads.apache.org/commons/cli/source/commons-cli-1.8.0-src.tar.gz.sha512">sha512</a></td>
136-
<td><a href="https://downloads.apache.org/commons/cli/source/commons-cli-1.8.0-src.tar.gz.asc">pgp</a></td>
134+
<td><a href="[preferred]/commons/cli/source/commons-cli-1.9.0-src.tar.gz">commons-cli-1.9.0-src.tar.gz</a></td>
135+
<td><a href="https://downloads.apache.org/commons/cli/source/commons-cli-1.9.0-src.tar.gz.sha512">sha512</a></td>
136+
<td><a href="https://downloads.apache.org/commons/cli/source/commons-cli-1.9.0-src.tar.gz.asc">pgp</a></td>
137137
</tr>
138138
<tr>
139-
<td><a href="[preferred]/commons/cli/source/commons-cli-1.8.0-src.zip">commons-cli-1.8.0-src.zip</a></td>
140-
<td><a href="https://downloads.apache.org/commons/cli/source/commons-cli-1.8.0-src.zip.sha512">sha512</a></td>
141-
<td><a href="https://downloads.apache.org/commons/cli/source/commons-cli-1.8.0-src.zip.asc">pgp</a></td>
139+
<td><a href="[preferred]/commons/cli/source/commons-cli-1.9.0-src.zip">commons-cli-1.9.0-src.zip</a></td>
140+
<td><a href="https://downloads.apache.org/commons/cli/source/commons-cli-1.9.0-src.zip.sha512">sha512</a></td>
141+
<td><a href="https://downloads.apache.org/commons/cli/source/commons-cli-1.9.0-src.zip.asc">pgp</a></td>
142142
</tr>
143143
</table>
144144
</subsection>

0 commit comments

Comments
 (0)