How to update the JHipster project after updating JHipster generator?

后端 未结 7 2122
栀梦
栀梦 2020-12-29 08:37

I updated my JHipster installation as per this page by running the command

npm update -g generator-jhipster

But to update my application I

7条回答
  •  梦毁少年i
    2020-12-29 09:05

    Our jHipster monolithic project is based on an older build of the generator, and still reliant on bower / angularjs for the client. Thus the auto-update ability would never work.

    I've been manually updating spring-boot-starter-parent every other sprint to try and bring it up into 2.x parity, but am still unable to leave the 1.5.x version stream due to various dependency issues with (mainly) Hibernate.

    As a possible suggestion if you're in the same boat with your own monolithic project:

    • Pull down select versions of the jhipster-generator
    • Generate a "hello world" starter monolithic project
    • Compare the generated pom.xml with your own project
    • Compare the generated entity and configuration files with your own project

提交回复
热议问题