code: private void addRelevantPluginDependenciesToClasspath( List<Path> path )
          throws MojoExecutionException
      {
          if ( hasCommandlineArgs() )
          {
              arguments = parseCommandlineArgs();
          }
  
          for ( Artifact classPathElement : this.determineRelevantPluginDependencies() )
          {
              getLog().debug( "Adding plugin dependency artifact: " + classPathElement.getArtifactId()
                  + " to classpath" );
              path.add( classPathElement.getFile().toPath() );
          }
      }
docs: Add any relevant project dependencies to the classpath. Indirectly takes includePluginDependencies and
  ExecutableDependency into consideration.
  
  @param path classpath of {@link java.net.URL} objects
  @throws MojoExecutionException if a problem happens