Closed ikeyat closed 5 years ago
Warning: The impact of this problem may be a separation of log system.
I'm not sure whether commons-logging
takes over jcl-over-slf4j
or not.
If it does, logs of legacy libraries based on commons-logging
(such as Spring4, commons) may be written with commons-logging
, others may be written with logback
through slf4j
.
To avoid this certainly, please exclude commons-logging
in your application's pom.
Fixed at #896. terasoluna-gfw 5.4.2 depend on spring-core using platform-bom Brussels-SR17.
Description
Until v5.3.1,
terasoluna-gfw-parent
importsspring-core
throughio-platform
(a.k.a Spring IO Platform). Actually it's defined inspring-boot-starter-parent
that is a parent ofio-platform
. Since v5.4.1,terasoluna-gfw-parent
importsspring-core
throughspring-framework-bom
to satisfy #797.The change causes an unnecessary dependency on
commons-logging
on v5.4.1. Therefore, application will include unexpectedcommons-logging
in spite the application never use it. (In TERASOLUNA Framework Development guideline,jcl-over-slf4j
andlogback
are recommended instead ofcommons-logging
)terasoluna-gfw-parent
pom should be fixed not to importcommons-logging
.v5.4.1 https://github.com/terasolunaorg/terasoluna-gfw/blob/5.4.1.RELEASE/terasoluna-gfw-parent/pom.xml#L188-L215 http://central.maven.org/maven2/org/springframework/spring-framework-bom/4.3.14.RELEASE/spring-framework-bom-4.3.14.RELEASE.pom
commons-logging
is not excluded.v5.3.1 https://github.com/terasolunaorg/terasoluna-gfw/blob/5.3.1.RELEASE/terasoluna-gfw-parent/pom.xml#L187-L193 http://central.maven.org/maven2/io/spring/platform/platform-bom/Athens-SR2/platform-bom-Athens-SR2.pom http://central.maven.org/maven2/org/springframework/boot/spring-boot-starter-parent/1.4.3.RELEASE/spring-boot-starter-parent-1.4.3.RELEASE.pom
commons-logging
is excluded as following. This is described on the Spring IO Reference.Possible Solutions
Candidates
commons-logging
atterasoluna-gfw-parent
pomplatform-io
keeping the versions of all the dependent libraries.Affects Version/s
Fix Version/s
Issue Links
797