Skip to content

KNOX-3278: Update JLine to 3.30.6#1181

Open
bonampak wants to merge 40 commits intoapache:masterfrom
bonampak:KNOX-3278
Open

KNOX-3278: Update JLine to 3.30.6#1181
bonampak wants to merge 40 commits intoapache:masterfrom
bonampak:KNOX-3278

Conversation

@bonampak
Copy link
Copy Markdown
Contributor

@bonampak bonampak commented Mar 20, 2026

KNOX-3278 - Update jline to 3.30.6

What changes were proposed in this pull request?

Update groovy to 5.0.4, jline to 3.30.6, jna to 5.18.1, aspectj to 1.9.25.1 and rest-assured to 6.0.0.
Rewrote gateway-shell using JLine 3 and Groovy 5.

How was this patch tested?

Ran example tests and all repl commands (ExampleWebHdfsLs.groovy and ExampleManagerResourceDeployment.groovy both in REPL with :load and as knoxshell.sh arguments. Both work as expected.)

Integration Tests

There is another ticket for adding integration tests:
KNOX-3280 Add integration tests for KnoxShell and KnoxCLI

UI changes

Login Dialog changed as JLine 3 supports password input.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 20, 2026

Test Results

21 tests   21 ✅  1s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 543095e.

♻️ This comment has been updated with latest results.

<excludes>
<exclude>schema/**</exclude>
<exclude>**/*.ldif</exclude>
<exclude>META-INF/org/apache/logging/log4j/core/config/plugins/Log4j2Plugins.dat</exclude>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we use maven-shade-plugin:3.4.1 and org.apache.logging.log4j:log4j-transform-maven-shade-plugin-extensions, this can be fixed by adding
<transformer implementation="org.apache.logging.log4j.maven.plugins.shade.transformer.Log4j2PluginCacheFileTransformer"/>
Otherwise the Log4j2Plugins.dat will be overwritten by our plugins and will not contain the ones shipped by log4j2.

@bonampak bonampak marked this pull request as ready for review April 15, 2026 16:22
@bonampak bonampak requested a review from pzampino April 17, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant