Need to override the spring boot version used by jhipster - spring-boot

I am using jhipster version 3.0.6 which uses spring boot version 2.1.9 release.
I need to override this spring boot version to 2.3.3 Release.
Is there any way to do it? I added below property in my project's pom xml , inside the properties section.
<spring-boot.version>2.3.3.RELEASE</spring-boot.version>
But looks like, this is ignored and 'spring boot version 2.1.9 release' is being used which is configured in jhipster.
is there any way to override this spring boot version?

Related

CVE-2022-22976 spring boot 2.7.0

I have spring boot project version 2.7.0.
I use the dependency-check and it reports CVE-2022-22976.
Do you know how I can solve it?
Spring security version is 5.7.1 while spring starter security version is 2.7.0.
It's a false positive that will be automatically suppressed with the upcoming release 7.1.1: https://github.com/jeremylong/DependencyCheck/issues/4563
Currently, the Spring Boot starter for Spring Security is mistaken with Spring Security itself.
Until then you'll need to suppress it manually with something like
<suppress base="true">
<notes><![CDATA[
FP per issue #4563
]]></notes>
<packageUrl regex="true">^pkg:maven/org\.springframework\.boot/spring-boot-starter-security#.*$</packageUrl>
<cpe>cpe:/a:vmware:spring_security</cpe>
</suppress>

Compatibility of camel.springboot and spring-boot

How can I find out which spring-boot versions are supported by a given camel.springboot version? Neither camel-spring-boot-dependencies nor camel-spring-boot-bom contains any spring versions.
The org.apache.camel.springboot:spring-boot pom file references a specific Spring Boot version. For example, 3.10.0 references Spring Boot 2.4.5, 3.9.0 references Spring Boot 2.4.4, and 3.8.0 references Spring Boot 2.4.2.

JHipster: Upgrade Spring Boot to 2.3.2 from 2.1.8 JHipster Still uses 2.1.8

I tried changing JHipster Spring boot app from 2.1.8 to 2.3.2 and it still uses the old version 2.1.8. How do I upgrade to 2.3.2?
JHipster does not support 2.3.x yet, therefore an automatic upgrade is not possible. You can try a manual upgrade by removing the jhipster dependencies bom, such that the boot parent defines all versions and update the boot version to 2.3.2. Keep in mind to read all migration guides for boot 2.1.x -> 2.2.x -> 2.3.x.
Depending on your configuration and used dependencies this might be different.

Facing issue while upgrading from Spring Boot 1.x to Spring Boot 2.x

I have an already existing SpringBoot 1.x application which is using Java 7.I want to upgrade spring boot version from 1.x to 2.x.
For up gradation I have upgraded java version from 1.7 to 1.8 in maven pom.xml.
In existing application I am using apache log4j(org.apache.log4j.*) for logging purpose.Getting compilation error for log4j after up gradation.
Thanks in advance.
As of Spring Boot 1.4, the log4j (1.x) starter module is no longer available:
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-1.4-Release-Notes#deprecations-from-spring-boot-13
You can either switch to log4j2 (which still has a starter module) or you'll have to manually provide the log4j dependencies 1.x in your POM.

Spring boot, Spring core dependency

I run spring boot 1.3.3.RELEASE, I have run into this issue that are solved in spring 4.3 https://jira.spring.io/browse/SPR-14114
When does spring boot support spring 4.3 ? Can I upgrade my spring-core dependency in current version of spring boot that I have.
When does spring boot support spring 4.3 ?
Spring Boot 1.4 will use Spring Framework 4.3 by default.
Can I upgrade my spring-core dependency in current version of spring boot that I have.
Yes. Spring Boot 1.3.x uses Spring Framework 4.2.x by default but it is compatible with Spring Framework 4.3.x. Assuming that you are using Maven and spring-boot-starter-parent as your pom's parent, you can use the spring.version property to control the version of Spring Framework that's used. For example:
<properties>
<spring.version>4.3.0.RC1</spring.version>
</properties>

Resources