docs: protected File createSREManifestFile(File filename) throws MojoExecutionException, MojoFailureException {
  		try {
  			final Manifest manifest = createSREManifest();
  			final File manifestFile;
  			if (filename == null) {
  				final File parent = new File(getMavenProject().getBuild().getOutputDirectory());
  				manifestFile = new File(parent.getParentFile(), "SRE-MANIFEST.MF"); //$NON-NLS-1$
  			} else {
  				manifestFile = filename;
  			}
  
  			try (FileOutputStream fos = new FileOutputStream(manifestFile)) {
  				manifest.write(fos);
  			}
  
  			return manifestFile;
  		} catch (MojoFailureException exception) {
  			throw exception;
  		} catch (IOException exception) {
  			throw new MojoFailureException(exception.getLocalizedMessage(), exception);
  		}
  	}