code: private void addManagedPlugins(BaseProfileDescriptor pomDescriptor, BuildBase build, ScannerContext scannerContext) {
          if (null == build) {
              return;
          }
          PluginManagement pluginManagement = build.getPluginManagement();
          if (null == pluginManagement) {
              return;
          }
          List<MavenPluginDescriptor> pluginDescriptors = createMavenPluginDescriptors(pluginManagement.getPlugins(), scannerContext);
          pomDescriptor.getManagedPlugins().addAll(pluginDescriptors);
      }
docs: Adds information about managed plugins.
  
  @param pomDescriptor
  The descriptor for the current POM.
  @param build
  Information required to build the project.
  @param scannerContext
  The scanner context.