Get the symbolic name as groupId + "." + artifactId, with the following exceptions
if artifact.getFile is not null and the jar contains a OSGi Manifest with
Bundle-SymbolicName property then that value is returned
if groupId has only one section (no dots) and artifact.getFile is not null then the
first package name with classes is returned.