Personal notes since I often switch machines, configurations and lose my mind
$ mvn clean install verify -Prelease,it
- But make sure your settings.xml contains sensible defaults. Those are mine:
<beanstalk.keyName>aldrin@leal.eng.br</beanstalk.keyName>
<beanstalk.iamInstanceProfile>aws-elasticbeanstalk-ec2-role</beanstalk.iamInstanceProfile>
<beanstalk.instanceType>m1.small</beanstalk.instanceType>
- Use this to force cleanup (in case it fails - post-integration test should deal with it anyway):
$ mvn -f beanstalk-maven-plugin-it/pom.xml compile exec:java -Dexec.mainClass=br.com.ingenieux.beanstalker.it.ProjectCleaner
- You can also override the default app name, via the beanstalk.project.name variable:
$ mvn clean install verify -Prelease,it -Dbeanstalk.project.name=mbit-something
Please base it on mbit-whatever, as it is used as a hint by ProjectCleaner to figure out what to cleanup
We keep the git mirror mostly as a courtesy to our users. We base ours on hg instead.
- Installation needs .hgrc correctly (hg-git is needed).
[ui]
username = John Doe <john@doe.org>
[extensions]
hgext.git =
hgext.bookmarks =
- On a fresh checkout, github alias must be set:
$ cat .hg/hgrc
[paths]
default = ssh://hg@bitbucket.org/aldrinleal/beanstalker
github = git+ssh://git@github.com/ingenieux/beanstalker.git
hg pull -u && hg push github && mvn clean deploy -Prelease && mvn site site-deploy -Prelease
The classical:
$ mvn release:prepare release:perform -DautoVersionSubmodules=true
- Add ELB Tweaks / Support (healthchecks / other options)
- Introduce a Docker archetype
- Fix my typos in descriptions
- Allow more flexible support for other platforms (e.g., for Docker, switch the namespace and option settings as such)
- Consider using an hybrid platform so gradle/others could rely upon
- B plan: Using @RequiresDirectInvocation Mojos
- Coverage Testing / SonarQube
- clone-environment
- Upgrade to Java 8 to leverage Lambdas
- Employ better parameter validation
- debug-environment:
- https://github.com/aws/aws-toolkit-eclipse/blob/7641a135dbb0571e40aff32f81e11dbf34366431/com.amazonaws.eclipse.elasticbeanstalk/src/com/amazonaws/eclipse/elasticbeanstalk/EnvironmentBehavior.java
- https://github.com/aws/aws-toolkit-eclipse/blob/911c2c3402b357ed94857e06c1f4fbe0b040b930/com.amazonaws.eclipse.elasticbeanstalk/src/com/amazonaws/eclipse/elasticbeanstalk/Environment.java
- https://github.com/aws/aws-toolkit-eclipse/blob/911c2c3402b357ed94857e06c1f4fbe0b040b930/com.amazonaws.eclipse.elasticbeanstalk/src/com/amazonaws/eclipse/elasticbeanstalk/jobs/UpdateEnvironmentJob.java
- Optimize the build - site/site-deploy seems too slow
- Update docs site