docs: public List<File> listPluginArchives(PluginManager pm) throws IOException {
          List<File> r = new ArrayList<>();
  
          // the ordering makes sure that during the debugging we get proper precedence among duplicates.
          // for example, while doing "mvn jpi:run" or "mvn hpi:run" on a plugin that's bundled with Jenkins, we want to the
          // *.jpl file to override the bundled jpi/hpi file.
          getBundledPluginsFromProperty(r);
  
          // similarly, we prefer *.jpi over *.hpi
          listPluginFiles(pm, ".jpl", r); // linked plugin. for debugging.
          listPluginFiles(pm, ".hpl", r); // linked plugin. for debugging. (for backward compatibility)
          listPluginFiles(pm, ".jpi", r); // plugin jar file
          listPluginFiles(pm, ".hpi", r); // plugin jar file (for backward compatibility)
  
          return r;
      }