Package org.apache.maven.plugins.gpg
Class GpgSigner
- java.lang.Object
 - 
- org.apache.maven.plugins.gpg.AbstractGpgSigner
 - 
- org.apache.maven.plugins.gpg.GpgSigner
 
 
 
- 
public class GpgSigner extends AbstractGpgSigner
A signer implementation that uses the GnuPG command line executable. 
- 
- 
Field Summary
- 
Fields inherited from class org.apache.maven.plugins.gpg.AbstractGpgSigner
args, defaultKeyring, homeDir, isInteractive, keyname, lockMode, passphrase, publicKeyring, secretKeyring, SIGNATURE_EXTENSION, useAgent 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidgenerateSignatureForFile(File file, File signature)Generate the detached signature file for the provided file.- 
Methods inherited from class org.apache.maven.plugins.gpg.AbstractGpgSigner
generateSignatureForArtifact, getLog, getPassphrase, setArgs, setBaseDirectory, setBuildDirectory, setDefaultKeyring, setHomeDirectory, setInteractive, setKeyName, setLockMode, setLog, setOutputDirectory, setPassPhrase, setPublicKeyring, setSecretKeyring, setUseAgent 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
GpgSigner
public GpgSigner(String executable)
 
 - 
 
- 
Method Detail
- 
generateSignatureForFile
protected void generateSignatureForFile(File file, File signature) throws org.apache.maven.plugin.MojoExecutionException
Generate the detached signature file for the provided file.- Specified by:
 generateSignatureForFilein classAbstractGpgSigner- Parameters:
 file- The file to signsignature- The file in which the generate signature will be put- Throws:
 org.apache.maven.plugin.MojoExecutionException- if signature generation fails
 
 - 
 
 -