Search code examples
javahibernatemavenvalidationhibernate-validator

Hibernate Validator: Must I use Maven?


From hibernate.org: http://hibernate.org/validator/documentation/getting-started/ I saw Prerequisites: Java Runtime >= 6, Apache Maven

However, "maven" is not even mentioned in the following: http://www.aviyehuda.com/blog/2010/04/14/using-hibernate-validator-to-cover-your-validation-needs/

Our current project is not maven-based, a student project. Could we still use hibernate validator without using maven? Or is there any better choice for hibernate validation?


Solution

  • Maven is not required. The main reason you want to use Maven is that it makes downloading all the package dependencies super easy.

    If it's just a small student project, and you don't want to use Maven, then just download the jars that you would otherwise have downloaded with Maven.

    You can manually download the jar files here : http://hibernate.org/orm/downloads/