use maven plugin to compile