如何以编程方式检索工件?来自 Maven 的 jar 以便在其中执行搜索?

发布于 2024-12-26 16:48:10 字数 59 浏览 2 评论 0原文

如何以编程方式从 Maven 检索工件的 jar 以便在其中执行搜索?有什么想法或者一些有用的API吗?

How to programmatically retrieve artifacts' jars from Maven in order to perform search inside them? Any ideas or some useful API?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深海不蓝 2025-01-02 16:48:11

以下答案使用ivy下载源jar,以便可以编译它们

Maven编译源 jar 依赖项

您没有指定您要搜索的内容。听起来如果您继续使用 Maven 解决方案,您可能需要一个自定义插件。

The following answer uses ivy to download source jars so that they can be compiled

Maven compile a source jar dependency

You didn't specify what you were searching for. Sounds like you'll possibly need a custom plug-in if you continue with a Maven solution.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文