分析 Java 项目中的 JAR 依赖项 [英] Analyze JAR dependencies in a Java project

查看:31
本文介绍了分析 Java 项目中的 JAR 依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种工具,该工具将基于对已编译字节码的静态分析向我显示 Java 项目中的 JAR 依赖关系图.具体来说,我想弄清楚是否有可以消除的未使用 JAR,但我也想更好地了解存在的依赖关系.我没有使用 Maven.

I'm looking for a tool that will show me a graph of JAR dependencies in my Java project based on static analysis of the compiled byte code. Specifically, I'm trying to figure out if there are unused JARs that I can eliminate, but I'd also just like to get a better understanding of the dependencies that exist. I'm not using Maven.

Dependency Finder 很接近,但它处理的是包而不是 JAR,而且似乎没有以任何方式查询它以查找没有依赖项的 JAR.有什么建议吗?免费和开源的首选.谢谢!

Dependency Finder comes close, but it deals in packages rather than JARs and there doesn't seem to be any way to query it for JARs that have no dependents. Any recommendations? Free and open source preferred. Thanks!

推荐答案

JBoss Tattletale 完全符合我的要求需要.

JBoss Tattletale does exactly what I need.

这篇关于分析 Java 项目中的 JAR 依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆