Class DecryptMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="decrypt", aggregator=true, requiresProject=false) public class DecryptMojo extends AbstractDecryptFileMojo
Decrypt a single git-crypt encrypted file. Original encrypted file is not modified, rather the decrypted data is written to a separate target file.
  • Field Details

    • sourceFile

      @Parameter(property="jgitcrypt.source.file", required=true) protected File sourceFile
      The file to decrypt.
    • targetFile

      @Parameter(property="jgitcrypt.target.file", required=true) protected File targetFile
      Decrypted data is written to this file. Will be overwritten if it already exists.
  • Constructor Details

    • DecryptMojo

      public DecryptMojo()
  • Method Details