migrate build to maven