code: public static File getArtifactFileFromPluginDependencies(AbstractWisdomMojo mojo, String artifactId, String type) {
  
          Preconditions.checkNotNull(mojo);
          Preconditions.checkNotNull(artifactId);
          Preconditions.checkNotNull(type);
  
          for (Artifact artifact : mojo.pluginDependencies) {
              if (artifact.getArtifactId().equals(artifactId) && artifact.getType().equals(type)) {
                  return artifact.getFile();
              }
          }
          return null;
      }
docs: Gets the file of the dependency with the given artifact id from the plugin dependencies (i.e. from the
  dependencies of the wisdom-maven-plugin itself, and not from the current 'under-build' project).
  
  @param mojo       the mojo, cannot be {@code null}
  @param artifactId the name of the artifact to find, cannot be {@code null}
  @param type  the extension of the artifact to find, should not be {@code null}
  @return the artifact file, {@code null} if not found