@Mojo(name="importKeystore",
requiresProject=true)
public class ImportKeystoreMojo
extends AbstractKeyToolRequestMojo<KeyToolImportKeystoreRequest>
keytool -importkeystore command.
Note This operation was not implemented by the keytool before jdk 1.6.
See keystore documentation.| Constructor and Description |
|---|
ImportKeystoreMojo()
Default contructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected KeyToolImportKeystoreRequest |
createKeytoolRequest()
To prepare the incoming request, says fill it with mojo parameters.
|
void |
execute() |
protected String |
getCommandlineInfo(org.apache.maven.shared.utils.cli.Commandline commandLine)
Gets a string representation of a
Commandline. |
consumeResultgetMessage, getMessage, getMessage, isSkip, isVerbose, setSkip, setVerbosepublic void execute()
throws org.apache.maven.plugin.MojoExecutionException
AbstractKeyToolRequestMojoexecute in interface org.apache.maven.plugin.Mojoexecute in class AbstractKeyToolRequestMojo<KeyToolImportKeystoreRequest>org.apache.maven.plugin.MojoExecutionExceptionprotected KeyToolImportKeystoreRequest createKeytoolRequest()
createKeytoolRequest in class AbstractKeyToolRequestMojo<KeyToolImportKeystoreRequest>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 AbstractKeyToolRequestMojo<KeyToolImportKeystoreRequest>commandLine - The Commandline to get a string representation of (can not be null).commandLine.Copyright © 2005–2024 MojoHaus. All rights reserved.