@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
endpointUrl| Constructor and Description |
|---|
ExposeSecurityCredentialsMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
executeInternal() |
ensureSuffixStripped, getConfigurationTemplates, getOptionSettings, getOptionsToRemove, getService, handleNonSingle, handleResults, harmfulOptionSettingP, lookupEnvironment, lookupSolutionStack, lookupTemplateNameconfigure, contextualize, createServiceFor, displayResults, execute, exposeSettings, getAWSCredentials, getClientConfiguration, getClientFactory, getProperties, getRegion, getUserAgent, handleException, isVerbose, setupService, setupVersionprotected Object executeInternal() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
executeInternal in class br.com.ingenieux.mojo.aws.AbstractAWSMojo<com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient>org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2011–2019 ingenieux. All rights reserved.