Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to override the spring boot version used by jhipster

my JHipster generated application uses

<jhipster-dependencies.version>2.0.28</jhipster-dependencies.version>

which includes Spring Boot v.2.0.6

But I want to use Spring Boot 2.1.1

What do I need to change in my pom.xml to achieve that. I tried to set <spring-boot.version>2.1.1.RELEASE</spring-boot.version>

But when I build & run, still v2.0.6 is used.

like image 339
dfsg76 Avatar asked Sep 13 '25 03:09

dfsg76


1 Answers

Thanks for asking this question. The comment to your question by Gael pointed me in the right direction. I've just completed an upgrade of my legacy project. Here is how I did it:

  1. Go to this link: https://www.jhipster.tech/upgrading-an-application/
  2. Follow the instructions for automatic upgrade ( Make sure before you upgrade that you create a new branch, there are sure to be merge conflicts).
  3. Resolve the merge conflicts and run your tests.
  4. Commit the changes to avoid having to repeat the work.

Above all read the instructions and understand them before beginning because otherwise you will become frustrated.

You can get the list of JHipster release versions here: https://www.jhipster.tech/releases/

like image 126
Joseph Waweru Avatar answered Sep 15 '25 18:09

Joseph Waweru