convert examples to maven build