如何覆盖Jhipster使用的Spring Boot版本 [英] How to override the spring boot version used by jhipster

查看:143
本文介绍了如何覆盖Jhipster使用的Spring Boot版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的JHipster生成的应用程序使用

my JHipster generated application uses

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

其中包括Spring Boot v.2.0.6

which includes Spring Boot v.2.0.6

但是我想使用Spring Boot 2.1.1

But I want to use Spring Boot 2.1.1

要实现该目标,我需要在pom.xml中进行哪些更改.我试图设置< spring-boot.version> 2.1.1.RELEASE</spring-boot.version>

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>

但是当我建立&运行,仍然使用v2.0.6.

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

推荐答案

感谢您提出这个问题.盖尔对您的问题的评论为我指明了正确的方向.我刚刚完成了旧项目的升级.这是我的操作方式:

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. 转到此链接: https://www.jhipster.tech/upgrading-an-application/
  2. 按照自动升级的说明进行操作(在升级之前,请确保创建新分支,并确保存在合并冲突).
  3. 解决合并冲突并运行测试.
  4. 提交更改以避免重复工作.

在开始之前,请先全部阅读并理解说明,否则您会感到沮丧.

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

您可以在此处获取JHipster发行版本的列表: https://www.jhipster.tech/releases/

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

这篇关于如何覆盖Jhipster使用的Spring Boot版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆