use maven to configure project