How To Install Java Artifact org.glassfish.extras.bean-validator v4.0.0.Alpha3

org.glassfish.extras bean-validator 4.0.0.Alpha3

Introduction

In this article, we'll learn how to install Java artifact bean-validator from org.glassfish.extras group in version 4.0.0.Alpha3. The artifact is available in 1 versions: 4.0.0.Alpha3

How To Install Java Artifact org.glassfish.extras.bean-validator In Version 4.0.0.Alpha3

To install the Hibernate validator library and Validation API (JSR 303) repackaged as OSGi and HK2 bundle artifact in version 4.0.0.Alpha3 add the following dependency to your pom.xml file for Maven Project.

The dependency needs to be added in the dependencies section which is located in the main project tag of the pom.xml file. The sample pom.xml file that uses Hibernate validator library and Validation API (JSR 303) repackaged as OSGi and HK2 bundle dependency could look as follows:

Other dependency snippets for Gradle, SBT, Ivy, Grape, Leiningen, and Buildr

Below you can find code snippets for other project build tools like Gradle, SBT, Ivy, Grape, Leiningen, and Buildr.