Bean Validation API Maven Dependency

This page gives you a quick reference to get Bean Validation API dependency for Maven or Gradle projects. You can also download the Bean Validation API jar dependency, the link given at the "Download JAR File" section.

Bean Validation API Maven Dependency

Copy below Bean Validation API maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/javax.validation/validation-api -->
<dependency>
    <groupId>javax.validation</groupId>
    <artifactId>validation-api</artifactId>
    <version>2.0.1.Final</version>
</dependency>
For more details about the proper version to use, check out the following Maven Central link.

Bean Validation API Gradle Dependency

Copy below Bean Validation API Gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/javax.validation/validation-api
compile group: 'javax.validation', name: 'validation-api', version: '2.0.1.Final'

Download JAR File

Check for Latest Release

Reference

Comments