[英]Getting dependencies from jar(war/ear)?
Assuming I have a poor maintained project with all libs located in the CVS/Hard Drive and build running in pure Ant (without Ivy) or even compiled with IDE. 假设我的项目维护较差,所有库都位于CVS /硬盘中,并且在纯Ant中运行(没有Ivy),甚至使用IDE进行编译。 Is there a tool that can look on the final product (jar/war/ear) and give me some report about it's dependencies, or even create a sample pom.xml/build.gradle?
有没有一种工具可以查看最终产品(jar / war / ear),并提供一些有关其依赖项的报告,甚至可以创建示例pom.xml / build.gradle?
What could help is the Advanced Search of Maven Central. Maven Central的高级搜索可能会有所帮助。 With the 'By SHA-1 Checksum' you can select your jars.
通过“按SHA-1 Checksum”,您可以选择罐子。 If that jar is available at Maven Central, you will get its coordinates.
如果该罐子在Maven Central可用,您将获得其坐标。 This would be a good start and hopefully will resolve most of your dependencies.
这将是一个好的开始,并有望解决您的大部分依赖。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.