[MRM-562] Artifact type "maven-plugin" is not detected correctly in .toArtifactReference() methods. Added ability in default and legacy layouts to detect the 'maven-plugin' type.