Class EncryptFromClipboardMojo

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

@Mojo(name="encrypt-from-clipboard", aggregator=true, requiresProject=false) public class EncryptFromClipboardMojo extends AbstractEncryptFileMojo
Encrypts text content from the user clipboard to a file. This can be used to avoid saving any decrypted data to disk. Only works with clipboard content in text form, will fail if there is no clipboard data or clipboard data is not text.
  • Field Details

    • targetFile

      @Parameter(property="jgitcrypt.target.file", required=true) protected File targetFile
      The file to save encrypted data to. Overwritten if it already exists.
  • Constructor Details

    • EncryptFromClipboardMojo

      public EncryptFromClipboardMojo()
  • Method Details