[Modifying the name of the ruoyi-plus project is very troublesome, why not try this tool! Open source framework to modify the project name! 】

Scaffolding is often used in spring boot development [Open source framework] It is a headache and time-consuming to modify the project name module! Give this tool a try, it’s super easy to use! ! !


1. Conventional project modification method:

For example: when we use the open source framework RuoYi-Vue and RuoYi plus RuoYi-Vue-Plus to quickly build personal or enterprise business systems, we need to modify the names of some modules, so we must pay attention when modifying project modules Folders, module names, and corresponding configuration files match.


2. Download RuoYi-Vue-Plus from the official website

Use idea to open the Ruoyi project that has been downloaded from git. This time I am using IntelliJ IDEA 2021.1.3 x64 version.

Rendering diagram (ruoyi-plus, the former and back-end separated version of education network as an example)

insert image description here My package name and configuration have been changed to education

1. Modification of project modules

insert image description here insert image description here

Continuing with the above operations, Rename module and directory renames the module and folder names.


| insert image description here | insert image description here |

Before and after modification

insert image description here insert image description here
insert image description here insert image description here

2. Modification of the project pom file

Modify the content of each module and the pom file of the main project
Edit the pom file Press and hold Ctrl+Rto replace the content Click replaceto replace the scan package name
insert image description here
insert image description here

Modification of mapper.xml file path

insert image description here insert image description here

4. Modification of yml configuration

Application.yml configuration modification, pay attention to the corresponding package name and configuration after seeing clearly, make changes
insert image description here
and start successfully
insert image description here
insert image description here

3. Quick build tool Fast Build site

Here I would like to share a very useful framework to quickly generate websites for everyone. FastBuild (http://fastbuild.run/)
insert image description here
includes Ruoyi framework, Snowy authority management, PIG authority management, EL-ADMIN background management, taro Tao management open source framework.

Summarize

如果本章对您有帮助,请多多点赞收藏支持!

A galloping horse can't take ten steps in one leap;

Guess you like

Origin blog.csdn.net/qq_45973421/article/details/129984430