From b8aea508bda85246916e54adc2992475851ed80c Mon Sep 17 00:00:00 2001 From: A248 Date: Fri, 5 Feb 2021 17:59:14 -0500 Subject: [PATCH] Use maven-enforcer-plugin to enforce build-time requirements --- pom.xml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/pom.xml b/pom.xml index 9a8b66a..2a3a566 100644 --- a/pom.xml +++ b/pom.xml @@ -92,6 +92,40 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M3 + + + enforce-rules + + enforce + + + + + + + 15.0.1 + + While this library maintains compatibility with Java 8, + it requires JDK 15 as a build-time requirement, because + of the need to conditionally access newer APIs as well as + javadoc limitations on older versions. + + + + Third-party repositories are not allowed + + + No snapshot dependencies are allowed + + true + + + +