There is a java project which has too many jar files and it has become difficult to manage all of them. I know there is a way to convert this project to a maven project but I don't want to manually add the dependency for each jar in my project to the pom file.
Is there any way to create the pom file using the local jar files such that the pom will contain the dependency tag for each jar.
Edit : I want to clarify that I do not want to add the jars from/to the local repository. The local repository approach will not work for me as the project will be used by multiple users across different systems.
I wanted to create regular pom dependency entries along with groupId, artifactId and version for the jar files which I already have so that I can copy-paste it into the pom file when I convert my project to a Maven project. As I have a large number of JARs in my project, I would have to do it all manually.
Solution provided by @Milen Dyankov worked for me. I was able to get the information I needed from most of the JAR files.