Package com.jcabi.ssl.maven.plugin
Class KeygenMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.jcabi.ssl.maven.plugin.KeygenMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
public final class KeygenMojo
extends org.apache.maven.plugin.AbstractMojo
Generate SSL keystore and configure in JVM.
- Since:
- 0.5
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionCreates KeygenMojo.KeygenMojo(org.apache.maven.project.MavenProject prj, com.jcabi.ssl.maven.plugin.Keystore str, com.jcabi.ssl.maven.plugin.Cacerts crt) Creates KeygenMojo using custom KeystoreFactory. -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
KeygenMojo
public KeygenMojo()Creates KeygenMojo. -
KeygenMojo
public KeygenMojo(org.apache.maven.project.MavenProject prj, com.jcabi.ssl.maven.plugin.Keystore str, com.jcabi.ssl.maven.plugin.Cacerts crt) Creates KeygenMojo using custom KeystoreFactory.- Parameters:
prj- Maven projectstr- Keystore instancecrt- Cacerts instance
-
-
Method Details
-
setSkip
public void setSkip(boolean skp) Set skip option.- Parameters:
skp- Shall we skip execution?
-
execute
public void execute() throws org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoFailureException
-