ingenieux / beanstalker

Beanstalker helps you deploy into AWS Elastic Beanstalk from Maven

Home Page:http://docs.ingenieux.com.br/project/beanstalker/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

incorrect documentation

bpappin opened this issue · comments

The maven documentation say to set up the property:
<beanstalk.environmentName>your-environment</beanstalk.environmentName>

but it actually needs the property:
<beanstalk.environmentRef>your-environment</beanstalk.environmentRef>

Without this property, you get the error:
Caused by: java.lang.RuntimeException: org.apache.maven.plugin.MojoExecutionException: No environments found

Note: I discovered the property was wrong by looking the the source where the exception is being thrown from:
http://beanstalker.ingenieux.com.br/beanstalk-maven-plugin/xref/br/com/ingenieux/mojo/beanstalk/AbstractNeedsEnvironmentMojo.html