adiranjan25 opened a new pull request, #77484: URL: https://github.com/apache/airflow/pull/77484
## Summary Fixes #77467. This PR removes the LGPL-licensed `kotlin-argparser` dependency and its transitive `xenocom` dependency from the Apache Airflow Java SDK. The third-party argument parser is replaced with lightweight native Kotlin parsing to eliminate these dependencies from the SDK runtime classpath. ## Changes - Replace `ArgParser` usage in `Server.kt` with native Kotlin argument parsing. - Preserve the supported `--comm`, `--logs`, and `--describe-sources` workflows. - Support both separated and equals-style option values. - Add regression tests for missing arguments, malformed addresses, unknown options, and duplicate options. - Remove obsolete dependency-verification metadata. ## Validation - `:sdk:test` — passed. - `:plugin:test` — passed. - `:sdk:ktlintCheck` — passed. - `:sdk:spotlessCheck` — passed. - Runtime dependency inspection confirms neither `kotlin-argparser` nor `xenocom` remains in the SDK runtime classpath. ## Compatibility note The replacement parser uses `IllegalArgumentException` for invalid or missing arguments instead of the original library-specific exceptions. The original parser's help behavior is not currently reproduced. Maintainer feedback on whether additional CLI compatibility is required is welcome. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
