public static boolean isExcluded ( Artifact artifact ) { Set < String > excluded = EXCLUSIONS . get ( artifact . getGroupId ( ) ) ; return excluded != null && excluded . contains ( artifact . getArtifactId ( ) ) ; }
Checks whether the given artifact is on the excluded list .