Predicate hasDashedVersion
Given a JAR filename, try to split it into a name and version.
This is a heuristic approach assuming that the a dash is used to
separate the library name from a largely numeric version such as
commons-io-2.4.
Import path
import semmle.code.java.DependencyCountspredicate hasDashedVersion(string target, string name, string version)