protected void addRelevantPluginDependencies ( Set < Artifact > artifacts ) throws MojoExecutionException { if ( pluginDependencies == null ) { return ; } Iterator < Artifact > iter = this . pluginDependencies . iterator ( ) ; while ( iter . hasNext ( ) ) { Artifact classPathElement = iter . next ( ) ; getLog ( ) . debug ( "Adding plugin dependency artifact: " + classPathElement . getArtifactId ( ) + " to classpath" ) ; artifacts . add ( classPathElement ) ; } }
Add any relevant project dependencies to the classpath .