public class GenerateKeyStoreMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
certCountry
The 'country' code that your organisation is based in.
|
protected String |
certDomain
The 'domain' to use for the certificate.
|
protected String |
certOrg
The 'organisation' name to use for the certificate.
|
protected String |
certOrgUnit
The 'organisational unit' to use for the certificate.
|
protected String |
certState
The 'state' (province, etc) that your organisation is based in.
|
protected String |
keyPassword
The password to use when accessing the key within the keystore.
|
protected File |
keyStore
The location of the keystore.
|
protected String |
keyStoreAlias
The alias to use when accessing the keystore.
|
protected String |
keyStorePassword
The password to use when accessing the keystore.
|
protected boolean |
overwriteKeyStore
Set this to true to sliently overwrite the keystore.
|
protected org.apache.maven.plugin.BuildPluginManager |
pluginManager
The Maven PluginManager Object
|
protected org.apache.maven.project.MavenProject |
project
The Maven Project Object
|
protected org.apache.maven.execution.MavenSession |
session
The Maven Session Object
|
| Constructor and Description |
|---|
GenerateKeyStoreMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected void |
generateKeyStore(File keyStore,
String keyStoreAlias,
String keyStorePassword,
String keyPassword,
String domainName) |
protected org.apache.maven.project.MavenProject project
protected org.apache.maven.execution.MavenSession session
protected org.apache.maven.plugin.BuildPluginManager pluginManager
protected boolean overwriteKeyStore
protected File keyStore
protected String keyStoreAlias
protected String keyStorePassword
protected String keyPassword
protected String certDomain
protected String certOrgUnit
protected String certOrg
protected String certState
protected String certCountry
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void generateKeyStore(File keyStore, String keyStoreAlias, String keyStorePassword, String keyPassword, String domainName) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2012-2013. All Rights Reserved.