diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6bd6b6bdb..c315e0848 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,12 +15,12 @@ jobs: continue-on-error: ${{ matrix.os == 'macos-latest' || matrix.java-version == '9' || matrix.java-version == '10' || matrix.java-version == '12' || matrix.java-version == '13' || matrix.java-version == '14' || matrix.java-version == '15' || matrix.java-version == '16' || matrix.java-version == '19' }} steps: - name: Harden Runner - uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v1 + uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v1 with: egress-policy: audit - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v2 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v2 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1 @@ -130,12 +130,12 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Harden Runner - uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v1 + uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v1 with: egress-policy: audit - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v2 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v2 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 672aba6a6..46802ec3f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -49,12 +49,12 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v1 + uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v1 with: egress-policy: audit - name: Checkout repository - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v2 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v2 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/scorecards-analysis.yml b/.github/workflows/scorecards-analysis.yml index 322e72ec4..ea2445aa8 100644 --- a/.github/workflows/scorecards-analysis.yml +++ b/.github/workflows/scorecards-analysis.yml @@ -31,7 +31,7 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v2.4.0 + uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v2.4.0 with: persist-credentials: false diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 70f4a5503..2979b0b29 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -27,6 +27,7 @@ Artifacts in this release are signed by Remko Popma (6601 E5C0 8DCC BB96). * [#2102][#2107] Enhancement: `PropertiesDefaultProvider` should try to load properties from classpath (last). Thanks to [Lumír Návrat](https://github.com/rimuln) for the pull request. * [#2058] Bugfix: `defaultValue` should not be applied in addition to user-specified value for options with a custom `IParameterConsumer`. Thanks to [Staffan Arvidsson McShane](https://github.com/StaffanArvidsson) for raising this. +* [#2148] Bugfix: Fix NPE in jline3 `Example.jar` as `ConfigurationPath` cannot be `null` anymore. Thanks to [llzen44](https://github.com/llzen44) for the pull request. * [#2047] DEP: Bump andymckay/append-gist-action from 1fbfbbce708a39bd45846f0955ed5521f2099c6d to 6e8d64427fe47cbacf4ab6b890411f1d67c07f3e * [#2091] DEP: Bump actions/checkout from 3.5.2 to 3.6.0 * [#2108] DEP: Bump actions/checkout from 3.6.0 to 4.0.0 diff --git a/build.gradle b/build.gradle index 2043c1f6a..53c55dc80 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ buildscript { classpath "org.asciidoctor:asciidoctor-gradle-jvm:$asciidoctorGradlePluginVersion" classpath 'org.asciidoctor:asciidoctorj-pdf:2.3.9' classpath "org.beryx:badass-jar:2.0.0" - classpath 'biz.aQute.bnd:biz.aQute.bnd.gradle:6.4.0' + classpath 'biz.aQute.bnd:biz.aQute.bnd.gradle:7.0.0' classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.30.0" } } diff --git a/dependencies.gradle b/dependencies.gradle index c95c1f685..8545d630f 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -19,12 +19,12 @@ ext { hamcrestCoreVersion = "2.2" ivyVersion = "2.5.2" jacocoVersion = "0.8.2" - jansiVersion = "2.4.0" + jansiVersion = "2.4.1" jline2Version = "2.14.6" jline3Version = "3.24.1" junitDepVersion = "4.11" junitVersion = "4.13.2" - log4j2Version = "2.20.0" + log4j2Version = "2.21.1" springBootVersion = "3.1.2" // Spring Boot 3.0 requires Java 17 as a minimum version systemRulesVersion = "1.19.0" systemLambdaVersion = '1.2.1' diff --git a/docs/A-Whirlwind-Tour-of-Picocli.html b/docs/A-Whirlwind-Tour-of-Picocli.html index 8cb5f1d99..4f8ea7977 100644 --- a/docs/A-Whirlwind-Tour-of-Picocli.html +++ b/docs/A-Whirlwind-Tour-of-Picocli.html @@ -1564,81 +1564,81 @@ }); }); - - - + + +
diff --git a/docs/announcing-picocli-1.0.html b/docs/announcing-picocli-1.0.html index 1266d35b6..7f96c8a4b 100644 --- a/docs/announcing-picocli-1.0.html +++ b/docs/announcing-picocli-1.0.html @@ -526,81 +526,81 @@ .CodeRay .change .change{color:#66f} .CodeRay .head .head{color:#f4f} - - - + + + diff --git a/docs/autocomplete.html b/docs/autocomplete.html index 2bff6ac2a..b6cfab371 100644 --- a/docs/autocomplete.html +++ b/docs/autocomplete.html @@ -1563,81 +1563,81 @@ }); }); - - - + + + diff --git a/docs/build-great-native-cli-apps-in-java-with-graalvm-and-picocli.html b/docs/build-great-native-cli-apps-in-java-with-graalvm-and-picocli.html index bbeb66aed..0234a366d 100644 --- a/docs/build-great-native-cli-apps-in-java-with-graalvm-and-picocli.html +++ b/docs/build-great-native-cli-apps-in-java-with-graalvm-and-picocli.html @@ -525,81 +525,81 @@ .CodeRay .change .change{color:#66f} .CodeRay .head .head{color:#f4f} - - - + + + diff --git a/docs/feedback.html b/docs/feedback.html index e25ceb34a..8133b0290 100644 --- a/docs/feedback.html +++ b/docs/feedback.html @@ -435,81 +435,81 @@ #footer-text{color:rgba(0,0,0,.6);font-size:.9em}} @media amzn-kf8{#header,#content,#footnotes,#footer{padding:0}} - - - + + + diff --git a/docs/groovy-2.5-clibuilder-renewal-part1.html b/docs/groovy-2.5-clibuilder-renewal-part1.html index cced44018..c4d151911 100644 --- a/docs/groovy-2.5-clibuilder-renewal-part1.html +++ b/docs/groovy-2.5-clibuilder-renewal-part1.html @@ -525,81 +525,81 @@ .CodeRay .change .change{color:#66f} .CodeRay .head .head{color:#f4f} - - - + + + diff --git a/docs/groovy-2.5-clibuilder-renewal-part2.html b/docs/groovy-2.5-clibuilder-renewal-part2.html index 9f13200f9..51ef0012d 100644 --- a/docs/groovy-2.5-clibuilder-renewal-part2.html +++ b/docs/groovy-2.5-clibuilder-renewal-part2.html @@ -525,81 +525,81 @@ .CodeRay .change .change{color:#66f} .CodeRay .head .head{color:#f4f} - - - + + + diff --git a/docs/groovy-2.5-clibuilder-renewal.html b/docs/groovy-2.5-clibuilder-renewal.html index 70bde93cf..1db853ad7 100644 --- a/docs/groovy-2.5-clibuilder-renewal.html +++ b/docs/groovy-2.5-clibuilder-renewal.html @@ -525,81 +525,81 @@ .CodeRay .change .change{color:#66f} .CodeRay .head .head{color:#f4f} - - - + + + diff --git a/docs/index.html b/docs/index.html index bb6d1e11e..52f8566cd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1709,81 +1709,81 @@ }); }); - - - + + + diff --git a/docs/man/index.html b/docs/man/index.html index 2985c4513..388728dda 100644 --- a/docs/man/index.html +++ b/docs/man/index.html @@ -435,81 +435,81 @@ #footer-text{color:rgba(0,0,0,.6);font-size:.9em}} @media amzn-kf8{#header,#content,#footnotes,#footer{padding:0}} - - - + + + diff --git a/docs/migrating-from-commons-cli.html b/docs/migrating-from-commons-cli.html index 374c4cc1f..377cc82bc 100644 --- a/docs/migrating-from-commons-cli.html +++ b/docs/migrating-from-commons-cli.html @@ -526,81 +526,81 @@ .CodeRay .change .change{color:#66f} .CodeRay .head .head{color:#f4f} - - - + + + diff --git a/docs/picocli-2.0-do-more-with-less.html b/docs/picocli-2.0-do-more-with-less.html index 9e0a4cfc1..5b6e41a80 100644 --- a/docs/picocli-2.0-do-more-with-less.html +++ b/docs/picocli-2.0-do-more-with-less.html @@ -525,81 +525,81 @@ .CodeRay .change .change{color:#66f} .CodeRay .head .head{color:#f4f} - - - + + + diff --git a/docs/picocli-2.0-groovy-scripts-on-steroids.html b/docs/picocli-2.0-groovy-scripts-on-steroids.html index 885b82171..2fd872576 100644 --- a/docs/picocli-2.0-groovy-scripts-on-steroids.html +++ b/docs/picocli-2.0-groovy-scripts-on-steroids.html @@ -525,81 +525,81 @@ .CodeRay .change .change{color:#66f} .CodeRay .head .head{color:#f4f} - - - + + + diff --git a/docs/picocli-on-graalvm.html b/docs/picocli-on-graalvm.html index f7eace880..396002696 100644 --- a/docs/picocli-on-graalvm.html +++ b/docs/picocli-on-graalvm.html @@ -436,81 +436,81 @@ @media amzn-kf8{#header,#content,#footnotes,#footer{padding:0}} - - - + + + diff --git a/docs/picocli-programmatic-api.html b/docs/picocli-programmatic-api.html index c0b9d4dfd..f610d038a 100644 --- a/docs/picocli-programmatic-api.html +++ b/docs/picocli-programmatic-api.html @@ -436,81 +436,81 @@ @media amzn-kf8{#header,#content,#footnotes,#footer{padding:0}} - - - + + + diff --git a/docs/quick-guide.html b/docs/quick-guide.html index aebdf5f3d..6e8e9a86a 100644 --- a/docs/quick-guide.html +++ b/docs/quick-guide.html @@ -1709,81 +1709,81 @@ }); }); - - - + + + diff --git a/docs/zh/picocli-2.0-do-more-with-less.html b/docs/zh/picocli-2.0-do-more-with-less.html index 30cf528cb..85bdb57aa 100644 --- a/docs/zh/picocli-2.0-do-more-with-less.html +++ b/docs/zh/picocli-2.0-do-more-with-less.html @@ -525,81 +525,81 @@ .CodeRay .change .change{color:#66f} .CodeRay .head .head{color:#f4f} - - - + + + diff --git a/docs/zh/picocli-2.0-groovy-scripts-on-steroids.html b/docs/zh/picocli-2.0-groovy-scripts-on-steroids.html index ffb7ba4d3..a7703d3f8 100644 --- a/docs/zh/picocli-2.0-groovy-scripts-on-steroids.html +++ b/docs/zh/picocli-2.0-groovy-scripts-on-steroids.html @@ -525,81 +525,81 @@ .CodeRay .change .change{color:#66f} .CodeRay .head .head{color:#f4f} - - - + + + diff --git a/picocli-shell-jline3/README.md b/picocli-shell-jline3/README.md index f108e61c2..e17564bf0 100644 --- a/picocli-shell-jline3/README.md +++ b/picocli-shell-jline3/README.md @@ -69,7 +69,7 @@ JLine [Wiki](https://github.com/jline/jline3/wiki) and some more [Demos](https:/ ## Example -### Maven +### Maven ```xml