How do I know which version of a pom dependency I should use if its version is not in the jar name. For example the jar commons-lang.jar, what version of the pom dependency should I use ?
Here are its search results on maven central repo – http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22net.sf.staccatocommons%22%20AND%20a%3A%22commons-lang%22
If you are migrating to Maven and just have a bunch of jars then you can try examining their
META-INF/MANIFEST.MFfiles inside of those jars.I’ve just opened
commons-lang.jarand saw the following in itsMETA-INF/MANIFEST.MF:So you can use
Implementation-Versionas your version inpom.xml: