code: public static Set<Exclusion> setupExcludedArtifacts(List<String> excludedArtifacts) throws MojoExecutionException {
          Set<Exclusion> exclusionSet = new HashSet<>();
          for (String artifact : Optional.ofNullable(excludedArtifacts).orElse(Collections.emptyList())) {
              exclusionSet.add(convertExclusionPatternIntoExclusion(artifact));
          }
          for (String artifact : BLACKLISTED_ARTIFACTS) {
              exclusionSet.add(convertExclusionPatternIntoExclusion(artifact));
          }
  
          return exclusionSet;
      }
docs: Build up an exclusion set
  
  @param excludedArtifacts List of artifact coords patterns in the format <groupId>:<artifactId>[:<extension>][:<classifier>]
  @return Set<Exclusion>
  @throws MojoExecutionException if any patterns are invalid