update script to build with maven