Note that in the mean time, @ADambi graciously provides binaries (the .azw2 filez), so you don't really have to deal with the hairy process of setting up a java buildsystem

.
Which is extra hairy in CM's case, since you need a copy of most of the java classpath of *every* supported FW...