jomin7 opened a new pull request, #8542:
URL: https://github.com/apache/camel-quarkus/pull/8542
Following the upstream Camel 4.19 refactoring (apache/camel#21950) which
introduced camel-ftp-common module and restructured the FTP component
dependencies, this commit updates the mina-sftp extension to properly handle
the new dependency chain and ensure clean native compilation.
Changes:
- Remove quarkus-jsch dependency (mina-sftp uses Apache MINA SSHD, not
JSch)
- Remove commons-net dependency (only needed for FTP/FTPS, not mina-sftp)
- Add comprehensive service filtering for FTP/FTPS/SFTP configurers to
prevent
GraalVM from analyzing commons-net classes
- Add service filtering for dev-console, poll-dynamic, send-dynamic, and
urifactory services from camel-ftp
- Add GraalVM substitutions to delete FTP/FTPS/SFTP component and endpoint
configurers from the native image
- Remove runtime initialization for FtpEndpoint/FtpsEndpoint/SftpEndpoint
as these classes are now fully filtered
- Rename SftpFileSystemProviderSubstitution.java to
MinaSftpSubstitutions.java
following project naming conventions
- Update comments to reflect new camel-ftp → camel-ftp-common structure
This completes the commons-net cleanup mentioned in #8488.
--
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]