It's rare but can happen, for example:
https://mvnrepository.com/artifact/org.neo4j/neo4j-cypher-compiler-2.1/2.1.2
Has jar named neo4j-cypher-compiler-2.1-2.1.2.jar.
I wanted to made PR for that but I couldn't find any naming convention that could specify what is correct jar naming. So I made subclass LocalArtifactWithPomDetection which loads this data from pom file, if exists (almost every time, there is one)