Iam working on validations using Apache bval.Looks like apache bval is dependent on apache geronimo.
<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>
I tried removing geronimo dependency but there were a few compilation errors. For example:
ValidatorFactory avf = Validation.byProvider(ApacheValidationProvider.class).configure().buildValidatorFactory();
ValidatoFactory was not recognized - but this problem was resolved on including the geronimo dependency.
Why is apache bval dependent on geronimo?