USe umlet maven plugin.
Compile Java 1.7.