convert to maven project

This removes build.xml and adds its functionality in pom.xml and scripts/jar-models.sh