We recently updated the Command Line Build Tool. This project details how to setup a local environment for building MicroEJ modules from the command line. It is also an important tool to use to setup a continuous integration environment.
The latest release adds some scripts to ease running the tool on Linux.
More documentation on creating a CI environment:
The MicroEJ Team