简体   繁体   中英

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. 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?

What could help is the Advanced Search of Maven Central. With the 'By SHA-1 Checksum' you can select your jars. If that jar is available at Maven Central, you will get its coordinates. This would be a good start and hopefully will resolve most of your dependencies.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM