Bean Validation API

javax.validation : validation-api

Bean Validation API

Dec 19, 2017
3k usages
74 stars

Add dependency in Maven / Gradle

<dependency>
    <groupId>javax.validation</groupId>
    <artifactId>validation-api</artifactId>
    <version>2.0.1.Final</version>
</dependency>

1. Add dependency to a Maven project

Maven: Add the javax.validation:validation-api library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>javax.validation</groupId>
  <artifactId>validation-api</artifactId>
  <version>2.0.1.Final</version>
</dependency>
</dependencies>

To install javax.validation:validation-api library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the javax.validation:validation-api library to the dependencies section of your build.gradle file:

dependencies {
implementation 'javax.validation:validation-api:2.0.1.Final'
}

Gradle Kotlin DSL: Add the javax.validation:validation-api library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("javax.validation:validation-api:2.0.1.Final")
}

3. Add dependency to a SBT Scala project

Scala: Add the javax.validation:validation-api library to your build.sbt file:

libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final"

4. Add dependency to a Grape project

Grape: Add an annotation javax.validation:validation-api library to your groovy script file:

@Grapes(
    @Grab('javax.validation:validation-api:2.0.1.Final')
)

Compile Dependencies (0)

Group / Artifact Usage

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (1)

Group / Artifact Usage
org.testng » testng 6.7k

Recommended for You

Maven plugin to help package 3rd party component developers to generate all needed metadata files needed for Camel

Java data bindings for the MusicBrainz Database using Hibernate

120 stars

rtc for android

0 stars

More from Group

Bean Validation API

3k usages
74 stars
© 2022 JMaven.com