Updated maven configuration.
Updated maven configuration.
Added explicit provider in persistence.xml because when not added Hibernate start using old provider class and then complains that it is using deprecated implementation (Hibernate schizophrenia).