Home

Awesome

Hibernate Validator

Version: 9.0.0.CR1 - 2024-12-13

Maven Central Build Status Sonar Coverage Quality gate Develocity Reproducible Builds

What is it?

This is the reference implementation of Jakarta Validation 3.1. Jakarta Validation defines a metadata model and API for JavaBean as well as method validation. The default metadata source are annotations, with the ability to override and extend the metadata through the use of XML validation descriptors.

Documentation

The documentation for this release is included in the docs directory of the distribution package or can be accessed online.

Release Notes

The full list of changes for this release can be found in changelog.txt.

System Requirements

JDK 17 or above.

Using Hibernate Validator

Licensing

Hibernate Validator itself as well as the Jakarta Validation API and TCK are all provided and distributed under the Apache Software License 2.0. Refer to license.txt for more information.

Build from Source

You can build Hibernate Validator from source by cloning the git repository git://github.com/hibernate/hibernate-validator.git. You will also need a JDK 21+ and Maven 3 (>= 3.9.9). With these prerequisites in place you can compile the source via:

mvn clean install

There are more build options available as well. For more information refer to Contributing to Hibernate Validator.

Continuous Integration

The official Continuous Integration service for the project is hosted on ci.hibernate.org.

We also include a GitHub action build file that can be used by those interested in running builds on their own forks. This build runs on Linux and Windows and executes the TCK both in standalone and in container modes.

Hibernate Validator URLs