Added MatchArtifactIdAndBaseDir
Added javadoc.