if ( !generatedSourcesDirectory.exists() )
{
generatedSourcesDirectory.mkdirs();
}
Dependency dependency = plugin.asDependencyPom();
resolver.downloadDependencies( Collections.singletonList( dependency ) );
File artifactFile = resolver.getArtifactFile( dependency );
ModelReader pluginReader = readModel( resolver, artifactFile, true );
List dependencies = new ArrayList();