You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Until v5.3.1, terasoluna-gfw-parent imports spring-core through io-platform (a.k.a Spring IO Platform). Actually it's defined in spring-boot-starter-parent that is a parent of io-platform.
Since v5.4.1, terasoluna-gfw-parent imports spring-core through spring-framework-bom to satisfy #797.
The change causes an unnecessary dependency on commons-logging on v5.4.1.
Therefore, application will include unexpected commons-logging in spite the application never use it.
(In TERASOLUNA Framework Development guideline, jcl-over-slf4j and logback are recommended instead of commons-logging) terasoluna-gfw-parent pom should be fixed not to import commons-logging.
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.
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 unexpected
commons-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
The text was updated successfully, but these errors were encountered: