private void addPlugins ( BaseProfileDescriptor pomDescriptor , BuildBase build , ScannerContext scannerContext ) { if ( null == build ) { return ; } List < Plugin > plugins = build . getPlugins ( ) ; List < MavenPluginDescriptor > pluginDescriptors = createMavenPluginDescriptors ( plugins , scannerContext ) ; pomDescriptor . getPlugins ( ) . addAll ( pluginDescriptors ) ; }
Adds information about plugins .