This topic has not yet been written. The content below is from the topic description.
1.1. Setting up a new Maven project Start by creating new Maven project using the Maven archetype plugin as follows: Example 1.2. Using Maven's archetype plugin to create a sample project using Hibernate Validator mvn archetype:create -DarchetypeGroupId=org.hibernate \ -DarchetypeArtifactId=hibernate-validator-quickstart-archetype \ -DarchetypeVersion=4.1.0.Final \ -DgroupId=com.mycompany -DartifactId=hv-quickstart Maven will create your project in the directory hv-quickstart. Change into this directory and run: mvn test Maven will compile the example code and run the implemented unit tests. Let's have a look at the actual code.