@Mojo(name="generateCertificateRequest", requiresProject=true) public class GenerateCertificateRequestMojo extends AbstractKeyToolRequestWithKeyStoreAndAliasParametersMojo<KeyToolGenerateCertificateRequestRequest>
keytool -certreq
command.
See keystore documentation.Constructor and Description |
---|
GenerateCertificateRequestMojo()
Default contructor.
|
Modifier and Type | Method and Description |
---|---|
protected KeyToolGenerateCertificateRequestRequest |
createKeytoolRequest()
To prepare the incoming request, says fill it with mojo parameters.
|
protected String |
getCommandlineInfo(org.apache.maven.shared.utils.cli.Commandline commandLine)
Gets a string representation of a
Commandline . |
createParentDirIfNecessary, getFile, getKeystoreFile
consumeResult, execute
getMessage, getMessage, getMessage, isSkip, isVerbose, setSkip, setVerbose
public GenerateCertificateRequestMojo()
protected KeyToolGenerateCertificateRequestRequest createKeytoolRequest()
createKeytoolRequest
in class AbstractKeyToolRequestWithKeyStoreAndAliasParametersMojo<KeyToolGenerateCertificateRequestRequest>
KeyToolRequest
protected String getCommandlineInfo(org.apache.maven.shared.utils.cli.Commandline commandLine)
Commandline
.
This method creates the string representation by calling commandLine.toString()
by default.
getCommandlineInfo
in class AbstractKeyToolRequestWithKeyStoreParametersMojo<KeyToolGenerateCertificateRequestRequest>
commandLine
- The Commandline
to get a string representation of (can not be null).commandLine
.Copyright © 2005–2015 Codehaus. All rights reserved.