@Mojo(name="generateCertificate",
requiresProject=true)
public class GenerateCertificateMojo
extends AbstractKeyToolRequestWithKeyStoreAndAliasParametersMojo<KeyToolGenerateCertificateRequest>
keytool -gencert command.
Note This operation was not implemented by the keytool before jdk 1.7.
See keystore documentation.| Constructor and Description |
|---|
GenerateCertificateMojo()
Default contructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected KeyToolGenerateCertificateRequest |
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, getKeystoreFileconsumeResult, executegetMessage, getMessage, getMessage, isSkip, isVerbose, setSkip, setVerboseprotected KeyToolGenerateCertificateRequest createKeytoolRequest()
createKeytoolRequest in class AbstractKeyToolRequestWithKeyStoreAndAliasParametersMojo<KeyToolGenerateCertificateRequest>KeyToolRequestprotected 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<KeyToolGenerateCertificateRequest>commandLine - The Commandline to get a string representation of (can not be null).commandLine.Copyright © 2005–2024 MojoHaus. All rights reserved.