use more recent hibernate.
ignore /target.
get rid of the deprecation warnings.