Move dependency management for JNA into spring-boot-parent

Previously, dependency management for JNA was provided by
spring-boot-dependencies so it affected users' applications. It was
original added for Elasticsearch but is no longer needed for that
purpose. We use JNA in spring-boot-buildpack-platform which is used
by our Gradle and Maven plugins and should not affect an application's
use of JNA.

This commit moves management of JNA from spring-boot-dependencies into
spring-boot-parent. This means that users' applications will now be
free to use whatever version of JNA meets their needs while still
controlling the version used for image building via Gradle or Maven.

Closes gh-20156
pull/20168/head
Andy Wilkinson 5 years ago
parent 475169a80e
commit 68f59a0d40

@ -887,14 +887,6 @@ bom {
]
}
}
library("JNA", "4.5.2") {
group("net.java.dev.jna") {
modules = [
"jna",
"jna-platform"
]
}
}
library("Johnzon", "1.2.3") {
group("org.apache.johnzon") {
modules = [

@ -21,6 +21,8 @@ dependencies {
api("io.spring.asciidoctor:spring-asciidoctor-extensions-block-switch:0.4.1.RELEASE")
api("io.spring.asciidoctor:spring-asciidoctor-extensions-spring-boot:0.4.1.RELEASE")
api("jline:jline:2.11")
api("net.java.dev.jna:jna:4.5.2")
api("net.java.dev.jna:jna-platform:4.5.2")
api("net.sf.jopt-simple:jopt-simple:5.0.4")
api("org.apache.commons:commons-compress:1.19")
api("org.apache.maven:maven-plugin-api:3.6.3")

Loading…
Cancel
Save