maven - Whats the difference between spring-framework-bom and platform-bom? -
ive been experimenting spring bom , note there 2 build managers - spring-framework-bom , platform-bom
<dependencymanagement> <dependencies> <dependency> <groupid>org.springframework</groupid> <artifactid>spring-framework-bom</artifactid> <version>${spring.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencymanagement>
or
<dependencymanagement> <dependencies> <dependency> <groupid>io.spring.platform</groupid> <artifactid>platform-bom</artifactid> <version>1.1.2.release</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencymanagement>
whats difference? or has spring-framework-bom been superceded? prefer spring-framework-bom approach can control spring version?
i had hunt around on question last week, , m deinum has stated difference spring-framework-bom framework. raised issue how can control spring version if using platform-bom.
the answer check spring boot dependencies project spring version -
https://github.com/spring-projects/spring-boot/blob/master/spring-boot-dependencies/pom.xml
a summary of versions -
spring platform bom version spring version 1.1.2.release 4.2.0.rc1
1.1.0.release 4.1.3.release 1.0.0.release 4.0.5.release
reference -
https://glenware.wordpress.com/2015/06/05/spring-bom-bill-of-materials/
Comments
Post a Comment