They are always resolved with packaging "jar".
Looks like readArtifactDescriptor does not really read the artifact descriptor since the packaging is not taken from the pom.xml...