@Mojo(name="expose-security-credentials",
requiresProject=true)
public class ExposeSecurityCredentialsMojo
extends AbstractBeanstalkMojo
You can define the server, or not. If you don't, it will work if you did something like that
<configuration>
<exposes>
<expose>
<serverId>${beanstalk.serverId}</serverId>
<accessKey>aws.accessKey</accessKey>
<secretKey>aws.accessKey</secretKey>
</expose>
</exposes>
</configuration>
While it might look silly (and silly enough to get its own Plugin instead of beanstalker), it power comes when combined with the Properties Maven Plugin
endpointUrlawsCredentialsProvider, clientFactory, context, ignoreExceptions, regionName, regionObj, serverId, settings, verbose, version| Constructor and Description |
|---|
ExposeSecurityCredentialsMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
executeInternal() |
ensureSuffix, ensureSuffixStripped, getConfigurationTemplates, getOptionSettings, getService, globify, handleNonSingle, handleResults, harmfulOptionSettingP, hasWildcards, lookupEnvironment, lookupSolutionStack, lookupTemplateNameconfigure, contextualize, displayResults, execute, exposeSettings, getAWSCredentials, getClientConfiguration, getClientFactory, getRegion, getUserAgent, handleException, isVerbose, setupService, setupVersionprotected Object executeInternal() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
executeInternal in class AbstractAWSMojo<com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient>org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2011-2015 ingenieux. All Rights Reserved.