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() );
        }
    }
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() );
        }
    }
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 ( ) ) ; } }
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
Add any relevant project dependencies to the classpath . Indirectly takes includePluginDependencies and ExecutableDependency into consideration .