docs: private Map<String, String> getOptionsFromPropertiesFile(String newPropertiesFile) throws MojoExecutionException {
  
          this.getLog().debug("Using search path at: " + this.basedir.getAbsolutePath());
          this.resourceManager.addSearchPath(FileResourceLoader.ID, this.basedir.getAbsolutePath());
  
          Properties properties = new Properties();
          try {
              properties.load(this.resourceManager.getResourceAsInputStream(newPropertiesFile));
          } catch (ResourceNotFoundException e) {
              getLog().debug("Property file [" + newPropertiesFile + "] cannot be found", e);
              return new HashMap<>();
          } catch (IOException e) {
              throw new MojoExecutionException("Cannot read config file [" + newPropertiesFile + "]", e);
          }
  
          final Map<String, String> map = new HashMap<>();
          for (final String name : properties.stringPropertyNames()) {
              map.put(name, properties.getProperty(name));
          }
          return map;
      }