Apache BVal provides an implementation of the Jakarta Bean Validation Specification which is TCK compliant and works on Java SE 11 or later.
Apache BVal artifacts are distributed in source and binary form under the
terms of the Apache License, Version 2.0.
See the included LICENSE
and NOTICE
files included in each artifact for
additional license information. Please read the
Verifying Releases section below on
how to verify the integrity of downloaded files.
Module | Artifact | Signatures | Comments |
---|---|---|---|
Source Distribution | bval-parent-3.0.1-source-release.zip | asc sha512 | - |
Jakarta Bean Validation 3.0 Implementation | bval-jsr-3.0.1.jar | asc md5 sha1 | jakarta.validation.spi.ValidationProvider |
Implementation Bundle | org.apache.bval.bundle-3.0.1.jar | asc md5 sha1 | jakarta.validation.spi.ValidationProvider w/ OSGi metadata (includes bval-jsr ) |
Extra Routines and Constraints | bval-extras-3.0.1.jar | asc md5 sha1 | Optional module |
Module | Artifact | Signatures | Comments |
---|---|---|---|
Source Distribution | bval-parent-2.0.6-source-release.zip | asc sha512 | - |
JSR380 Implementation | bval-jsr-2.0.6.jar | asc md5 sha1 | javax.validation.spi.ValidationProvider |
Implementation Bundle | org.apache.bval.bundle-2.0.6.jar | asc md5 sha1 | javax.validation.spi.ValidationProvider w/ OSGi metadata (includes bval-jsr ) |
Extra Routines and Constraints | bval-extras-2.0.6.jar | asc md5 sha1 | Optional module |
Module | Artifact | Signatures | Comments |
---|---|---|---|
Source Distribution | bval-parent-1.1.2-source-release.zip | asc md5 sha1 | - |
Core Framework | bval-core-1.1.2.jar | asc md5 sha1 | - |
JSR349 Implementation | bval-jsr-1.1.2.jar | asc md5 sha1 | javax.validation.spi.ValidationProvider (requires bval-core ) |
Implementation Bundle | org.apache.bval.bundle-1.1.2.jar | asc md5 sha1 | javax.validation.spi.ValidationProvider w/ OSGi metadata (includes bval-core and bval-jsr ) |
Extra Routines and Constraints | bval-extras-1.1.2.jar | asc md5 sha1 | Optional module |
Legacy Agimatec JSON support | bval-json-1.1.2.jar | asc md5 sha1 | Optional integration module |
Legacy Agimatec XML support | bval-xstream-1.1.2.jar | asc md5 sha1 | Optional integration module |
Note: this release depends on geronimo-validation_1.1_spec API jar or any official bean validation API. EL API is optional but enables new Bean Validation 1.1 features.
Module | Artifact | Signatures | Comments |
---|---|---|---|
Source Distribution | bval-parent-0.5-source-release.zip | asc md5 sha1 | - |
Core Framework | bval-core-0.5.jar | asc md5 sha1 | - |
JSR303 Implementation | bval-jsr303-0.5.jar | asc md5 sha1 | javax.validation.spi.ValidationProvider (requires bval-core ) |
Implementation Bundle | org.apache.bval.bundle-0.5.jar | asc md5 sha1 | javax.validation.spi.ValidationProvider w/ OSGi metadata (includes bval-core and bval-jsr303 ) |
Google Guice Integration | bval-guice-0.5.jar | asc md5 sha1 | Optional integration module |
Extra Routines and Constraints | bval-extras-0.5.jar | asc md5 sha1 | Optional module |
Legacy Agimatec JSON support | bval-json-0.5.jar | asc md5 sha1 | Optional integration module |
Legacy Agimatec XML support | bval-xstream-0.5.jar | asc md5 sha1 | Optional integration module |
Available at the Apache release archive.
Available at the Apache release archive.
Available at the Apache release archive.
Available at the Apache release archive.
Available at the Apache release archive.
Our artifacts are published to the Maven Central repository and can be
found under the org.apache.bval
groupId.
You'll need to add the following dependencies in your builds (and Maven will automatically include the additional transitive dependencies for you):
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-validation_1.0_spec</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.bval</groupId>
<artifactId>org.apache.bval.bundle</artifactId>
<version>0.5</version>
</dependency>
Maven will determine the transitive dependencies for the artifacts, but if you are not using Maven to build your project, then you will also need the following dependencies on the classpath:
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.8.3</version>
</dependency>
It is essential that you verify the integrity of any downloaded files using the PGP or MD5 signatures. For more information on signing artifacts and why we do it, check out the Release Signing FAQ.
The PGP signatures can be verified using PGP or GPG. First download the KEYS as well as the asc signature file for the artifact. Make sure you get these files from the main distribution directory, rather than from a mirror. Then verify the signatures using:
$ pgpk -a KEYS
$ pgpv bval-parent-0.5-source-release.zip.asc
or
$ pgp -ka KEYS
$ pgp bval-parent-0.5-source-release.zip.asc
or
$ gpg --import KEYS
$ gpg --verify bval-parent-0.5-source-release.zip.asc
Alternatively, you can verify the MD5 signature on the files. A Unix/Linux
program called md5
or md5sum
is included in most distributions. It is
also available as part of
GNU Textutils.
Windows users can get binary md5 programs from these (and likely other) places: