GitHub - apache/bval: Mirror of Apache Bean Validation · GitHub
Skip to content
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
apache
bval
Public
Notifications
You must be signed in to change notification settings
Fork
27
Star
46
Branches
Tags
Open more actions menu
Folders and files
Name
Name
Last commit message
Last commit date
Latest commit
History
1,463 Commits
1,463 Commits
.github
.github
bval-bundle
bval-bundle
bval-extras
bval-extras
bval-jsr
bval-jsr
bval-perf
bval-perf
bval-tck
bval-tck
src/
site
src/
site
.gitignore
.gitignore
CHANGES.txt
CHANGES.txt
LICENSE
LICENSE
NOTICE
NOTICE
README.md
README.md
README.txt
README.txt
RELEASE-NOTES.adoc
RELEASE-NOTES.adoc
pom.xml
pom.xml
Repository files navigation
Apache BVal - Apache's implementation of the Jakarta Validation specification for Jakarta EE and Java SE
Branches
master / 3.1.x
Jakarta Validation 3.1 implementation (Jakarta EE 11), requires Java 17+.
3.0.x
Jakarta Bean Validation 3.0 implementation (Jakarta EE 10), requires Java 11+.
2.x
Bean Validation 2.0 (JSR-380) implementation (Java EE 8), requires Java 8+.
1.1.x
Bean Validation 1.1 (JSR-349) implementation (Java EE 7), requires Java 6+.
Minimum Requirements (master)
Java 17+
Jakarta Validation 3.1 (Jakarta EE 11)
TCK compliant
Installation
mvn clean install
Usage
Dependency
dependency
groupId
>org.apache.bvalgroupId
artifactId
>bval-jsrartifactId
version
>${bval.version}version
dependency
Optional: extra constraints
dependency
groupId
>org.apache.bvalgroupId
artifactId
>bval-extrasartifactId
version
>${bval.version}version
dependency
Optional: OSGi bundle
dependency
groupId
>org.apache.bvalgroupId
artifactId
>org.apache.bval.bundleartifactId
version
>${bval.version}version
dependency
Basic usage
ValidatorFactory
validatorFactory
Validation
byProvider
ApacheValidationProvider
class
configure
()
buildValidatorFactory
();
Validator
validator
validatorFactory
getValidator
();
Set
ConstraintViolation
MyBean
>>
violations
validator
validate
myBean
);
More Information
Please visit
for full documentation and release notes.
Issue tracker:
About
Mirror of Apache Bean Validation
Topics
java
library
javaee
bval
Resources
Readme
License
Apache-2.0 license
Code of conduct
Code of conduct
Security policy
Security policy
Uh oh!
There was an error while loading.
Please reload this page
Activity
Custom properties
Stars
46
stars
Watchers
watching
Forks
27
forks
Report repository
Releases
17
tags
Packages
Uh oh!
There was an error while loading.
Please reload this page
Uh oh!
There was an error while loading.
Please reload this page
Contributors
Uh oh!
There was an error while loading.
Please reload this page
Languages
Java
100.0%
You can’t perform that action at this time.