Class GpgVersionParser

java.lang.Object
org.apache.maven.plugins.gpg.GpgVersionParser

public class GpgVersionParser extends Object
Parse the output of gpg --version and exposes these as dedicated objects. Supported:
  • gpg version, i.e. gpg (GnuPG) 2.2.15
Unsupported:
  • libgcrypt version
  • Home
  • Supported algorithms (Pubkey, Cipher, Hash, Compression)
Since:
3.0.0
Author:
Robert Scholte
  • Method Details

    • parse

      public static GpgVersionParser parse(String executable) throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getGpgVersion

      public GpgVersion getGpgVersion()