Provide dependency management for JBoss Logging

Several libraries that Spring Boot supports depend on JBoss Logging but
they use a variety of versions. This means that the actual version of
JBoss Logging that will be used depends on your build system. Gradle
will pick the latest version that’s in the dependency graph, Maven
will pick the version that’s nearest the root of the graph and, if two
dependencies are equidistant, it’ll pick the version that’s pulled in
by the dependency listed first in the pom. In short, it’s very hard to
reason about the version of JBoss Logging that you’ll actually use at
runtime.

This commit adds dependency management for JBoss Logging so that a
consistent version is used, irrespective of your build system or
dependencies.

Closes gh-4185
This commit is contained in:
Andy Wilkinson 2015-10-14 20:41:35 +01:00
parent ef0e6b13b9
commit 73ee21b402

View File

@ -93,6 +93,7 @@
<javax-transaction.version>1.2</javax-transaction.version>
<jaxen.version>1.1.6</jaxen.version>
<jaybird.version>2.2.8</jaybird.version>
<jboss-logging.version>3.3.0.Final</jboss-logging.version>
<jdom2.version>2.0.6</jdom2.version>
<jedis.version>2.7.3</jedis.version>
<jersey.version>2.21</jersey.version>
@ -1545,6 +1546,11 @@
<artifactId>javassist</artifactId>
<version>${javassist.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<version>${jboss-logging.version}</version>
</dependency>
<dependency>
<groupId>org.jdom</groupId>
<artifactId>jdom2</artifactId>