code: 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);
      }
docs: Adds information about plugins.
  
  @param pomDescriptor
  The descriptor for the current POM.
  @param build
  Information required to build the project.
  @param scannerContext
  The scanner context.