Class EncryptMojo

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

@Mojo(name="encrypt", aggregator=true, requiresProject=false) public class EncryptMojo extends AbstractEncryptFileMojo
Encrypts a single file. The original source file is not modified, rather the encrypted data is written to a separate file.
  • Field Details

    • sourceFile

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

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

    • EncryptMojo

      public EncryptMojo()
  • Method Details