if (metaData.isPomPackaging()) {
return false;
}
// check custom packaging
ModuleComponentArtifactMetaData artifact;
if (metaData.isKnownJarPackaging()) {
artifact = metaData.artifact("jar", "jar", null);
} else {
artifact = metaData.artifact(metaData.getPackaging(), metaData.getPackaging(), null);
}