convert to Maven project
use Java 7
delete .cache directory explicitly, since --non-incremental causes trouble
extract method