From ddd3e37ca4646ad8bbe3b16bb47937713e56ad77 Mon Sep 17 00:00:00 2001 From: Peter Lobsinger Date: Sat, 26 Apr 2025 12:09:58 -0400 Subject: [PATCH] Scope Handlebars dependencies to openapi generator plugin The built artifacts do not depend on Handlebars (at least not according to `jdeps`), nor do any of this project's other dependencies. The version of Handlebars required by this constraint is only compatible with JDK 17 and upwards; this project would otherwise be compatible with earlier JDKs. Since the dependency is actually unused by the Okta SDK, the incompatibility with JDK 11 is a bit subtle: it will only manifest in applications that are themselves using Handlebars at runtime. --- api/pom.xml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/api/pom.xml b/api/pom.xml index b8d9ef56068..75bc55800b3 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -119,16 +119,6 @@ ${jakarta-annotation.version} provided - - com.github.jknack - handlebars - ${com.github.jknack.handlebars.version} - - - com.github.jknack - handlebars-jackson2 - 4.3.1 - @@ -170,6 +160,16 @@ + + com.github.jknack + handlebars + ${com.github.jknack.handlebars.version} + + + com.github.jknack + handlebars-jackson2 + 4.3.1 + @@ -267,4 +267,4 @@ - + \ No newline at end of file