Each module uses a separate class pair for validation. For example, DefaultJavaValidators and JavaValidators validate the core Java API. Similarly, DefaultGuavaValidators and GuavaValidators validate the Guava API.
The following table lists validators for third-party libraries:
Library | Dependency |
---|---|
Guava API | com.github.cowwoc.requirements:guava |
For example,
<dependency>
<groupId>com.github.cowwoc.requirements</groupId>
<artifactId>guava</artifactId>
<version>${requirements.version}</version>
</dependency>