This topic has not yet been written. The content below is from the topic description.
1.1. Setting up a new Maven project 1.2. Applying constraints 1.3. Validating constraints 1.4. Where to go next? This chapter will show you how to get started with Hibernate Validator, the reference implementation (RI) of Bean Validation. For the following quickstart you need: A JDK >= 5 Apache Maven An Internet connection (Maven has to download all required libraries) A properly configured remote repository. Add the following to your settings.xml: Example 1.1. Configuring the JBoss Maven repository in settings.xml jboss http://repository.jboss.com/maven2 true false More information about settings.xml can be found in the Maven Local Settings Model. Note Hibernate Validator uses JAXB for XML parsing. JAXB is part of the Java Class Library since Java 6 which means that if you run Hibernate Validator with Java 5 you will have to add additional JAXB dependencies. Using maven you have to add the following dependencies: javax.xml.bind jaxb-api 2.2 com.sun.xml.bind jaxb-impl 2.1.12 if you are using the SourceForge package you find the necessary libraries in the lib/jdk5 directory. In case you are not using the XML configuration you can also disable it explicitly by calling Configuration.ignoreXmlConfiguration() during ValidationFactory creation. In this case the JAXB dependencies are not needed.