add travis-ci settings

fix compiler settings and set requiered maven version to 3.0.0